Home  >  Article  >  System Tutorial  >  How to install Linux programs without root permissions

How to install Linux programs without root permissions

王林
王林forward
2024-01-13 15:27:051293browse

For some shared machines, we may not have root permissions, so it will be a little troublesome to install the program. In fact, as long as the relevant files are placed in their own directories, the root permission restrictions can be waived.

I installed libevent without root permissions. I just need to specify the installation path to my /home directory through prefix:

./configure --prefix=/home/*&&&/libevent --enable-shared

make

make install

make verify #libevent test, other installations may not have it.

The above is the detailed content of How to install Linux programs without root permissions. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete