Installation

structa is distributed in several formats. The following sections detail installation on a variety of platforms.

Ubuntu Linux

For Ubuntu Linux, it is simplest to install from the author’s PPA as follows (this also ensures you are kept up to date as new releases are made):

$ sudo add-apt-repository ppa://waveform/ppa
$ sudo apt update
$ sudo apt install structa

If you wish to remove structa:

$ sudo apt remove structa

Microsoft Windows

Firstly, install a version of Python 3 (this must be Python 3.5 or later), or ensure you have an existing installation of Python 3.

Ideally, for the purposes of following the Getting Started you should add your Python 3 install to the system PATH variable so that python can be easily run from any command line.

You can install structa with the “pip” tool like so:

C:\Users\me> pip install structa

Upgrading structa can be done via pip too:

C:\Users\me> pip install --upgrade structa

And removal can be performed via pip:

C:\Users\me> pip uninstall structa

Other Platforms

If your platform is not covered by one of the sections above, structa is available from PyPI and can therefore be installed with the Python setuptools “pip” tool:

$ pip install structa

On some platforms you may need to use a Python 3 specific alias of pip:

$ pip3 install structa

If you do not have either of these tools available, please install the Python setuptools package first.

You can upgrade structa via pip:

$ pip install --upgrade structa

And removal can be performed as follows:

$ pip uninstall structa