社区
系统维护与使用区
帖子详情
为什么Centos装上以后,执行apt-get命令提示没有该命令?
999朵玫瑰
2010-03-29 01:42:36
下载地址是:CentOS5.4 http://isoredirect.centos.org/centos/5/isos/i386/
装好以后,执行
# apt-get install gcc
bash: apt-get: command not found
怎么回事呢?
...全文
115490
8
打赏
收藏
为什么Centos装上以后,执行apt-get命令提示没有该命令?
下载地址是:CentOS5.4 http://isoredirect.centos.org/centos/5/isos/i386/ 装好以后,执行 # apt-get install gcc bash: apt-get: command not found 怎么回事呢?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
8 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
SleepingBug
2012-11-23
打赏
举报
回复
感谢steptodream !我也遇到此问题!
xhao014
2012-03-22
打赏
举报
回复
呵呵,现在都知道了。YUM
学渣中的战斗机
2010-07-14
打赏
举报
回复
终于有人解开这个菜鸟的谜团。。。哈哈
999朵玫瑰
2010-03-29
打赏
举报
回复
谢谢了
steptodream
2010-03-29
打赏
举报
回复
[Quote=引用 3 楼 onlyonelove 的回复:]
引用 1 楼 steptodream 的回复:
CentOS的软件安装工具不是apt-get 是yum
# yum -y install gcc
在ubuntu下安装SSH可以:
apt-get install openssh-server
就是说在centos上可以这样来安装ssh:
# yum -y install op
enssh-server
[/Quote]
yes
999朵玫瑰
2010-03-29
打赏
举报
回复
[Quote=引用 1 楼 steptodream 的回复:]
CentOS的软件安装工具不是apt-get 是yum
# yum -y install gcc
[/Quote]在ubuntu下安装SSH可以:
apt-get install openssh-server
就是说在centos上可以这样来安装ssh:
# yum -y install openssh-server
steptodream
2010-03-29
打赏
举报
回复
最好一起把g++也装上
# yum -y install gcc gcc-c++ libstdc++-devel
steptodream
2010-03-29
打赏
举报
回复
CentOS的软件安装工具不是apt-get 是yum
# yum -y install gcc
为什么
Centos
装上
以后
,
执行
apt-get
命令
提示
没有
该
命令
CentOS
的软件安装工具不是
apt-get
是yum # yum -y install 你要安装的文件
centos
中
执行
apt-get
命令
提示
apt-get
command not found
在
centos
下应该用yuminstallxxxyum和
apt-get
的区别 一般来说著名的linux系统基本上分两大类: 1.RedHat系列:Redhat、
Centos
、Fedora等 2.Debian系列:Debian、Ubuntu等 RedHat系列 1常见的安装包格式rpm包,安装rpm包的
命令
是“rpm-参数” 2包管理工具yum 3支持tar包 D...
centos
7中
执行
apt-get
命令
提示
apt-get
command not found
在
centos
下应该用yum install xxx yum和
apt-get
的区别 一般来说著名的linux系统基本上分两大类: 1.RedHat系列:Redhat、
Centos
、Fedora等 2.Debian系列:Debian、Ubuntu等 RedHat 系列 1 常见的安装包格式 rpm包,安装rpm包的
命令
是“rpm -参数” 2 包管理工具 yum 3 支持tar包 Debian系列 1 常见的安装包格式 deb包,安装deb包的
命令
是“dpkg -参数” 2 包管理工具
apt-get
3 支
liunx
执行
apt -get
命令
提示
找不到
命令
*今天用liunx安装软件包
执行
apt -get
命令
提示
找不到
命令
如下: 我突然想到我用的是
CentOS
的软件安装 所以不是
apt-get
命令
是yum
命令
# yum -y install firefox...
执行
apt-get
命令
提示
没有
该
命令
下载地址是:
CentOS
5.4 http://isoredirect.
centos
.org/
centos
/5/isos/i386/ 装好
以后
,
执行
#
apt-get
install gcc bash:
apt-get
: command not found 怎么回事呢? http://topic.csdn.net/u/20100329/13/37e829ec-ac3a-44da-
系统维护与使用区
19,615
社区成员
74,562
社区内容
发帖
与我相关
我的任务
系统维护与使用区
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
复制链接
扫一扫
分享
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章