| 60 | Using the Ubuntu Synaptic package manager, install the following packages: |
| 61 | {{{ |
| 62 | subversion |
| 63 | python-dev |
| 64 | python-profiler |
| 65 | g++ |
| 66 | python-numpy |
| 67 | }}} |
| 68 | |
| 69 | Of course, if you prefer using the console, you could do: |
| 70 | {{{ |
| 71 | sudo install subversion |
| 72 | }}} |
| 73 | and so on. |
| 74 | |
| 75 | You need to specify a special flag for source package builds: |
| 76 | {{{ |
| 77 | export CFLAGS=-fPIC |
| 78 | }}} |
| 79 | Make sure that you perform any builds below in the terminal window you performed the above console command. |
| 80 | |
| 81 | Next, you need to install !NetCDF 4.0.1 from the source package: |
| 82 | {{{ |
| 83 | tar xzf netcdf.tar.gz |
| 84 | cd netcdf-4.0.1 |
| 85 | ./configure |
| 86 | make check |
| 87 | sudo make install |
| 88 | }}} |
| 89 | |
| 90 | Now install !ScientificPython 2.9.0: |
| 91 | {{{ |
| 92 | tar xzf ScientificPython-2.9.0.tar.gz |
| 93 | cd ScientificPython-2.9.0 |
| 94 | python setup.py build --numpy |
| 95 | sudo python setup.py install |
| 96 | }}} |
| 97 | |
| 98 | And finally, install matplotlib through Synaptic: |
| 99 | {{{ |
| 100 | python-matplotlib |
| 101 | }}} |