-
Notifications
You must be signed in to change notification settings - Fork 0
Linux Home Directory Program Installation
Michael R. Crusoe edited this page Feb 10, 2019
·
5 revisions
All of these requires ${HOME}/bin
to be listed on your PATH
mkdir -p ${HOME}/bin
echo 'export PATH=${PATH}:${HOME}/bin' >> ${HOME}/.bashrc
source ${HOME}/.bashrc
./configure --prefix=${HOME}
make
make install
pip install --user ${PROGRAM}
# or
./setup.py install --user
http://stackoverflow.com/a/13021677
gem install --user-install ${PROGRAM}
or
bundle install --path ${HOME}/.gem
Home directory installs are a built-in fallback. #win
Use local::lib. Debian/Ubuntu users can sudo apt-get install liblocal-lib-perl
first.
perl -Mlocal::lib >> ~/.bashrc
# then regular cpan commands
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME && cmake --build . --target install
Adapted from: http://stackoverflow.com/a/6003937
udocker
or plain docker
Please feel free to add to this page.