I'm trying to install armadillo library onto my linux system(ubuntu 12.04). The BOOST BLAS ATLAS and LAPACK is required first for the installation. Is there a way to check if those libraries are already installed or not?
All these libraries are in the default repository, so you can easily get them by
sudo apt-get install liblapack3
etc. I understand that this is not quite an answer to your question, but this is what you will probably have to do anyway. In case you still want to check if a package (any, not just libraries listed above) is installed, just run
apt-cache policy liblapack3