Linux 如何检查BLAS和ATLAS是否已经安装
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15851831/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to check if BLAS and ATLAS already installed
提问by lolibility
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。有没有办法检查这些库是否已经安装?
采纳答案by Eugene B
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