Skip to content

Linux Home Directory Program Installation

Michael R. Crusoe edited this page Mar 17, 2014 · 5 revisions

Autotools

./configure --prefix=${HOME}
make
make install

Python

pip install --user ${PROGRAM}
#  or
./setup.py install --user

Node.js

http://stackoverflow.com/a/13021677

Ruby

gem install --user-install ${PROGRAM}

R

Home directory installs are a built-in fallback. #win

Perl

Use local::lib. Debian/Ubuntu users can sudo apt-get install liblocal-lib-perl first.

perl -Mlocal::lib >> ~/.bashrc
# then regular cpan commands

CMake

cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME  && cmake --build . --target install

Adapted from: http://stackoverflow.com/a/6003937

Others?

Please feel free to add to this page.

Clone this wiki locally