linux 下 没有aptitude,也没有 apt-get。

subin8 2012-04-05 10:32:24
linux 下 aptitude: command not found

系统没有aptitude,也没有 apt-get:。


我该怎么弄?

怎么安装aptitude
...全文
1569 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
昨日凡阳 2012-04-06
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 的回复:]

经过google 翻译我搞定了这个问题。。。。 是python的版本问题
[/Quote]
ok
subin8 2012-04-06
  • 打赏
  • 举报
回复
经过google 翻译我搞定了这个问题。。。。 是python的版本问题
jlfzhz 2012-04-05
  • 打赏
  • 举报
回复
看看centos用户手册,很快就会明白如何安装软件。
昨日凡阳 2012-04-05
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 的回复:]

Java code


[root@vps1048572 ~]# yum install zlib-devel
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

P……
[/Quote]
你os版本太低了吧
subin8 2012-04-05
  • 打赏
  • 举报
回复


[root@vps1048572 ~]# yum install zlib-devel
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

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.5.2 (r252:60911, Apr 5 2012, 15:11:50)
[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


[root@vps1048572 ~]#



。。。。能帮解决下么
昨日凡阳 2012-04-05
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 的回复:]

引用 1 楼 的回复:

你是linux是什么版本?不同版本提供的命令不一样。
apt-get是ubuntu的

嗯,我是菜鸟
Assembly code
Linux version 2.6.18-164.6.1.el5xen (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-4……
[/Quote]

你是centos,redhat系列。默认是没有apt-get的,这个事ubuntu的debian系列的默认工具。centos中有yum。 yum install
subin8 2012-04-05
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

你是linux是什么版本?不同版本提供的命令不一样。
apt-get是ubuntu的
[/Quote]
嗯,我是菜鸟
Linux version 2.6.18-164.6.1.el5xen (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue Nov 3 17:53:47 EST 2009
李迟 2012-04-05
  • 打赏
  • 举报
回复
你是linux是什么版本?不同版本提供的命令不一样。
apt-get是ubuntu的

19,619

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧