HPC:Manual Software Install

From HPC wiki

This page describes how software can be installed in a user's own home (or lab's project directory)

Other Pages


Manually Installing Software in home directories

Installing software in home directories is allowed. The following example shows how to install a program (from source) like R in a home directory.

Note 1: All the steps below must be done in an interactive session! If not, the installation will fail.

Note 2: The example below describes how to install the software to $HOME/bin. If an alternative location is preferred, the configure/make install steps can be altered such that the program is installed the desired location.

Installation

First download the source and untar it into a directory:

$ wget https://cran.r-project.org/src/base/R-3/R-3.2.2.tar.gz

$ tar zxvf R-3.2.2.tar.gz

Compile and install the program in the desired location:

$ cd R-3.2.2/

$ ./configure --prefix=$HOME/

$ make

$ make install

You can either change the "--prefx=$HOME/" to something different or run the "make install" step as "make install DESTDIR=<path_to_new_location"