Package manager / Package management system 详解

1. What is Package

Insert picture description here

What is archive file again:

Insert picture description here

 
 

2. What is Package manager

Insert picture description here
 

2.1 What are the common package managers

Insert picture description here
 

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:
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
 

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
Insert picture description here
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

Insert picture description here
It can be seen that the two concepts are not the same at all.

 
 
 

3. What is Software repository

Insert picture description here

3.1 What software repositories are classified by programming language

Insert picture description here

3.2 What kind of repository managers are there

Insert picture description here

Reference source: WiKipedia

Guess you like

Origin blog.csdn.net/chenzz444/article/details/104980469