How to install software without root privileges in linux, how to install software without root privileges

How to install software without root privileges in linux:

  1. rpm/deb package installation must require root privileges

2. The Linux binary files downloaded from the Internet can be placed in your home directory (remember to give execution permission, chmod +x)

And configure the environment variables (optional), you can run

3. You have the source code, you can compile it, and then install it in your home directory

The general process is:

./configure --prefix=$HOME/XXXX
make install -j$(lscpu)

4. Appimage and other packaged software files

Give execution permission, put it in your home directory, double-click to run it like clicking the program under Win

 

How to install software without root privileges? For some software, the relevant resources can be completely placed in your user directory, such as pycharm, and you can find the one that is ready to use after decompression. If the rpm or deb package is used, there is no way.

In addition, you can ask the administrator to help you install it.


 

 

Guess you like

Origin blog.csdn.net/yetaodiao/article/details/130825356