How to install a program only for a user
john.francis at gmail.com
Wed Dec 21 03:46:44 UTC 2005
On 21/12/05, Jeff Vian <jvian10 at charter.net> wrote:
> On Tue, 2005-12-20 at 19:17 +0530, Parameshwara Bhat wrote:
> > How can one install a program just for the user and not system wide?
> > Paramehswara Bhat
> put the executable in $HOME/bin, or anywhere else in the users home
> directory tree as long as the path is properly set or the entire path is
> used to call it.
Really depends on the program and the installation method.
As Alain mentioned:
./configure --prefix=$HOME/local && make && make install
will usually work when installing from source tarball.
If installing from RPM then adding --prefix $HOME/local will usually work.
Some programs come with an installer which gives you the option of
choosing where to install.
And sometimes it is as simple as just grabbing the binary and putting
it in $HOME/bin (or anywhere in the user's home directory).
More information about the users