Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
NumPy Beginner's Guide

You're reading from   NumPy Beginner's Guide An action packed guide using real world examples of the easy to use, high performance, free open source NumPy mathematical library.

Arrow left icon
Product type Paperback
Published in Apr 2013
Publisher Packt
ISBN-13 9781782166085
Length 310 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ivan Idris Ivan Idris
Author Profile Icon Ivan Idris
Ivan Idris
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Numpy Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. NumPy Quick Start FREE CHAPTER 2. Beginning with NumPy Fundamentals 3. Get in Terms with Commonly Used Functions 4. Convenience Functions for Your Convenience 5. Working with Matrices and ufuncs 6. Move Further with NumPy Modules 7. Peeking into Special Routines 8. Assure Quality with Testing 9. Plotting with Matplotlib 10. When NumPy is Not Enough – SciPy and Beyond 11. Playing with Pygame Pop Quiz Answers Index

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.

You have been reading a chapter from
NumPy Beginner's Guide - Second Edition
Published in: Apr 2013
Publisher: Packt
ISBN-13: 9781782166085
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime