Install Schevo on Ubuntu¶
Below, we describe in detail how to install Schevo for Ubuntu Linux and other Debian-based Linux distributions. The instructions have been tested on the following operating systems:
- Ubuntu Linux 6.10
- Ubuntu Linux 7.04
- Debian Linux 9 (stretch)
Users of other UNIX-derived or UNIX-like operating systems not listed above can use this document as a guideline.
Mac users, see Install Schevo on Mac OS X.
Notes on running Python¶
With Debian 9, or any Linux distribution that uses Python 2.7 as the default Python, run python
when invoking Python as per the directions below.
With Ubuntu 7.04, or any Linux distribution that uses Python 2.5 as
the default Python, run python2.5
when invoking Python as per
the directions below.
With Ubuntu 6.10, or any Linux distribution that uses Python 2.4 as
the default Python, run python2.5
when invoking Python as per the
directions below.
Install Python packages¶
Run the following in a terminal to install the required Python packages and compiler tools:
$ sudo aptitude install build-essential python2.7 python2.7-dev
If you do not have administrator privileges, request to have them installed (or the equivalents on the operating system you are using).
Download workingenv and set up an environment for Schevo¶
Download workingenv.py to your home directory.
If it doesn’t exist, create a directory named
env
in your home directory using a terminal or your favorite file manager.In a terminal, create the environment:
$ python ~/workingenv.py ~/env/schevo
Activate the Schevo environment¶
In a terminal, run these commands to activate the Schevo environment and change to its source directory:
$ source ~/env/schevo/bin/activate
You’ll see (schevo)
added to your prompt. Repeat this section
every time you want to access the schevo
working environment.
Installing Schevo¶
In a command prompt, use pip to install the latest release of Schevo:
pip install libschevo
Alternatively, you can use hg to clone the most recent source code:
hg clone https://bitbucket.org/tkadm30/libschevo libschevo
What to do after Schevo is installed¶
Take a tour by choosing one of the Schevo tutorials.