I need to install numpy 1.8.1 for ubuntu 14.04 (downgrade from 1.8.2)

my ubuntu is 14.04. I need to install numpy 1.8.1. Where can I find its directory?

1 Answer

You can install it with sudo apt-get install python-numpy. The version in 14.04 is 1.8.2 (it was updated from 1.8.1 --- so probably you want to stick with the new one; it's a stable release update so it surely fixes bugs).

If you want to stick with the older version due to a verification script (which is not recommended; that script is not very well thought) you can do that; install it with the suggestion here: How to Downgrade a Package via apt-get? and then mark it "held" with apt mark hold python-numpy. Basically it should be (not tested)

sudo apt-get install python-numpy=1:1.8.1-1ubuntu1
sudo apt-mark hold python-numpy

...but I would fix the script instead. Holding packages can have a lot of nasty consequences on the long run.

The available versions can be found with apt-cache search numpy and after finding the correct name (by looking at the list):

[romano:~] % apt-cache policy python-numpy
python-numpy: Installed: 1:1.8.2-0ubuntu0.1 Candidate: 1:1.8.2-0ubuntu0.1 Version table: *** 1:1.8.2-0ubuntu0.1 0 500 trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:1.8.1-1ubuntu1 0 500 trusty/main amd64 Packages
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like