Installation on Linux

Installing RefCurv 0.4.2 on a Linux machine is a bit more complex because it requires to install all dependencies. We recommend it for developers only.

1. Clone the GitHub repository with RefCurv’s (0.4.2) Linux version:

$ git clone https://github.com/xi2pi/RefCurv.git --branch refcurv_linux --single-branch RefCurv_linux

2. Make sure that Python 3 is installed (usually preinstalled on Linux distributions) and get all necessary dependencies:

$ sudo apt install python3-pandas
$ sudo apt install python3-numpy
$ sudo apt install python3-scipy
$ sudo apt install python3-pyqt4
$ sudo apt install python3-matplotlib

3. Install R on your machine. You need version >= 3.3.0 for the gamlss package. Following page shows you how to install R 3.5:
https://cran.r-project.org/bin/linux/ubuntu/

4. Run R and install all R dependencies:

> install.packages("gamlss")

5. Navigate to the cloned GitHub repository and run “refcurv.py”:

$ python3 refcurv.py

Please note that we tested this version with Linux Mint 18.3 Cinnamon 64-bit. We used Python 3.5.2.