Detailed Installation

From victor
Jump to: navigation, search

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 from [GitHub]

Alternatively you can clone Victor into your local repository.

To create a local repository

Go into the directory where you want to put your repository

 mkdir victor2.0

Clone the files

Go inside the folder you just created

 cd victor2.0

Then just type:

 git clone https://github.com/BioComputingUP/Victor.git .

To verify that everything has been clone just do

 ls

Compiling

If you successfully got the source code, now you need to compile it. Before compiling, please check that the g++ compiler is installed in your system. Just type

g++

The spected output is

g++: fatal error: no input files
compilation terminated.

Set a couple of environment variables

export VICTOR_ROOT=/<your_folder>/victor2.0/  
export PATH=$PATH:/<your_folder>/victor2.0/bin/

Now, to compile the library simply do:

make clean
make install

After that you should obtain the following folder structure:

 bin/            // a copy of all "APPS" executable
 Biopool/        // the Biopool package
     /APPS
     /Data
     /Sources
 data/           // symbolic links to the content of the "Data" folder inside packages 
 Energy/         // the Energy package
     /APPS
     /Data
     /Sources
 html/           // the Doxygen documentation
 lib/            // libraries
 Lobo/           // the Lobo package
     /APPS
     /Data
     /Sources
 samples/        // some PDB files for testing purpose
 tools/          // some helper classes

Using the package

Now you can go into the bin folder and start using the package applications, see tutorial