Skip to content
Thomas Nipen edited this page Nov 26, 2022 · 10 revisions

Here are installation instructions for Ubuntu.

Quick installation

The easiest way to install Verif is using pip as follows:

pip install verif

Verif should then be accessible by typing verif on the command-line.

Installing Cartopy for maps

Verif uses Cartopy to plot data on maps. If you want this ability, install Cartopy with its GEOS and PROJ4 dependencies as follows (on Ubuntu):

sudo apt-get update
sudo apt-get install libgeos-dev libproj-dev
pip install cartopy

Verif should then be accessible by typing verif on the command-line. If you do not have sudo-rights, then install verif as follows:

.. code-block:: bash

pip install verif --user

This will create the executable ~/.local/bin/verif. Add this to your PATH environment variable if necessary (i.e add export PATH=$PATH:~/.local/bin to ~/.bashrc).

Installing from source

Alternatively, to install from source, download the source code of the latest version: https://github.com/WFRT/verif/releases/. Unzip the file and navigate into the extracted folder.

Then install Verif by executing the following inside the extracted folder:

.. code-block:: bash

sudo pip install -r requirements.txt sudo python setup.py install

This will create the executable /usr/local/bin/verif. Add /usr/local/bin to your PATH environment variable if necessary. If you do not have sudo privileges do:

.. code-block:: bash

pip install -r requirements.txt --user python setup.py install --user

This will create the executable ~/.local/bin/verif. Add ~/.local/bin to your PATH environment variable.

Installing on Mac OSX

Follow the proceedure as for Ubuntu (either installing with pip or from source). If installing from source, then look for the line "Installing verif script to ", as this will indicate what folder Verif is installed into. Add the folder to your PATH environment variable if necessary.

Troubleshooting

I don't have pip: On Ubuntu you can easily install pip using the following command:

sudo apt install python3-pip