centos中执行apt-get问题

在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 支持tar包
————————————————
原文链接:https://blog.csdn.net/lydong_/article/details/79812694

原文地址:https://www.cnblogs.com/trimphNuan/p/12797039.html