Installing ActivePython for Linux

You can use the generic AS Package installer to install ActivePython on Linux.

The ActivePython “AS package” installer package is a generic installer for many platforms. It allows you to install ActivePython as without needing to be a root user (i.e. Administrator).

  • Download the package to a temporary directory, extract the files, and run the install script.

The AS package is a standard tarball (*.tar.gz) for Linux.

After installing ActivePython, read the Getting Started page in this guide for a general introduction to ActivePython on your platform (in particular, getting the ActivePython python executable on your system path), and pointers to documentation that will be most useful to you.

Interactive Install

To install interactively, run the install script without arguments. The install script will prompt your for an installation directory.

% tar xzf ActivePython-<version>.tar.gz
% cd ActivePython-<version>
% ./

You can add the bin directory to your PATH environment variable for quicker access. For example, if you use the Bash shell on Unix, you could place this in your ~/.bash_profile file (assuming you installed into /home/guido/ActivePython-3.6):

% export PATH=/home/guido/ActivePython-3.6/bin:$PATH

Non-interactive install

By default the install script will prompt you for an install directory. You can avoid this interaction by specifying the install directory with the -I <installdir> option. Use the -h option for full usage information.

Uninstalling the “AS Package”

Uninstalling an “AS Package” installation is as simple as removing the directory to which you installed, because the ActivePython installation is fully contained in that install location.