Install scons in linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.