Installing SCons From Pre-Built Packages

SCons User Guide 0.98.0
Prev | Chapter 1. Building and Installing SCons | Next

# 1.2. Installing SCons From Pre-Built Packages

SCons comes pre-packaged for installation on a number of systems, including Linux and Windows systems. You do not need to read this entire section, you should only need to read the section appropriate to the type of system you're running on.

## 1.2.1. Installing SCons on Red Hat (and Other RPM-based) Linux Systems

SCons comes in RPM (Red Hat Package Manager) format, pre-built and ready to install on Red Hat Linux, Fedora Core, or any other Linux distribution that uses RPM. Your distribution may already have an SCons RPM built specifically for it; many do, including SuSe, Mandrake and Fedora. You can check for the availability of an SCons RPM on your distribution's download servers, or by consulting an RPM search site like http://www.rpmfind.net/ or http://rpm.pbone.net/.

If your Linux distribution does not already have a specific SCons RPM file, you can download and install from the generic RPM provided by the SCons project. This will install the SCons script(s) in `/usr/bin`, and the SCons library modules in `/usr/lib/scons`.

To install from the command line, simply download the appropriate `.rpm` file, and then run:

            # rpm -Uvh scons-0.96-1.noarch.rpm

Or, you can use a graphical RPM package manager like gnorpm. See your package manager application's documention for specific instructions about how to use it to install a downloaded RPM.

## 1.2.2. Installing SCons on Debian Linux Systems

Debian Linux systems use a different package management format that also makes it very easy to install SCons.

If your system is connected to the Internet, you can install the latest official Debian package by running:

            # apt-get install scons

## 1.2.3. Installing SCons on Windows Systems

SCons provides a Windows installer that makes installation extremely easy. Download the `scons-0.95.win32.exe` file from the SCons download page at http://www.scons.org/download.html. Then all you need to do is execute the file (usually by clicking on its icon in Windows Explorer). These will take you through a small sequence of windows that will install SCons on your system.

Prev | Home | Next
Building and Installing SCons | Up | Building and Installing SCons on Any System