wiki:NumpyUbuntu64Install

Version 1 (modified by rwilson, 8 years ago) (diff)

--

Using the Ubuntu Synaptic package manager, install the following packages:

subversion
python-dev
python-profiler
g++
python-numpy

Of course, if you prefer using the console, you could do:

sudo install subversion

and so on.

You need to specify a special flag for source package builds:

export CFLAGS=-fPIC

Note: you must execute the above console command in any terminal in which you do the NetCDF and ScientificPython source builds (below).

Next, you need to install NetCDF 4.0.1 from the source package:

tar xzf netcdf.tar.gz
cd netcdf-4.0.1
./configure
make check
sudo make install

Now install ScientificPython 2.9.0:

tar xzf ScientificPython-2.9.0.tar.gz
cd ScientificPython-2.9.0
python setup.py build --numpy
sudo python setup.py install

And finally, install matplotlib through Synaptic:

python-matplotlib