Difference between revisions of "Installation"

From victor
Jump to: navigation, search
(Download)
Line 3: Line 3:
 
==Download==
 
==Download==
 
The source code as well as the precompiled version of the software are available in GitHub.  
 
The source code as well as the precompiled version of the software are available in GitHub.  
You can '''download''' it directly visiting the GitHub page [[https://github.com/BioComputingUP/Victor Victor]]  
+
You can '''download''' it directly visiting the GitHub page [https://github.com/BioComputingUP/Victor Victor]  
  
Alternatively you can '''clone''' Victor into your local repository. Assuming you already have installed the [http://git-scm.com/downloads '''Git software'''], just type in a terminal:
 
  
  git clone https://github.com/BioComputingUP/Victor.git <your_folder>
+
To get the source code you can '''clone''' Victor into your local repository from the command line. Assuming you already have installed the [http://git-scm.com/downloads '''Git software'''], just type in a terminal:
 +
 
 +
git clone https://github.com/BioComputingUP/Victor.git <your_folder>
 +
 
 +
 
 +
A precompiled version of the software is also available from the GitHub website in the Release section. Note that the built version has been generated in a '''64bit''' environment using '''Ubuntu 14.04''' and '''g++ 4.8.2'''. The link to page is:
 +
 
 +
https://github.com/BioComputingUP/Victor/releases
  
 
==Compile==
 
==Compile==

Revision as of 11:07, 10 October 2014

If you already installed Victor go directly to the tutorial page.

Download

The source code as well as the precompiled version of the software are available in GitHub. You can download it directly visiting the GitHub page Victor


To get the source code you can clone Victor into your local repository from the command line. Assuming you already have installed the Git software, just type in a terminal:

git clone https://github.com/BioComputingUP/Victor.git <your_folder>


A precompiled version of the software is also available from the GitHub website in the Release section. Note that the built version has been generated in a 64bit environment using Ubuntu 14.04 and g++ 4.8.2. The link to page is:

https://github.com/BioComputingUP/Victor/releases

Compile

If you successfully got the source code, now you can compile it. Assuming that the g++ compiler is installed in your system simply do:

make clean
make

The make clean ensure the compilation process to start from scratch.

and set a couple of environment variables in the Makefile.global or just type the following command, replacing <your_folder> with the Victor main directory and remember to put the tailing "/" to avoid strange errors:

export VICTOR_ROOT=/<your_folder>/victor/  
export PATH=$PATH:/<your_folder>/victor/bin/

Now, to compile the library simply do:

make clean
make

After that you should obtain the following folder structure:

 bin/            // a copy of all "APPS" executable

 lib/            // libraries

 data/           // symbolic links to the content of the "Data" folder inside packages 

 samples/        // some PDB files for testing purpose

 tools/          // some helper classes

 Biopool/        // the Biopool package
        /APPS
        /Data
        /Sources

 Align2/        // the Align package
        /APPS
        /Sources

 Energy/         // the Energy package
       /APPS
       /Data
       /Sources

 Lobo/           // the Lobo package
     /APPS
     /Data
     /Sources