How to install BLAS & LAPACK in Ubuntu 14.04? When I am trying to install these packages with apt-get install BLAS:
Error occurred
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
How to install BLAS & LAPACK in Ubuntu 14.04? When I am trying to install these packages with apt-get install BLAS:
Error occurred
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
There's a typo in @Maythux's answer: there should be no e in liblapacke.
A more minimalist set of packages can be installed with:
sudo apt-get install libblas-dev liblapack-dev
Also, if you're installing these to get scipy to install with pip, it may not be the complete solution (I failed to use pip install scipy in an ARM architecture Ubuntu 14.04 system). I found success with apt-get install python-scipy, but it was an older version (0.13.3). If you need a newer version via pip, you may also need:
sudo apt-get install gfortran
In order to solve the administrator directory lock problem, search for processes.
sudo rm /var/lib/apt/lists/lock
sudo apt-get update
Then try the commands to install
sudo apt-get install libblas-dev checkinstall
sudo apt-get install libblas-doc checkinstall
sudo apt-get install liblapack-dev checkinstall
sudo apt-get install liblapack-doc checkinstall