linux-bash: apt-get: command not found
bash: apt-get: command not found
·
linux-bash: apt-get: command not found
apt-get: command not found,这个的出现是因为系统的原因。
Linux系统分为两种:
- RedHat系列:Redhat、Centos、Fedora等
- Debian系列:Debian、Ubuntu等
RedHat系列的包管理工具是 yum
Debian系列的包管理工具是 apt-get
查看系统版本:
cat /proc/version
Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018
可以看出我的系统是Red hat 所以使用的包管理工具是yum
更多推荐
已为社区贡献1条内容
所有评论(0)