{"id":19881,"date":"2023-07-19T06:29:29","date_gmt":"2023-07-19T06:29:29","guid":{"rendered":"https:\/\/linuxways.net\/?p=19881"},"modified":"2023-07-19T06:29:29","modified_gmt":"2023-07-19T06:29:29","slug":"what-package-manager-does-debian-12-use","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/what-package-manager-does-debian-12-use\/","title":{"rendered":"What Package Manager Does Debian 12 Use?"},"content":{"rendered":"<p>Debian 12 which is also known as Debian Bookworm and is a very popular Linux Distribution, offers stability, a vast software repository, and security.<\/p>\n<p>Just like any other Linux Distribution, Debian 12 also utilizes a package manager its manage the packages and their installation, management, and removal of any packages. That package manager is known as the APT (Advanced Package Tool) manager.<\/p>\n<h2><strong>Understanding APT package manager<\/strong><\/h2>\n<p>APT, which is an abbreviation of Advanced Package Tool, is by default the package manager for Debian 12 just like many other Linux distributions. It is a command-line-based tool that allows and offers us a convenient way to handle our software packages on Debian.<\/p>\n<p>It is designed to simply streamline the package management tasks like upgrading, updating, installation, and removal of software.<\/p>\n<h3><strong>Features of APT package manager<\/strong><\/h3>\n<p>This package manager offers several key features that make this one an efficient and reliable package manager.<\/p>\n<p>The APT package manager is great at managing the dependencies and also ensuring that all the needed packages are installed and upgraded when we install new software. It handles the complex dependencies chains on its own.<\/p>\n<p>It also caches the downloaded packages locally which reduces the need to re-download any package again in the system. This caching mechanism allows the users to install the packages even when there is no internet connection.<\/p>\n<p>APT also ensures the package&#8217;s integrity and authenticity with the help of digital signatures. This ensures that the packages we have installed in our system originate from the trusted source and they have not been tampered with.<\/p>\n<h2><strong>How to use APT Package Manager?<\/strong><\/h2>\n<p>It is really simple to use this package manager. To update any package in Debian, we simply need to use the apt<strong> update <\/strong>command.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"879\" height=\"602\" class=\"wp-image-19882\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-1.png 879w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-1-300x205.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-1-768x526.png 768w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/p>\n<p>To install any package with APT package manager, we use the command <strong>apt install and <\/strong>after that the package name<strong>. <\/strong>Let\u2019s have an example of <strong>APT <\/strong>package manager.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">&nbsp;<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"597\" class=\"wp-image-19883\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-2.png 845w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-2-300x212.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-2-768x543.png 768w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/p>\n<p>Just like the installation, we can also remove any package with the APT package manager. For example, if we want to remove Vim from our system, we just need to use the apt<strong> remove <\/strong>command.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt remove <span class=\"kw2\">vim<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"584\" class=\"wp-image-19884\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-3.png 803w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-3-300x218.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-3-768x559.png 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/p>\n<h2><strong>Are there any other Package Managers available for Debian 12?<\/strong><\/h2>\n<p>This is a very valid question to answer as there are a lot of other package managers available out there. So can we use any of them?<\/p>\n<p>Well, the following are the package managers that we can use in our Debian 12 along with the APT Package Manager.<\/p>\n<ul>\n<li>dpkg<\/li>\n<li>aptitude<\/li>\n<li>synaptic<\/li>\n<li>tasksel<\/li>\n<li>other package management tools<\/li>\n<\/ul>\n<p>Sometimes we want to get a wide range of free packages in our system. And it is very common not to find those free packages in the APT package manager. That is why we can install other package managers in our Debian 12 as well.<\/p>\n<h2><strong>How to Install Other Package Manager in Debian 12?<\/strong><\/h2>\n<p>It is really simple to install other package managers that don&#8217;t come pre-installed or by default. For example:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> synaptic<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"868\" height=\"607\" class=\"wp-image-19885\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-4.png 868w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-4-300x210.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-4-768x537.png 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/p>\n<p>After that, we can search for it in our Debian 12.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1274\" height=\"716\" class=\"wp-image-19886\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-5.png 1274w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-5-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-5-1024x575.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-5-768x432.png 768w\" sizes=\"auto, (max-width: 1274px) 100vw, 1274px\" \/><\/p>\n<p>Hit enter and launch it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"653\" class=\"wp-image-19887\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-6.png 948w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-6-300x207.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-6-768x529.png 768w\" sizes=\"auto, (max-width: 948px) 100vw, 948px\" \/><\/p>\n<p>So this is how we can install a synaptic package manager in our Debian 12.<\/p>\n<p>Let&#8217;s see how we can install aptitude before we conclude our article. To install the aptitude package manager, use the following command.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> <span class=\"kw2\">aptitude<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"623\" class=\"wp-image-19888\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-7.png 837w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-7-300x223.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-19881-7-768x572.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>With APT package manager, the user has access to very powerful tools that offer different features like package installation, update and upgrade, package removal, and package search.<\/p>\n<p>Other than the APT, we can also use other package managers to download and install many free packages in our Debian. These Package managers also offer convenient ways for the user to manage the packages in Debian 12 Bookworm.<\/p>","protected":false},"excerpt":{"rendered":"<p>Debian 12 comes with an APT package manager pre-installed in it. Other than that, many other package managers can also be installed on it <\/p>","protected":false},"author":110,"featured_media":19889,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-19881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/19881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=19881"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/19881\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/19889"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=19881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=19881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=19881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}