Linux系统分为两种:
1.RedHat系列:Redhat、Centos、Fedora等
2.Debian系列:Debian、Ubuntu等
RedHat系列的包管理工具是yum,Debian系列的包管理工具是apt-get,
如果在RedHat系列里使用 apt-get 就会出现 apt-get: command not found,反之亦然,
使用 cat /proc/version 查看系统所属系列, 使用对应的包管理工具。
使用 apt-get 安装软件包时,如果出现 Unable to locate package xxx,可以使用 apt-get update 进行软件包源更新一下,随后继续安装。