简体   繁体   English

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

[英]how to check if BLAS and ATLAS already installed

I'm trying to install armadillo library onto my linux system(ubuntu 12.04). 我正在尝试将armadillo库安装到我的linux系统(ubuntu 12.04)上。 The BOOST BLAS ATLAS and LAPACK is required first for the installation. 首先需要BOOST BLAS ATLAS和LAPACK进行安装。 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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM