Raspberry Pi_Eng_17.2.1 Overview of the Package Management Tool


Published Book on Amazon


All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1
All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2

출판된 한글판 도서


최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)
최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)

Original Book Contents


17.2   Package Management Tool

 

17.2.1  Overview of the Package Management Tool

 

There are several tools for managing packages in Debian. All of these management tools have features, so you can choose the one that suits your needs.

 

These management tools can be classified into various types according to their characteristics. First, it can be divided into several layers according to the processing function and complexity level of the package management tool:

   Low-level tool

This layer of tools is the closest to the system, and although it has many features that can handle all the functions of the system, it has the features that is is very complex and difficult to use. Tools like "dpkg" fall into this category.

 

   Mid-level tool

This layer of tools, in order to solve the difficulties of using low-level tools, has the functions that simplifiy the format of commands based on frequently used tasks, integrate various tasks required for package management and handle them at once, and process each other consistently to avoid problems.

 

Running these tools actually runs low-level tools internally like "dpkg". APT tools such as "apt" and "apt-get" fall into this category.

 

   High-level tool

This layer of tools has features that simplify commands to make them easier to use than the mid-level tools, and allow a single command to do several things at once.

 

Running these tools actually runs internally APT-based mid-level tools and low-level tools such as "dpkg". Tools such as "aptitude" fall into this category.

 

According to GUI support among the features of package management tool, it can be divided into GUI method and CLI method:

   Front-end to support GUI

These tools are tools that support the GUI. It has the advantage of being able to process all commands in GUI manner like window so that users can use them easily. However, there may be some weaknesses in performing complex, detailed functions.

 

These include the following tools:

    Aptitude   -- Supports both full-screen console mode and CLI mode. This is "apt" friendly front-end and is able to replace "apt-get" when used on the command line.

    DSelect   -- Is an older "apt" front-end, and is no longer recommended.

    Adept    -- Is a decent GUI-based front end that supports a few special options.

    Synaptic  -- Is another GUI-based front end.

    Other tools

 

   Front end to support CLI

These tools are all CLI-like tools for executing commands. Therefore, it is inconvenient to input all commands as Text characters. However, it has the advantage that it can handle all the functions provided by the system and perform detailed and complex functions.

 

These include the following tools:

    dpkg

    apt

    apt-get