Installing Xmipp on Ubuntu 16.04 - I2PC/xmipp GitHub Wiki

Installing Xmipp on Ubuntu 16.04

Required dependencies

Compiler

sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install gcc-8 g++-8
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50

Other dependencies

sudo apt-get install -y scons libfftw3-dev libopenmpi-dev libhdf5-dev python3-numpy python3-dev libtiff5-dev libsqlite3-dev default-jdk git cmake

Optional dependencies

CUDA Follow official install instructions

OpenCV sudo apt install libopencv-dev

Installation

git clone https://github.com/I2PC/xmipp.git && cd xmipp && ./xmipp