Installing pyexpander

Parts of pyexpander

pyexpander consists of scripts, python modules, documentation and configuration files.

pyexpander is available on pypi, as a debian or rpm package, as a tar.gz and zip file. The following chapters describe how to install pyexpander.

Requirements

pyexpander requires at least Python version 2.5 or newer. It can also run with python 3.

pyexpander is tested on debian and Fedora linux distributions but should run on all linux distributions. It probably also runs on other flavours of unix, probably even MacOS, but this is not tested.

It may run on windows, escpecially the Cygwin environment, but this is also not tested.

Install from pypi with pip

In order to install pyexpander with pip, you use the command [1] [2]:

pip3 install pyexpander
[1]This is the example for python 3, for python 2 the command is “pip”
[2]Your python 3 version of pip may have a different name, e.g. “pip-3” or “pip-3.2”

You find documentation for the usage of pip at Installing Python Modules.

Install from a debian package

There are packages for some of the recent debian versions. In order to see what debian version you use enter:

cat /etc/debian_version

Download the package here:

and install with:

dpkg -i <PACKAGENAME>

The packages may with other debian versions or debian package based distributions like ubuntu, but this is not tested. As a last resort you may always install from source (see Install from source (tar.gz or zip file)) or use the python package manager (pip).

Install from a rpm package

There are packages for some of the recent fedora versions. In order to see what fedora version you use enter:

cat /etc/fedora-release

Download the package here:

and install with:

rpm -ivh  <PACKAGENAME>

The packages may work with other fedora versions or rpm package based distributions like, redhat, scientific linux or opensuse, but this was not tested. As a last resort you may always install from source (see Install from source (tar.gz or zip file)) or use the python package manager (pip).

Install from source (tar.gz or zip file)

You should do this only if it is impossible to use one of the methods described above. You find further information about this method in: