$ cd ViennaRNA-[2.1.1] $ mkdir -p ~/Tutorial/Progs/VRP $ ./configure --prefix=$HOME/Tutorial/Progs/VRP --without-perl $ make installYou already know the cd and the mkdir command, ./configure checks whether all dependencies are fulfilled and exits the script if some major requirements are missing. If all is ok it creates the Makefile which then is used to start the buildingprocess via make install.
$ ./configure $ make install
$ echo $PATHFor easier handling we now create a folder containing all our binaries as well as perl scripts and copy them into a common folder.
$ cd ~/Tutorial/Progs/ $ cp VRP/share/ViennaRNA/bin/* .Now you can show the contents of the folder using the command ls.
Also copy the binaries from the VRP/bin folder. In the next step we add the path of the directory to the PATH environment variable (e.g. use pwd) so we don't need to write the hole path every time we call it.
$ export PATH=$PATH:$HOME/Tutorial/Progs/Note that this is only a temporary solution. If you want the path to be permanently added you need to add the line above to the config file of your shell environment. Typically bash is the standard. You need to add the export line above to the .bashrc in your homedirectory. To reload the contents of .bashrc type
$ source ~/.bashrcor close the current terminal and open it again. (Remember, this works only for the bash shell.) To check if everything worked out try to get a brief description of a program e.g.
$ RNAfold --helpIf this doesn't work reread the steps described above more carefully. Sven Findeiss 2013-11-22