If you run Debian or one of its derivatives like Linux Mint or Ubuntu, sooner or later you come across apt-get and dpkg, the main commands for package management. However, these are only the most common Debian package tools. Over the years, Debian has evolved literally dozens of scripts and tools to make installing and configuring packages easier.
Many of these scripts and tools aid in creating packages. However, many are useful for everyday users, too. Often, they include features you simply won’t find in desktop tools.
Here are nine of the most useful package management tools in Debian. Most should be available in Debian-derivatives as well:
Aptitude is best-known as a text-based tool for package management. Desktop tools may be more in keeping with modern expectations, yet Aptitude remains so useful that it is often installed by default.
Aptitude is also useful when you are trying to fix broken packages that are preventing you from installing or removing anything else. Useful features include the why command, which shows the other packages dependent on a package, and why-not, which shows what packages conflict with the one specified. In addition, the Resolver menu lists possible solutions to broken packages, starting with the least disruptive one.
Apt-cache searches the database of installed packages for information. It can show information about individual packages, dependencies, and conflicts, and much more.
An especially useful command is apt-cache search
, which searches for strings of text in the database. Using this command, you can find the exact name of a package so that you can install it, as well as related packages that you might want to install. In Debian, it is essential enough to be installed by default.
Dpkg-reconfigure alters how packages are installed. For example, you can use it to set what sort of questions you are asked when a package installs, reset the priority of a question, or to force installation even though the package is broken.
Time was when dpkg-reconfigure could be used to configure almost every part of a Debian-based system. As other tools have emerged to configure an installation, much of its versatility has fallen away, yet dpkg- reconfigure can still be used to configure such features as time zones, video drivers, printers, and scanners. Ubuntu deprecates dpkg- reconfigure, but it can still be useful in other Debian-based distributions.
Today, the speed of Internet connections is often fast enough that nobody worries about it. However, the fact remains that some package repositories are faster than others, and that popular ones can slow down during peak hours of usage. Sometimes, too, a high-speed connection is simply unavailable.
For those to whom speed matters, netselect-apt generates a list of the ten fastest mirrors for your location, then writes them to your list of package sources. Apt-spy performs a similar function.
As you probably know, Tor is a tool for anonymous browsing. However, even if you are security conscious, you may not stop to think that downloading packages might allow others to track your activities back to your system.
Apt-transport-tor allows you to close this security gap by routing your package management through Tor.
If you are security conscious, or simply wanting the latest packages, cron-apt can help you keep up to date. As its name implies, cron-apt schedules regular downloads for your system, and notifies you of the available updates. Users tend to update once a day.
However, note that cron-apt downloads but does not install updated packages. This limitation is deliberate, because installing everything unattended can be a good way to cause system problems. After checking what is available, you can install upgraded packages manually, or, if you see no problems, simply with apt-get dist-upgrade.
Usually, you can gauge the reliability of a package simply by whether it is in Debian’s Stable, Testing, or Unstable repository. However, Debian- derivatives often lack this guide, and it always advisable to have the latest information.
Apt-listbugs displays the latest information about a package from the Debian Bug Tracking System. Its results can be filtered by priority, allowing you to choose your level of risk. Running it before installing with apt-get can go a long way towards minimizing problems on your system, especially if you dip into the Unstable or Experimental package repositories.
None of these tools is absolutely essential for Debian package management. Many users get by handily with nothing but apt-get and an occasional venture into dpkg to purge a package from the system or install a manually downloaded package.
However, all are convenient. Used sensible, they can save time and effort, and some can help you avoid common problems. Decide what your needs are, and choose the ones that best suit you.
Huawei’s AI Update: Things Are Moving Faster Than We Think
FEATURE | By Rob Enderle,
December 04, 2020
Keeping Machine Learning Algorithms Honest in the ‘Ethics-First’ Era
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 18, 2020
Key Trends in Chatbots and RPA
FEATURE | By Guest Author,
November 10, 2020
FEATURE | By Samuel Greengard,
November 05, 2020
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 02, 2020
How Intel’s Work With Autonomous Cars Could Redefine General Purpose AI
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 29, 2020
Dell Technologies World: Weaving Together Human And Machine Interaction For AI And Robotics
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 23, 2020
The Super Moderator, or How IBM Project Debater Could Save Social Media
FEATURE | By Rob Enderle,
October 16, 2020
FEATURE | By Cynthia Harvey,
October 07, 2020
ARTIFICIAL INTELLIGENCE | By Guest Author,
October 05, 2020
CIOs Discuss the Promise of AI and Data Science
FEATURE | By Guest Author,
September 25, 2020
Microsoft Is Building An AI Product That Could Predict The Future
FEATURE | By Rob Enderle,
September 25, 2020
Top 10 Machine Learning Companies 2020
FEATURE | By Cynthia Harvey,
September 22, 2020
NVIDIA and ARM: Massively Changing The AI Landscape
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
September 18, 2020
Continuous Intelligence: Expert Discussion [Video and Podcast]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 14, 2020
Artificial Intelligence: Governance and Ethics [Video]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 13, 2020
IBM Watson At The US Open: Showcasing The Power Of A Mature Enterprise-Class AI
FEATURE | By Rob Enderle,
September 11, 2020
Artificial Intelligence: Perception vs. Reality
FEATURE | By James Maguire,
September 09, 2020
Anticipating The Coming Wave Of AI Enhanced PCs
FEATURE | By Rob Enderle,
September 05, 2020
The Critical Nature Of IBM’s NLP (Natural Language Processing) Effort
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
August 14, 2020
Datamation is the leading industry resource for B2B data professionals and technology buyers. Datamation's focus is on providing insight into the latest trends and innovation in AI, data security, big data, and more, along with in-depth product recommendations and comparisons. More than 1.7M users gain insight and guidance from Datamation every year.
Advertise with TechnologyAdvice on Datamation and our other data and technology-focused platforms.
Advertise with Us
Property of TechnologyAdvice.
© 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this
site are from companies from which TechnologyAdvice receives
compensation. This compensation may impact how and where products
appear on this site including, for example, the order in which
they appear. TechnologyAdvice does not include all companies
or all types of products available in the marketplace.