I am a noob in Linux environment.
I am using ubuntu 13.10 and I want to install Armadillo . The readme file said that I should install three other libraries first, LAPACK, BLAS and ATLAS.
I downloaded lapack-3.5.0, but I don't know how to install it(I only know apt-get install for installation). I found the installation steps inside the readme file as:
I have installed make and cmake but what should I do next?
I would like to ask for a big picture about this kind(compile from source? I am not sure is this the correct discription) of installation concept and also steps for installation.
My understanding about installation is only come from installing a game in Windows that is specifying a path and then input install command and then finish. Is that similar to this case?
From a linux terminal at the console, enter sudo synaptic
Synaptic is basically a GUI built around apt-get and related commands.
A window will appear, like this one:
In the "Quick filter" box, enter each of these to seach for packages and then checkbox select the various packages if they are unselected. You probably want the -dev versions to get the C/C++ headers and the -doc packages to get the man pages, as well as the main package:
Note: sometimes people need the very latest libraries, for bugfixes, extra features, but the ones available through synaptic will be older, from your official linux distribution archive. This can be fixed by adding ppa repositories with the add-apt-repository command, if there is a ppa repository with the latest code somewhere and you know its name/address.
If you need to do this on a VPS over ssh in text mode, and you can't get synaptic running, you can go back to apt-get. If you can run synaptic locally, you can use it to scout the package names. Or, you can use apt-cache search blas | less
apt-cache search blas | less
to search for package descriptions containing the string "blas".
Edit : While my answer is correct, @Pauls's answer will get you to where you need to go, much faster. Assuming you can live with the ubuntu system default configuration of the LAPACK and friends.
http://www.netlib.org/lapack/lawn81/node10.html Explains the steps to install LAPACK.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.