Debian - numpy

From PeformIQ Upgrade
Revision as of 19:47, 16 December 2007 by PeterHarding (talk | contribs) (New page: = Installing = Installing the python numpy package on debian is as simple as $ apt-cache search numpy and $ apt-get install python-numpy Here is a transcript... gw2:/u/pub/matplot...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing

Installing the python numpy package on debian is as simple as

$ apt-cache search numpy

and

$ apt-get install python-numpy

Here is a transcript...

gw2:/u/pub/matplotlib# apt-cache search numpy
python-nifti - Python interface to the NIfTI I/O libraries
python-numarray - An array processing package modelled after Python-Numeric
python-numeric - Numerical (matrix-oriented) Mathematics for Python
python-numeric-dbg - Numerical (matrix-oriented) Mathematics for Python (debug extension)
python-numeric-tutorial - Tutorial for the Numerical Python Library
python-numpy - Numerical Python adds a fast array facility to the Python language
python-numpy-dev - Numerical Python adds a fast array facility to the Python language
python-numpy-doc - Numpy documentation
python-numpy-ext - Numerical Python adds a fast array facility to the Python language
python-scientific - Python modules useful for scientific computing
python-scientific-doc - Python modules useful for scientific computing
python-tables - hierarchical database for Python based on HDF5


gw2:/u/pub/matplotlib# apt-get install python-numpy python-numpy-dev python-numpy-doc python-numpy-ext
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  atlas3-base
Suggested packages:
  atlas3-3dnow atlas3-sse atlas3-sse2 refblas3 lapack3
The following NEW packages will be installed:
  atlas3-base python-numpy python-numpy-dev python-numpy-doc python-numpy-ext
0 upgraded, 5 newly installed, 0 to remove and 138 not upgraded.
Need to get 7308kB of archives.
After unpacking 23.3MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.pacific.net.au testing/main atlas3-base 3.6.0-20.6 [6371kB]
Get:2 http://mirror.pacific.net.au stable/main python-numpy 1:1.0.1-1 [833kB]
Get:3 http://mirror.pacific.net.au stable/main python-numpy-dev 1:1.0.1-1 [11.5kB]
Get:4 http://mirror.pacific.net.au stable/main python-numpy-doc 1:1.0.1-1 [89.8kB]
Get:5 http://mirror.pacific.net.au stable/main python-numpy-ext 1:1.0.1-1 [3146B]
Fetched 7308kB in 12s (606kB/s)
Preconfiguring packages ...
Selecting previously deselected package atlas3-base.
(Reading database ... 74140 files and directories currently installed.)
Unpacking atlas3-base (from .../atlas3-base_3.6.0-20.6_i386.deb) ...
Selecting previously deselected package python-numpy.
Unpacking python-numpy (from .../python-numpy_1%3a1.0.1-1_i386.deb) ...
Selecting previously deselected package python-numpy-dev.
Unpacking python-numpy-dev (from .../python-numpy-dev_1%3a1.0.1-1_i386.deb) ...
Selecting previously deselected package python-numpy-doc.
Unpacking python-numpy-doc (from .../python-numpy-doc_1%3a1.0.1-1_i386.deb) ...
Selecting previously deselected package python-numpy-ext.
Unpacking python-numpy-ext (from .../python-numpy-ext_1%3a1.0.1-1_i386.deb) ...
Setting up atlas3-base (3.6.0-20.6) ...
Setting up python-numpy (1.0.1-1) ...
INFO: using unsupported version '/usr/bin/python2.5'
Setting up python-numpy-dev (1.0.1-1) ...
Setting up python-numpy-doc (1.0.1-1) ...
Setting up python-numpy-ext (1.0.1-1) ...
gw2:/u/pub/matplotlib#
gw2:/u/pub/matplotlib#
gw2:/u/pub/matplotlib#
gw2:/u/pub/matplotlib#
gw2:/u/pub/matplotlib#
gw2:/u/pub/matplotlib# apt-cache search matplotlib
python-matplotlib - python based plotting system in a style similar to Matlab
python-matplotlib-data - python based plotting system (data package)
python-matplotlib-doc - python based plotting system (documentation package)
gw2:/u/pub/matplotlib# apt-get install python-matplotlib python-matplotlib-data python-matplotlib-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  blt dvipng libkpathsea4 python-dateutil python-dev python-gd python-tk python-tz python2.4-dev tcl8.4 tetex-base
  tetex-bin tex-common tk8.4
Suggested packages:
  blt-demo ttf-bitstream-vera ttf-freefont ipython texlive-extra-utils texlive-latex-extra tetex-extra tix libc6-dev
  libc-dev tclreadline gv postscript-viewer xpdf-reader pdf-viewer texi2html chktex lacheck rubber sam2p debhelper
Recommended packages:
  tetex-doc perl-tk libxml-parser-perl xterm x-terminal-emulator
The following NEW packages will be installed:
  blt dvipng libkpathsea4 python-dateutil python-dev python-gd python-matplotlib python-matplotlib-data
  python-matplotlib-doc python-tk python-tz python2.4-dev tcl8.4 tetex-base tetex-bin tex-common tk8.4
0 upgraded, 17 newly installed, 0 to remove and 138 not upgraded.
Need to get 36.3MB of archives.
After unpacking 119MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.pacific.net.au stable/main libkpathsea4 3.0-30 [81.1kB]
Get:2 http://mirror.pacific.net.au stable/main tex-common 1.0.1 [708kB]
Get:3 http://mirror.pacific.net.au stable/main tetex-base 3.0.dfsg.3-5etch1 [22.7MB]
Get:4 http://mirror.pacific.net.au stable/main tetex-bin 3.0-30 [3574kB]
Get:5 http://mirror.pacific.net.au stable/main tcl8.4 8.4.12-1.1 [1144kB]
Get:6 http://mirror.pacific.net.au stable/updates/main tk8.4 8.4.12-1etch1 [977kB]
Get:7 http://mirror.pacific.net.au testing/main blt 2.4z-4 [1528kB]
Get:8 http://mirror.pacific.net.au stable/main dvipng 1.9-1+etch.1 [80.2kB]
Get:9 http://mirror.pacific.net.au stable/main python-dateutil 1.1-1 [125kB]
Get:10 http://mirror.pacific.net.au stable/main python2.4-dev 2.4.4-3 [1509kB]
Get:11 http://mirror.pacific.net.au stable/main python-dev 2.4.4-2 [890B]
Get:12 http://mirror.pacific.net.au testing/main python-tk 2.4.4-1 [59.4kB]
Get:13 http://mirror.pacific.net.au stable/main python-gd 0.52debian-2 [38.5kB]
Get:14 http://mirror.pacific.net.au stable/main python-tz 2006p-0.1 [189kB]
Get:15 http://mirror.pacific.net.au stable/main python-matplotlib-data 0.87.7-0.3 [337kB]
Get:16 http://mirror.pacific.net.au stable/main python-matplotlib 0.87.7-0.3 [2552kB]
Get:17 http://mirror.pacific.net.au stable/main python-matplotlib-doc 0.87.7-0.3 [658kB]
Fetched 36.3MB in 45s (789kB/s)
Preconfiguring packages ...
Selecting previously deselected package libkpathsea4.
(Reading database ... 74547 files and directories currently installed.)
Unpacking libkpathsea4 (from .../libkpathsea4_3.0-30_i386.deb) ...
Selecting previously deselected package tex-common.
Unpacking tex-common (from .../tex-common_1.0.1_all.deb) ...
Selecting previously deselected package tetex-base.
Unpacking tetex-base (from .../tetex-base_3.0.dfsg.3-5etch1_all.deb) ...
Selecting previously deselected package tetex-bin.
Unpacking tetex-bin (from .../tetex-bin_3.0-30_i386.deb) ...
Selecting previously deselected package tcl8.4.
Unpacking tcl8.4 (from .../tcl8.4_8.4.12-1.1_i386.deb) ...
Selecting previously deselected package tk8.4.
Unpacking tk8.4 (from .../tk8.4_8.4.12-1etch1_i386.deb) ...
Selecting previously deselected package blt.
Unpacking blt (from .../archives/blt_2.4z-4_i386.deb) ...
Selecting previously deselected package dvipng.
Unpacking dvipng (from .../dvipng_1.9-1+etch.1_i386.deb) ...
Selecting previously deselected package python-dateutil.
Unpacking python-dateutil (from .../python-dateutil_1.1-1_all.deb) ...
Selecting previously deselected package python2.4-dev.
Unpacking python2.4-dev (from .../python2.4-dev_2.4.4-3_i386.deb) ...
Selecting previously deselected package python-dev.
Unpacking python-dev (from .../python-dev_2.4.4-2_all.deb) ...
Selecting previously deselected package python-tk.
Unpacking python-tk (from .../python-tk_2.4.4-1_i386.deb) ...
Selecting previously deselected package python-gd.
Unpacking python-gd (from .../python-gd_0.52debian-2_i386.deb) ...
Selecting previously deselected package python-tz.
Unpacking python-tz (from .../python-tz_2006p-0.1_all.deb) ...
Selecting previously deselected package python-matplotlib-data.
Unpacking python-matplotlib-data (from .../python-matplotlib-data_0.87.7-0.3_all.deb) ...
Selecting previously deselected package python-matplotlib.
Unpacking python-matplotlib (from .../python-matplotlib_0.87.7-0.3_i386.deb) ...
Selecting previously deselected package python-matplotlib-doc.
Unpacking python-matplotlib-doc (from .../python-matplotlib-doc_0.87.7-0.3_all.deb) ...
Setting up libkpathsea4 (3.0-30) ...

Setting up tex-common (1.0.1) ...
Setting up tetex-base (3.0.dfsg.3-5etch1) ...
done

Creating config file /etc/texdoctk/texdocrc with new version

Setting up tetex-bin (3.0-30) ...

Creating config file /etc/texmf/fmt.d/01tetex.cnf with new version
Running fmtutil-sys. This may take some time... done.
Running updmap-sys. This may take some time... done.

Setting up tcl8.4 (8.4.12-1.1) ...

Setting up tk8.4 (8.4.12-1etch1) ...

Setting up blt (2.4z-4) ...
 
Setting up dvipng (1.9-1+etch.1) ...

Setting up python-dateutil (1.1-1) ...

Setting up python2.4-dev (2.4.4-3) ...
Setting up python-dev (2.4.4-2) ...
Setting up python-tk (2.4.4-1) ...
Setting up python-gd (0.52debian-2) ...

Setting up python-tz (2006p-0.1) ...
INFO: using unsupported version '/usr/bin/python2.5'

Setting up python-matplotlib-data (0.87.7-0.3) ...
Setting up python-matplotlib (0.87.7-0.3) ...
INFO: using unsupported version '/usr/bin/python2.5'

Setting up python-matplotlib-doc (0.87.7-0.3) ...