如何检查BLAS和ATLAS是否已安装

时间:2020-12-30 04:06:29

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?

我正在尝试将armadillo库安装到我的linux系统(ubuntu 12.04)上。首先需要BOOST BLAS ATLAS和LAPACK进行安装。有没有办法检查这些库是否已经安装?

1 个解决方案

#1


7  

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

#1


7  

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