1.2. Installing SCons

The canonical way to install SCons is from the Python Package Index (PyPi):

% python -m pip install scons

If you prefer not to install to the Python system location, or do not have privileges to do so, you can add a flag to install to a location specific to your own account:

% python -m pip install --user scons

SCons comes pre-packaged for installation on many Linux systems Check your package installation system to see if there is an SCons package available. Many people prefer to install distribution-native packages if available, as they provide a central point for management and updating. Some distributions have two SCons packages available, one which uses Python 2 and one which uses Python 3. If you need a specific version of SCons that is different from the package available, pip has a version option or you can follow the instructions in the next section.