Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 3.22 KB

prereq-ubuntu.md

File metadata and controls

77 lines (55 loc) · 3.22 KB

aliBuild prerequisites for Ubuntu

At ALICE we do our best to support two versions of Ubuntu: the latest and greatest, and the latest LTS (Long Term Support) release. What we currently support is:

  • Ubuntu 18.04 LTS
  • Ubuntu 17.10 (not a LTS)
  • Ubuntu 16.04 LTS

We do not support Ubuntu pre-releases (i.e. if something breaks there, you are on your own).

Ubuntu has a comprehensive page with its support policy.

If your release is not mentioned (yet) in the list above, it means we cannot guarantee support for it. It does not mean it does not work, however, and we will be happy to review your contribution if you have more information!

Corresponding Docker containers

Not an Ubuntu user, but you want to build on Ubuntu still? You can use one of the official Ubuntu Docker images. The images corresponding to the supported Ubuntu versions are:

  • ubuntu:16.04
  • ubuntu:17.10
  • ubuntu:18.04

You can try following those instructions in one of the containers above.

Install or upgrade required packages

Refresh the list of packages first (you need root, i.e. sudo, permissions):

sudo apt update -y

On Ubuntu 16.04 and 17.10, install packages with the following long line:

sudo apt install -y curl libcurl4-openssl-dev build-essential gfortran cmake libmysqlclient-dev xorg-dev libglu1-mesa-dev libfftw3-dev libssl-dev libxml2-dev git unzip python-pip autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config bison flex libperl-dev libbz2-dev libboost-all-dev swig liblzma-dev libnanomsg-dev libyaml-cpp-dev rsync lsb-release unzip environment-modules

On Ubuntu 18.04, install the following list instead:

sudo apt install -y curl libcurl4-gnutls-dev build-essential gfortran cmake libmysqlclient-dev xorg-dev libglu1-mesa-dev libfftw3-dev libssl1.0 libssl1.0-dev libxml2-dev git unzip python-pip autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config bison flex libperl-dev libbz2-dev libboost-all-dev swig liblzma-dev libnanomsg-dev libyaml-cpp-dev rsync lsb-release unzip environment-modules

Once this is done, install (as root) the required Python packages:

sudo pip install matplotlib numpy certifi ipython==5.1.0 ipywidgets ipykernel notebook metakernel pyyaml

You are now ready for installing aliBuild and start building ALICE software