The package is a high-performance linear Algebra computing library, and two packages are generally interdependent, so choose to also describe their installation:
The official release is now lacpack-3.5.0.tgz, and the access method is the URL. But not open, Ubuntu general use
wget http://www.netlib.org/lapack/lapack-3.5.0.tgz
Unzip after download
TAR-ZXVF lapack-3.5. 0. tgz
before making, you need to create a make.inc file that you can create directly from Make.inc.example: CD lapack-3.5. 0 CP make.inc.example Make.inc If you are using Ubuntu+Gfortran, you do not have to change the contents of the Make.inc, otherwise you need to modify the corresponding options in the file according to the system environment and compiler. Lapack relies on Blas, so Blas package needs to be provided before compiling lapack, but Lapack package is already integrated, but it is not compiled by default. To compile the lapack before compiling the Blas, you need to modify the Makefile:gedit Makefile cursor to the 11th line and change the content to: Lib:blaslib lapacklib tmglib Save exit, and then start make the entire project. After the make compilation is complete, the directory will generate BLAS_LINUX.A, LAPACK_LINUX.A, and tmglib_linux.a three files.
Ubuntu Science Computing Package Blas and LAPACK installation