wiki:InstallationDebian

Installation on Debian and Ubuntu using the ObsPy apt repository

Back to Installation on Debian/Ubuntu

Debian Packages

ObsPy is now packed for all current Debian and Ubuntu releases.
For installation append the ObsPy apt repository to the file /etc/apt/sources.list (as root):

deb http://deb.obspy.org CODENAME main

Replace 'CODENAME' with the  codename of your Debian/Ubuntu release. Currently supported releases are:

  • Debian
    • lenny
    • squeeze
  • Ubuntu
    • lucid
    • maverick
    • natty
    • oneiric

Next you need to import the ObsPy gnupg key so that apt is able to check the integrity of the downloaded packages.
The following command needs to be executed only once (as root):

wget --quiet -O - http://obspy.org/export/2889/obspy/trunk/misc/debian/public.key | apt-key add -

To install ObsPy including all dependencies (as root):

apt-get update
apt-get install python-obspy

To uninstall ObsPy and all unneeded dependencies (as root):

apt-get remove python-obspy

(An old description for how to build your own packages from tagged versions from pypi can be found here.)