SWC Audio Day Software - Ubuntu Installation

  • Cribbed from Lion instructions and updated as it progressed

Installation under Ubuntu 12.04 Precise Pangolin

Installing readline

sudo apt-get install readline

returned
Unable to locate package readline

Installing sqlite

sudo apt-get install sqlite

returned
Installed libsqlite0 and sqlite

Installing gdbm

sudo apt-get install libgdbm3 

returned
libgdm3 is already the newest version

Installing pkg-config

sudo apt-get install pkg-config

returned
pkg-config is already the newest version

python

sudo apt-get install python
Testing (in python)
python

Gives the python command prompt

Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information

To leave python

exit()

pip

A package manager for python

sudo easy_install pip

Numpy

You can either:
  • install as an Ubuntu package
    sudo apt-get install python-scipy
    
  • or install from source, which requires development headers for python
    sudo apt-get install python-dev
    sudo pip install scipy
    
Testing (in python)
import numpy
print numpy.__version__
print numpy.__file__
quit()

You should get numpy version 1.6.2 and a file starting with a path /usr/local/lib/python2.7/...

Scipy

Scipy is available as a package for Ubuntu

sudo apt-get install python-scipy

This is easier than installing from source using pip as that needs BLAS as a prerequisite.

install BLAS somehow...
sudo apt-get install gfortran
pip install scipy

Testing (in python)
import scipy
print scipy.__version__
print scipy.__file__
quit()

You should get scipy version 0.9.0 and a file starting with a path /usr/lib/python2.7/...

Matplotlib

Scipy is available as a package for Ubuntu

sudo apt-get install python-matplotlib

Testing (in Python)
import matplotlib
print matplotlib.__version__
print matplotlib.__file__
quit()

You should get matplotlib version 1.1.1rc and a file starting with a path /usr/lib/pymodules/python2.7/...

Audiolab

pip install scikits.audiolab 
  • FAILING AT THIS POINT AS pip CAN'T FIND SNDFILE
Testing (in Python)
import scikits.audiolab
print scikits.audiolab.__version__
print scikits.audiolab.__file__
quit()

You should get scikits.audiolab version 0.11.0 and a file starting with a path /usr/local/Cellar/python/2.7.3/...

pip.log - pip log from audiolab install 5.08 KB, downloaded 75 times Steve Welburn, 2012-09-03 06:13 PM