User Tools

Site Tools


install

This is an old revision of the document!


Download and install

Download the source

The source can be downloaded from repo.cz: http://repo.or.cz/w/oscopy.git

To download it:

$ git clone git://repo.or.cz/oscopy.git

And to use experimental branch

$ cd oscopy
$ git pull git://repo.or.cz/oscopy.git experimental

Building and installing from source

Dependencies

Dependencies for building:

  • autoconf
  • gettext
  • intltool >= 0.41.0

Dependencies for execution:

  • python
  • python-gtk
  • ipython > 0.13
  • python-numpy
  • python-matplotlib
  • python-dbus
  • python-xdg

Debian

Tested on stable (squeeze) and unstable (sid). Will not install on stable due to default release ipython 0.10.

  • Install git, autotools and related packages:
# apt-get git autoconf gettext intltool python-gtk2-dev
  • Install oscopy
$ cd oscopy

$ ./autogen.sh && ./configure && make install

Ubuntu

Tested on Ubuntu 12.10 Quantal Quetzal

  • Install git, autotools and related packages:
$ sudo apt-get install git autoconf gettext intltool python-gtk2-dev 
  • Install oscopy dependencies:
$ sudo apt-get install ipython python-matplotlib 
  • Optional: to execute demo.oscopy script install geda and gnucap
$ sudo apt-get install geda gnucap 
  • Install oscopy (once cloned from git repo)
$ cd oscopy

$./autogen.sh && ./configure && make install

Fedora

Tested on Fedora 18

  • Install git, autotools and related packages (maybe needed to run the command twice ?)
# yum install git autoconf gettext intltool pygtk2-devel gcc
  • Install oscopy dependencies:
# yum install ipython dbus-python 
  • Optional: to execute demo.oscopy script install geda and gnucap
# yum install geda-gaf gnucap 
  • Install oscopy (once cloned from git repo)
$ cd oscopy

$./autogen.sh && ./configure && make install

Note that in Fedora 18 default geda-gaf and gnucap appear to be very old version and might not run demo/demo.scopy correctly.

Additional notes

Note that you might need to update your PYTHONPATH, for example if you install it in ${HOME}/geda, to launch oscopy you might need the following line:

PYTHONPATH=${HOME}/geda/lib/python2.X/site-packages:$PYTHONPATH

To use gschem integration, you will need to use the same –prefix that you used to install gschem.

install.1366148465.txt.gz · Last modified: 2013/04/16 21:41 by arnaud