Skip to content

How to install

Juha Huiskonen edited this page Jul 21, 2016 · 22 revisions

###Install the first version

Go to the directory where you want to install Localized Reconstruction, and clone it from GitHub (first install git if not present in your system):

git clone https://github.com/OPIC-Oxford/localrec.git
cd localrec

Git will create a localrec/ directory under your current path; you do not need to create it manually.

Then add /localrec/lib in your PYTHONPATH. How to do this depends on your operating system and its configuration.

For Bash shell, add something like this to your /.bashrc file (or /.bash_profile). Here it is assumed that ~/apps is the install location:

PYTHONPATH=~/apps/localrec/lib
export PYTHONPATH

If you're using C shell, add something like this to your ~/.cshrc

setenv PYTHONPATH ~/apps/localrec/lib

#Upgrade

To update the package, just download the latest version from GitHub:

git pull
Clone this wiki locally