Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
Hint...
Hint...

You can often right-click to copy the URL of a link on a website and then use wget to download it directly to TACC.

Expand
One possible answer...
One possible answer...
Code Block

$login cdw
$login wget ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_v2.5.5_x86_64.tgz
$login tar -xvzf ssaha2_v2.5.5_x86_64.tgz
$login cd ssaha2_v2.5.5_x86_64
$login mkdir -p $HOME/local/bin
$login mv ssaha* $HOME/local/bin

How the shell finds executables: $PATH

Now, you might want to tell your login shell that it should look for executable files in this new directory $HOME/local/bin. This will allow you to use the executable as a one-word command like you are used to:

Code Block
login1$  ssaha2

Instead of writing out the entire path to the executable to run it, like in one of these examples:

...

breseq uses the common GNU build system install sequence. If you install other GNU tools then the same ./configure; make; make install command sequence will often be used.

Code Block
titleInstalling _breseq_ from source
$login1 cdw
$login1 wget http://breseq.googlecode.com/files/breseq-0.17d19.tar.gz
$login1 tar -xvzf breseq-0.17d19.tar.gz
$login1 cd breseq-0.17d19
$login1 ./configure --prefix=$HOME/local
$login1 make
$login1 make install

The extra option --prefix to ./configure sets where the executable and any other files associated with the program will be installed. If you leave off this flag, then it will try to install them in a system-side location. You must have administrator privileges to do this and would generally have to substitute sudo make install for the last step to get this to work. That won't work on TACC! (sudo means "super-user do".)

For some other tools, the instructions may tell you to skip straight to make, or you might also have to install some other programs or libraries that the tool you want to use needs to run. Generally, you can find this information in the online documentation or an INSTALL file in the root of the downloaded code.

Other Cases

...

More Examples

Example: Install the latest version of Bowtie2

...

Expand
One possible complication if you are installing the binaries...
One possible complication if you are installing the binaries...

Bowtie2 is comprised of multiple executables. You will need to copy or move all of them into $HOME/local/bin to have a functioning Bowtie2 install. (Be sure that both bowtie2 and bowtie2-build work).

Other Cases

In other lessons we'll cover various deviations and elaborations on these two procedures in order to install specific programs, R modules, Perl modules, Python modules, etc.