In this article, we are talking about the concept of package manager, which is frequently mentioned in UNIX systems.
As it is known, one of the most important features that distinguishes Linux distributions from each other is package management software. When we say Red Hat’s RPM, Debian’s APT, our list goes on and on… So how do these package managers actually work? What are the differences from each other?
The main purpose of package managers, their software in a safe and practical way is to control. Thanks to these software, you can find what you are looking for in your distribution provider’s software repository. For example, Debian distribution users APT software of Debian to software repositories depends. Most package management software of third party repositories It also allows to be added. In Arch Linux distribution, third party users a repository where they can download software are available.
Package management software, with graphical interface or command prompt based may be. For example, package management software called Synaptic with graphical interface iken, APT command prompt based works; that is, it can be used via a terminal.
Package managers, software specific to Linux or UNIX implementations only is not. Some software, even even programming languages package managers are available. Found in the Python language PIP package manager and in the text editor named Sublime Text “Package Control” (Packet Control) systems can be given as an example. This article describes the package managers found in UNIX implementations, but since the general concept is mostly the same, you good reference it will be.
What is the concept of a package?
To better understand package managers what is the concept of package we need to understand better. Packets, Designed to be understood by package managers archive files. If we explain this definition further; in packages configuration files, as there are sometimes additional requirements additional requirement information and what we want to install on our computer the software itself is found.
Used to install software compiling the source code on your computer or from the internet download that software you had to Compiling source codes troublesome and download from the internet dangerous package managers their own package formats came out with and saved us from this situation.
Nowadays again compiling the application You can choose the path, but this is completely optional. Compiling an application, especially on computers with low technical specifications, depends on the size of the application. it can take too long. Even compiling some applications it can be very complicated because the developer knows how to compile that application. can’t speak properly or other kinds of problems can arise.
How do package managers work, what can they do?
As you have seen developer of the softwareyour software after packing o software package to the warehouse is putting. So our package is a package manager can be controlled via. For example, when our user runs an update command on the system, the packages in the packages that are already in the system metadata with in the package store included in the package metadatalar being compared. These metadata are version information, package name It contains basic information such as. Let’s examine the metadata information of Visual Studio Code with APT package manager.
When you update the package repository information with your package manager, this is actually You update the metadata information. When you download or update later, your package manager will According to metadata information will move. That’s why you have a before downloading package metadata information your update is important. This in APT package manager “sudo apt update” You can do it by running the command.
Apart from these, you can do a little different work with the package manager outside of the normal work. For example, a package updating through system updates you can disable it.
Such interesting features are available in package managers. On the web addresses of the package managers’ manufacturers or on a “help” in your package manager via the command features found you can get help about, for example, in the documentation of the RPM You can reach it from the website. Additionally, you can open a thread in Technopat Social GNU / Linux section.
Different types of package managers
Package managers, packaging systems they are separated from each other but written on the same packaging system. more than one may be the package manager. For example, RPM for system Yum and DNF to package managers, DEB for the system too APT and Aptitude We have alternatives like. Even Synaptic package manager, APT based on because DEB manages files.
In this article, you from package managers and of how they work we talked about You can use the comments section to add to this article, and you can open a topic on Technopat Sosyal to find answers to your questions.
Source: Technopat by www.technopat.net.
*The article has been translated based on the content of Technopat by www.technopat.net. If there is any problem regarding the content, copyright, please leave a report below the article. We will try to process as quickly as possible to protect the rights of the author. Thank you very much!
*We just want readers to access information more quickly and easily with other multilingual content, instead of information only available in a certain language.
*We always respect the copyright of the content of the author and always include the original link of the source article.If the author disagrees, just leave the report below the article, the article will be edited or deleted at the request of the author. Thanks very much! Best regards!