Linux system classification & yum & apt-get

1. Linux systems can be divided into two categories:

1. RedHat series: RedHat, Centos, Fedora, etc.
2. Debian series: Debian, Ubuntu, etc.

2. Package management

RedHat series
Package format: rpm, command format: rpm - parameter
Advanced package management tool: yum
supports tar package

Debian series
Package format: deb, command format: dpkg -parameter
Advanced package management tool: apt-get
supports tar packages

Three, the difference

tar is just a compressed file format, so it just compresses and packs files. When installing software, the tar package is usually a source code package, which needs to be compiled and installed after downloading. 

Rpm is a software package management mechanism of redhat company. It can directly perform operations such as installation and deletion through the rpm command. The biggest advantage is that it automatically handles the possible dependencies of various software packages internally. Rpm is generally a pre-compiled file, which may have been bound to a certain CPU or distribution. 

Guess you like

Origin blog.csdn.net/tales522/article/details/131097961