Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
Most Linux distributions have NumPy packages. We will go through the necessary commands for some of the most popular Linux distros:
- Installing NumPy on Red Hat: Run the following instructions from the command line:
$ yum install python-numpy - Installing NumPy on Mandriva: To install NumPy on Mandriva, run the following command line instruction:
$ urpmi python-numpy - Installing NumPy on Gentoo: To install NumPy on Gentoo, run the following command line instruction:
$ [sudo] emerge numpy - Installing NumPy on Debian and Ubuntu: On Debian or Ubuntu, type the following on the command line:
$ [sudo] apt-get install python-numpyThe following table gives an overview of the Linux distributions and the corresponding package names for NumPy, SciPy, matplotlib, and IPython:
Linux distribution
NumPy
SciPy
matplotlib
IPython
Arch Linux
python-numpypython-scipypython-matplotlibipythonDebian
python-numpypython-scipypython-matplotlibipythonFedora
numpypython-scipypython-matplotlibipythonGentoo
dev-python/numpyscipymatplotlibipythonOpenSUSE
python-numpy, python-numpy-develpython-scipypython-matplotlibipythonSlackware
numpyscipymatplotlibipython