You are here: Partenza > Dive Into Python > Installare Python > Python su RedHat Linux | << >> | ||||
Dive Into PythonPython per programmatori esperti |
L'installazione su sistemi operativi UNIX-compatibili come Linux è facile se avete intenzione di installare un pacchetto binario. Pacchetti binari precompilati sono disponibili per molte popolari distribuzioni Linux. Potete comunque sempre compilare dai sorgenti.
Per installare su RedHat Linux, avete bisogno di scaricare l'RPM da http://www.python.org/ftp/python/2.3.2/rpms/ ed installarlo con il comando rpm.
localhost:~$ su - Password: [enter your root password] [root@localhost root]# wget http://python.org/ftp/python/2.3/rpms/redhat-9/python2.3-2.3-5pydotorg.i386.rpm 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%] [root@localhost root]# python Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2 Type "help", "copyright", "credits", or "license" for more information. >>> [press Ctrl+D to exit] [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. >>> [press Ctrl+D to exit] [root@localhost root]# which python2.3 /usr/bin/python2.3
<< Python su Mac OS 9 |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
Python su Debian GNU/Linux >> |