Installing ActivePython for Linux/Unix
You can use the generic AS Package installer to install ActivePython on Linux, AIX, HP-UX, Solaris systems.
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 (non-Administrator).
- Download the package to a temporary directory, extract the files, and run the
install.shinstall script. For Unix platforms, glibc-2.3+ is required.
The AS package is a standard tarball (
*.tar.gz) for Linux and other Unix-family systems.
Note: Solaris and HP-UX users must use GNU tar to unpack the tarball, as the default
tar on those platforms will not work. Binary packages of GNU tar are available here:
After installing ActivePython, read the Getting Started page in this guide for a general introduction to ActivePython on your platform (in particular, getting your newly installed
python on your path), and pointers to documentation that will be most useful to you.
To install interactively, run the install script without arguments. The install script will prompt you for an installation directory. On Unix:
% tar xzf ActivePython-<version>.tar.gz % cd ActivePython-<version> % ./install.sh
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
% export PATH=/home/guido/ActivePython-2.7/bin:$PATH
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.