我已经使用这个命令安装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