Featured

    Featured Posts

aptitude

aptitude is a front-end to the Advanced Packaging Tool (APT) in Debian and Debian-based distributions. This program allows users to view the list of packages and perform package management tasks such as installing, removing or upgrading packages. aptitude has an interactive mode similar to dselect, but it can be also used as a command-line tool, similar to apt-get.
To enter the menu-driven package management interface, type aptitude:
aptitude gui
We will now describe how you can install, remove or upgrade packages using this menu-driven interface.
Install packages
First, press “u” to update the list of packages available for installation. Then, navigate the menu and press “+” to select the packages you wish to install. You can search for a package by pressing the “/” key. After you have selected all the packages you wish to install, press “g” to begin downloading and installing the package files.
For example, here is how we can install nmap using aptitude:
First, we will search for nmap:
aptitude search
Then, we will select the nmap package by pressing the “+” key:
aptitude select for installation
To download and install nmap, press “g“:
aptitude install package
Upgrade packages
First, press “u” to update the list of packages available for installation. Next, press “U” to upgrade all packages which may be upgraded. Press “g” to download and install upgraded package files:
aptitude upgrade packages
Remove packages
Navigate the aptitude menu and press “-” to select the packages you wish to remove. Press “g” to begin removing the packages.
For example, to remove nmap, we would have to find the nmap package and press the “-” key to select it for the removal:
aptitude remove packages
We can then remove nmap by pressing “g“.
You can also pass various commands to aptitude on the command line. aptitude emulates most apt-get command-line arguments, allowing it to act as a full replacement for apt-get. For example, to search for a package, you can type aptitude search PACKAGE_NAME:
aptitude search command
You can update package lists from the APT repositories by typing the aptitude update command:
aptitude update command
To install a package, you can use the aptitude install PACKAGE_NAME command:
aptitude install command
To upgrade software packages, use the aptitude full-upgrade command:
aptitude full upgrade command
To remove all downloaded packages, use the aptitude clean command:
aptitude clean command
author

Author Name

Author Description!

Get Free Email Updates to your Inbox!

Post a Comment

www.ccna.ma

yu
Powered by Blogger.

Translate

Copyright © Learn Linux Th3pro.xyz | Blogger Templates | Designed By Code TAOUSSI