SWCAudioDaySoftwareUbuntu » History » Version 7

« Previous - Version 7/15 (diff) - Next » - Current version
Steve Welburn, 2012-09-03 06:02 PM


SWC Audio Day Software - Ubuntu Installation

  • Copied from Lion instructions... updating as progresses

Installation under Ubuntu 12.04 Precise Pangolin

sudo apt-get install readline

Unable to locate package readline

sudo apt-get install sqlite

Installed libsqlite0 and sqlite

sudo apt-get install libgdbm3 

libgdm3 is alrady the newest version

sudo apt-get install pkg-config

pkg-config is alrady the newest version

python

sudo apt-get install python-dev

Installed development headers for python (so that numpy can build)

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
    sudo pip install numpy
    
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.

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 88 times Steve Welburn, 2012-09-03 06:13 PM