我已經使用這個命令安裝python27在我的CentOS 6.6系統:yum在CentOS 6.6上安裝python在哪裏?
% yum install python27
安裝了臺,但我找不到python27可執行文件。這不是在以下地方:
/bin
/usr/bin
/usr/local/bin
運行yum
命令再次告訴我,沒有什麼做的。
[[email protected] bin]$ sudo yum install python27
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.mit.edu
* extras: mirrors.lga7.us.voxel.net
* rpmforge: apt.sw.be
* rpmforge-extras: apt.sw.be
* updates: centos-distro.1gservers.com
Setting up Install Process
Package python27-1.1-25.el6.x86_64 already installed and latest version
Nothing to do
[[email protected] bin]$
python27可以在哪裏?
我沒有看到證據表明它實際上是安裝的,而不是其消息說它已被安裝。有沒有一個步驟可以讓它進入/ usr/bin?
你試過'whereis python'嗎? – kaycee
這是一個很好的命令!但它說: python:/usr/bin/python2.6/usr/bin/python /usr/lib/python2.6 /usr/lib64/python2.6 /usr/include/python2.6/usr/share/man/man1/python.1.gz 沒有提到2.7 –
它應該在那裏:只列出所有的python:ls -ltr/usr/local/bin/pyth * – Destrif