Linux 中包管理工具 yum 和 apt-get 的用法与区别

linux系统基本可分为两个系列:

RedHat系列:Redhat、Centos、Fedora等

Debian系列:Debian、Ubuntu等

RedHat 系列
1 常见的安装包格式 rpm包,安装rpm包的命令是“rpm -参数”
2 包管理工具 yum
3 支持tar包

安装:yum install
卸载:yum remove
更新:yum update

Debian系列
1 常见的安装包格式 deb包,安装deb包的命令是“dpkg -参数”
2 包管理工具 apt-get
3 支持tar包

安装:apt-get install
卸载:apt-get remove
更新:apt-get update

发布了48 篇原创文章 · 获赞 29 · 访问量 9807

猜你喜欢

转载自blog.csdn.net/flyconley/article/details/102620224