Install scons in linux is an automated building tool written in Python. It can run only after python and scons are installed. Its integration function is similar to autoconf/automake and is a simple and reliable tool. Many systems now have python, so install scons directly. Install scons 1. prepare to check whether there is a python command on the system: install sudo apt-get install scons 3 on python-V or python -- version 2 ipvtn on Red Hat www.2cto.com and use Red Hat Package Manager in Red Hat Linux, in Fedora or any other Linux releases, SCons is in pre-compiled RPM format and is ready for installation. Your release may already contain a pre-compiled SCons RPM. If your release supports yum installation, run the following command to install SCons: # yum install scons. If your Linux release does not contain a specific SCons RPM file, you can download the General RPM (: http://www.scons.org/download.php) provided by the SCons project to install it ). This will install the SCons script to the/usr/bin directory, and install the SCons library module (library modules) to/usr/lib/scons. Install and download from the command line. rpm file, then run: # rpm-Uvh scons-2.2.0-1.noarch.rpm 4 compile and install scons in any system if your system does not have a pre-compiled scons package, you can use the local python distutils package to easily compile and install SCons. Download scons-2.2.0.tar.gz (note that it depends on Python version 2.5 or above, the following is attached Python installation) unzip the downloaded file, will create a directory named scons-2.2.0, enter this directory to execute the following command to install scons: # cd scons-2.2.0 # python setup. py install this will compile SCons, install the scons script to the python directory (/usr/local/bin ), the SCons compilation engine is installed in the library directory (/usr/local/lib/scon) used by python ). You may need root permissions during installation. Appendix: www.2cto.com Python: If the http://www.python.org/getit/ directly overwrites the original version, execute the following command: tar-zxvf Python-2.7.3.tgzcd Python-2.7.3./configuremakemake install