Linux – Installing software on Linux without root privileges

installationlinux

At my workplace I have a regular user account on RedHat and Suse machines. I don't have root privileges.

How can I install software that I download from the internet (from sources or binaries)?

For example, now I want to install the Geany IDE for my own use. I tried to download sources and compile, and I tried to install the RPM, but non of of these works because it requires the root.

Best Answer

You can install software into your own home directory. If you're comfortable compiling from source, and the package uses automake, then you can use the following option on configure:

--prefix=$HOME/install

or whatever. Similarly, rpm has a prefix option as well. However, this only works if the rpm was built to be relocatable.

Related Topic