Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 18829  / 3 Years ago, fri, june 25, 2021, 9:08:51

While trying to install open mpi on my Ubuntu 12.04, I am getting error unable to locate package libopenmpi-dev. What to do?



$ sudo apt-get install libopenmpi-dev openmpi-bin openmpi-doc
unable to locate package libopenmpi-dev
unable to locate package openmpi-bin
unable to locate package openmpi-doc

More From » 12.04

 Answers
6

Try to run apt-get update before you install the openmpi package.



Also you can use the following command to search all openmpi related package, for example:



apt-cache search openmpi


If it still doesn't work, try to use a different mirror, below is GUI and easier:



sudo software-properties-gtk


Update:



@Govind



The package is definitely in the official repository (12.04): http://packages.ubuntu.com/precise/libopenmpi-dev



As mentioned earlier, please run apt-get update and then apt-cache search for the libopenmpi packages.



If it still doesn't help. Try to change your mirror. Or paste the content of your /etc/apt/sources.list


[#34501] Saturday, June 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uestred

Total Points: 464
Total Questions: 104
Total Answers: 112

Location: Israel
Member since Wed, Apr 14, 2021
3 Years ago
;