# Note: depends on cmake wget -c http://www.netlib.org/lapack/lapack-3.8.0.tar.gz tar -xzf lapack-3.8.0.tar.gz cd lapack-3.8.0 mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX="/usr" -DBUILD_SHARED_LIBS=ON .. make # Doesn't mind -j# make install