[嵌入式linux] linux不同版本安装命令

[复制链接]
836|0
 楼主| tao180539 发表于 2022-3-19 23:17 | 显示全部楼层 |阅读模式
centos中执行apt-get命令提示apt-get command not found
[backcolor=rgba(255, 255, 255, 0.95)]
先说结论: 在centos下用yum install xxx

yum和apt-get的区别:
一般来说著名的linux系统基本上分两大类:
  • RedHat系列:Redhat、Centos、Fedora等
  • Debian系列:Debian、Ubuntu等
RedHat 系列
  • 常见的安装包格式 rpm包,安装rpm包的命令是“rpm -参数”
  • 包管理工具 yum
  • 支持tar包
Debian系列
  • 常见的安装包格式 deb包,安装deb包的命令是“dpkg -参数”
  • 包管理工具 apt-get
  • 支持tar包

原来是系统原因.涨姿势了.= =



您需要登录后才可以回帖 登录 | 注册

本版积分规则

321

主题

515

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部