1. What is Package
What is archive file again:
2. What is Package manager
2.1 What are the common package managers
Some package managers developed earlier are at the bottom of the package management system, and are the bottom of many upper (upstream) package managers. Therefore, the format of some packages is named after the abbreviations of these underlying (backend) package managers, so the abbreviations of these package managers are sometimes the suffix (extension) of the corresponding package. Very typical are .rpm packages and .deb packages. The package managers of these packages are RPM and dpkg respectively.
The following figure shows some examples:
2.2 Different ways of installing packages: compiled binary form / uncompiled source code form
Take the package with the suffix .rpm as an example: It
can be seen that BRPMs are downloaded and compiled binary installation packages, which can be used directly without compiling after installation, while the SRPMs in the form of uncompiled source code The installation package cannot be directly used by us before it is compiled into binary form by the compiler.
2.3 The difference between package manager and program installer
It can be seen that the two concepts are not the same at all.
3. What is Software repository
3.1 What software repositories are classified by programming language
3.2 What kind of repository managers are there
Reference source: WiKipedia