I am trying find which directory path BLAS and LAPACK are installed on in Ubuntu 16.04.
I tried:
$ type libblas-dev
bash: type: libblas-dev: not found
Then:
$ 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
But the last code doesn't show where it is installed. Can anyone help with this?
The same is the case with LAPACK:
$ type liblapack3
bash: type: liblapack3: not found
and
$ 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
The command $ dpkg -L liblapack3 gives:
/.
/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
But how do I know where the executable file is ? i.e. the install directory.
On Ubuntu try sudo update-alternatives --list libblas.so.3
(Not sure which "executable file" you are looking for when the package is "only" a library ?)
Most helpful comment
On Ubuntu try
sudo update-alternatives --list libblas.so.3(Not sure which "executable file" you are looking for when the package is "only" a library ?)