技术在于专研
分类: LINUX
2007-04-14 13:07:15
RedHat Linux上安装 -------------------------------------------------------------------------------- 在RedHat Linux上安装: 用二进制包在类UNIX系统上安装Python很容易,你只需到下的rpms/目录中去下载你所需的版本既可。下面是一个下载安装例子: localhost:~$ su - Password: [enter your root password] [root@localhost root]# wget Resolving python.org... done. Connecting to python.org[194.109.137.226]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7,495,111 [application/octet-stream] ... [root@localhost root]# rpm -Uvh python2.3-2.3-5pydotorg.i386.rpm Preparing... ########################################### [100%] 1:python2.3 ########################################### [100%] 好了,你已成功安装了Python,要启动它只需如下即可: [root@localhost root]# python2.3 Python 2.3 (#1, Sep 12 2003, 10:53:56) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits", or "license" for more information. >>> -------------------------------------------------------------------------------- | ||||||
|