SWCAudioDaySoftwareUbuntu » History » Version 2

« Previous - Version 2/15 (diff) - Next » - Current version
Steve Welburn, 2012-09-03 05:29 PM


SWC Audio Day Software - Ubuntu Installation

  • Copied from Lion instructions... updating as progresses

Installation under Ubuntu 12.04

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

sudo apt-get install python

python is alrady the newest version

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()

Installation under OSX 10.7 (Lion)

(add this to ~/.bash_profile)
export PATH=/usr/local/share/python:$PATH

cd /System/Library/Frameworks/Python.framework/Versions
sudo rm Current
ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current

source ~/.bash_profile (or reload terminal)

easy_install pip

Numpy

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/Cellar/python/2.7.3/...

Scipy

brew install gfortran
pip install scipy
Testing (in python)
import scipy
print scipy.__version__
print scipy.__file__
quit()

You should get scipy version 0.10.1 and a file starting with a path /usr/local/Cellar/python/2.7.3/...

Matplotlib

(couldn't get matplotlib installed using pip; had to download and manually install it instead)

git clone https://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py build
python setup.py install
Testing (in Python)
import matplotlib
print matplotlib.__version__
print matplotlib.__file__
quit()

You should get matplotlib version 1.2.x and a file starting with a path /usr/local/Cellar/python/2.7.3/...

Audiolab

pip install scikits.audiolab 
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