aptitude
Aptitude is a command-line tool used for package management in Debian-based Linux distributions, such as Ubuntu. It is a high-level interface to the Advanced Packaging Tool (APT), which allows users to interact with the package management system. Aptitude provides a more user-friendly and intuitive way to manage packages compared to the lower-level APT commands. It offers a text-based interface with menus and options for searching, installing, upgrading, and removing packages. Aptitude also features dependency resolution, ensuring that all required dependencies are installed when a package is selected. It supports multiple package sources and allows users to perform actions on multiple packages simultaneously. Aptitude keeps track of installed packages and automatically resolves conflicts and inconsistencies. It also offers various command-line options and customization configurations to tailor the tool to specific needs. Overall, Aptitude is a powerful and efficient tool for package management in Debian-based systems, providing users with an easy and convenient way to handle their software installations and upgrades.
List of commands for aptitude:
-
aptitude:tldr:213ee aptitude: Install a new package and its dependencies.$ aptitude install ${package}try on your machineexplain this command
-
aptitude:tldr:23438 aptitude: Search for a package.$ aptitude search ${package}try on your machineexplain this command
-
aptitude:tldr:2b713 aptitude: Put an installed package on hold to prevent it from being automatically upgraded.$ aptitude hold '?installed(${package})'try on your machineexplain this command
-
aptitude:tldr:7c95e aptitude: Remove a package and all packages depending on it.$ aptitude remove ${package}try on your machineexplain this command
-
aptitude:tldr:9ea23 aptitude: Search for an installed package (`?installed` is an aptitude search term).$ aptitude search '?installed(${package})'try on your machineexplain this command
-
aptitude:tldr:ce170 aptitude: Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands.$ aptitude updatetry on your machineexplain this command
-
aptitude:tldr:e2900 aptitude: Upgrade installed packages to the newest available versions.$ aptitude upgradetry on your machineexplain this command