Time for action – installing NumPy, Matplotlib, SciPy, and IPython on Linux

Most Linux distributions have NumPy packages. We will go through the necessary steps for some of the popular Linux distros:

  1. Run the following instructions from the command line for installing NumPy and Red Hat:
    yum install python-numpy
    
  2. To install NumPy on Mandriva, run the following command-line instruction:
    urpmi python-numpy
    
  3. To install NumPy on Gentoo run the following command-line instruction:
    sudo emerge numpy
    
  4. To install NumPy on Debian or Ubuntu, we need to type the following :
    sudo apt-get install python-numpy
    

The following table gives an overview of the Linux distributions and corresponding package names for NumPy, SciPy, Matplotlib, and IPython.

Linux distribution

NumPy

SciPy

Matplotlib

IPython

Arch Linux

python-numpy

python-scipy

python-matplotlib

ipython

Debian

python-numpy

python-scipy

python-matplotlib

ipython

Fedora

numpy

python-scipy

python-matplotlib

ipython

Gentoo

dev-python/numpy

scipy

matplotlib

ipython

OpenSUSE

python-numpy, python-numpy-devel

python-scipy

python-matplotlib

ipython

Slackware

numpy

scipy

matplotlib

ipython

What just happened?

We installed NumPy, SciPy, Matplotlib, and IPython on various Linux distributions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset