我正在尝试查找 BLAS 和 LAPACK 安装在哪个目录路径上。
我试过:
$ type libblas-dev
bash: type: libblas-dev: not found
然后:
$ apt-cache policy libblas-dev
libblas-dev:
Installed: 3.6.0-2ubuntu2
Candidate: 3.6.0-2ubuntu2
Version table:
*** 3.6.0-2ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
但最后一段代码没有显示安装位置。有人能帮忙吗?
LAPACK也是如此:
$ type liblapack3
bash: type: liblapack3: not found
和
$ apt-cache policy liblapack3
liblapack3:
Installed: 3.6.0-2ubuntu2
Candidate: 3.6.0-2ubuntu2
Version table:
*** 3.6.0-2ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
命令:
$ dpkg -L liblapack3
给出:
/.
/usr
/usr/lib
/usr/lib/lapack
/usr/lib/lapack/liblapack.so.3.6.0
/usr/share
/usr/share/doc
/usr/share/doc/liblapack3
/usr/share/doc/liblapack3/copyright
/usr/share/doc/liblapack3/testing_results.txt.gz
/usr/share/doc/liblapack3/README.gz
/usr/lib/lapack/liblapack.so.3
/usr/share/doc/liblapack3/changelog.Debian.gz
但是我怎么知道可执行文件在哪里?即安装目录。