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-numpy
    

    The 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-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

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

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