1. Problem description
The error message is: sudo: apt-get: command not found
2. Problem cause and solution
Using yum install xxx under centos
The difference between yum and apt-get
Generally speaking, well-known linux systems are basically divided into two categories:
1. RedHat series: Redhat, Centos, Fedora, etc.
2. Debian series: Debian, Ubuntu and other
RedHat series
1 Common installation package format rpm package, the command to install rpm package is "rpm - parameter"
2 Package management tool yum
3 Support tar package
Debian series
1 Common installation package format deb package, the command to install deb package is "dpkg - parameter" ”
2 Package management tool apt-get
3 Support tar package