# Note: depends on cmake wget -c https://github.com/uclouvain/openjpeg/archive/v2.3.1/openjpeg-2.3.1.tar.gz tar -xzf openjpeg-2.3.1.tar.gz cd openjpeg-2.3.1 mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX="/usr" make # Doesn't mind -j# make install