+ -
当前位置:首页 → 问答吧 → yum安装sudo的问题 ?

yum安装sudo的问题 ?

时间:2011-08-06

来源:互联网


[root@bogon CentOS]# yum install sudo
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
   libxml2.so.2: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Sep  3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq

老师 看看 是什么问题?

作者: szak520   发布时间: 2011-08-06

先下载的python安装包然后再尝试安装yum,因为yum是用python写的

作者: 李明   发布时间: 2011-08-06

要不要把yum先卸载掉 然后安装python安装包

作者: szak520   发布时间: 2011-08-06

安装的时候需不需要c或者c++ 的编译环境??

作者: szak520   发布时间: 2011-08-06

相关阅读 更多