# Note: depends on cmake
wget -c https://github.com/3MFConsortium/lib3mf/archive/v2.0.0/lib3mf-2.0.0.tar.gz
tar -xzf lib3mf-2.0.0.tar.gz
cd lib3mf-2.0.0
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DLIB3MF_TESTS=OFF
make # Doesn't mind -j#
make install