Skip to content
Pierre Vignéras edited this page Nov 23, 2011 · 4 revisions

Installation, setup and uninstallation

Currently, the sequencer is not part of any distribution repository: neither RedHat/Fedora nor Debian/Ubuntu nor Gentoo/Sabayon nor any others. If you are a packager for such a distribution, you may contact us.

Installing the sequencer is done using the python standard setup.py method.

With easy_install (standard case for normal users):

Stable releases of the sequencer are best installed via pip or easy_install since dependencies will be taken into account. We recommend using the latest stable version of the sequencer.

As root:

# easy_install --record ~/sequencer.installed_files sequencer

As a normal user:

$ easy_install --user  --record ~/sequencer.installed_files  sequencer

Using the tarball (for packagers mostly):

Alternatively, you may download the latest tarball from https://github.com/pv-bull/sequencer/downloads

Untar it:

$ tar xvf sequencer-x.y.z.tar.gz -C /tmp

Install it (as a normal user here):

$ cd /tmp/sequencer-x.y.z
$ python setup.py install --user  --record ~/sequencer.installed_files

At that stage, you should have a new command called 'sequencer'. Check its version:

$ sequencer -V
sequencer 1.6.1
Copyright (C) 2009  Bull S. A. S.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Pierre Vignéras
$

If you have installed the package as a normal user (using --user), binaries are installed in ~/.local/bin. You might update your PATH before executing the command:

$ export PATH=~/.local/bin:$PATH
$ sequencer -V

The sequencer is provided with various UNIX man pages. Unfortunately, we have not been able to find a clean way of installing UNIX man pages using the python installer. If you have any idea, please let us know.

For the moment (unless a packager provides a package for your distribution), to access sequencer man pages update the MANPATH:

$ export MANPATH=$MANPATH:$(find /lib*/python* /usr/lib*/python* ~/.local/lib*/python* -path '*sequencer-*/doc/man' 2>/dev/null)

The sequencer API documentation is available using the standard pydoc command:

$ pydoc sequencer

Then you may try the Tutorial to grasp what the sequencer can do for you.

To uninstall the sequencer, remove all the files that were previously installed and that was recorded into the file ~/sequencer.installed_files:

$ rm $(cat ~/sequencer.installed_files)

You may also remove the sequencer configuration directory:

$ rm -rf ~/.sequencer

or if the sequencer has been installed system wide:

# rm -rf /etc/sequencer

Clone this wiki locally