How To Install Numpy For Linux?

Python is modern, the interpreted language used in various areas. One area of python is big data and graphics. Python has a lot of 3 party libraries to draw graphics. Today I needed a graphics library named Numpy. Numpy can be installed from different sources. But using pip is one way to install the most up-to-date version.

Install Python Development Libraries

Python libraries are compiled after downloaded from pip. So we will install python development libraries to compile. This python development library version is by default python2

$ sudo dnf install python-devel.x86_64 -y
Install Python Development Libraries
Install Python Development Libraries

Install Numpy

Now we can install numpy from pip repositories like below. I may take some time to compile libraries.

$ sudo pip install numpy
Install Numpy
Install Numpy

Leave a Comment