Linux系统错误sudo: apt-get: command not found
墨初 操作系统 13801阅读
上午在centos系统中,使用了一下 apt-get 命令安装软件,发现报错 "apt-get: command not found",主要原国是在centos 系统下只能使用 yum 安装软件而不能使用 apt-get 命令。
linux系统下 yum 和 apt-get 的区别
在著名的linux系统中,基本上分为两大类“RedHat系列”与“Debian系列”!
RedHat系列:Redhat、Centos、Fedora....
Debian系列:Debian、Ubuntu....
RedHat 系列
1 常见的安装包格式 rpm 包,安装 rpm 包的命令是“rpm -参数”
2 包管理工具 yum
3 支持tar包
命令:
sudo apt-get install xxxxx
Debian系列
1 常见的安装包格式 deb 包,安装 deb 包的命令是“dpkg -参数”
2 包管理工具 apt-get
3 支持tar包
命令:
sudo yum install xxxxx