首页 > 代码库 > linux python安装

linux python安装

1、下载源代码 http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz2

2、

    $ tar –jxvf Python-2.5.2.tar.bz2

  $ cd Python-2.5.2

  $ ./configure

  $ make

  $ make install
3. 测试

  在命令行下输入python,出现python解释器即表示已经正确安装。