Ubuntu or Debian Variants

Note

It is highly recommended to use Long-Term Support (LTS) releases of Ubuntu.

Prerequisite for the optional module photospline

photospline is no longer included as part of IceTray, but developed independently, and must be installed before building IceTray.

$ git clone https://github.com/icecube/photospline.git
$ mkdir photospline/build
$ cd photospline/build
$ cmake ..
$ make -j$(nproc)
$ sudo make install

For detailed installation instructions see https://github.com/icecube/photospline.

Using the Package Manager

On laptops or user-controlled workstations it is recommended to install as much as possible through the package manager. The following instructions are for 20.04 LTS.

Minimal Install

If any of the following packages are not installed cmake will complain and the build will fail. This minimal installation may or may not work for you depending on what you’re trying to do. It’s highly recommended you prefer the full/maximal install below.

$ apt-get install build-essential cmake libbz2-dev libgsl0-dev libcfitsio-dev \
  libboost-system-dev libboost-thread-dev libboost-date-time-dev \
  libboost-python-dev libboost-serialization-dev libboost-filesystem-dev \
  libboost-program-options-dev libboost-regex-dev libboost-iostreams-dev \
  python3-numpy libfftw3-dev libboost-python-numpy

Special Install

The following are a bit special and require extra care, especially if you want to run clsim and ppc on GPUs, which require hardware drivers.

  • ROOT (no longer provided via aptitude)

    • libtbb-dev

  • clsim (needs OpenCL, ZMQ, and optionally GEANT)

    • libzmq5-dev

    • python3-zmq

    • opencl-dev

  • ppc (needs OpenCL)

    • opencl-dev

  • g4-tankresponse (needs GEANT)

  • ml_suite (tensorflow is optional)