aptitude [__ ''options'' __? search patterns...
aptitude is a text-based interface to the Debian GNU/Linux package system.
The first argument which does not begin with a hyphen (
The following actions are available:
Install one or more packages. The packages should be listed after the /usr/share/doc/aptitude/README__)
As a special case,
remove, purge, hold
These commands are the same as
Mark packages as automatically installed or manually installed, respectively. You may specify packages using the same syntax as before, including specifying actions to be performed. For instance,
Update the list of available packages from the master servers. (this is equivalent to
Upgrades installed packages to their most recent version. Installed packages will not be removed unless they are unused; packages which are not currently installed will not be installed.
If a package cannot be upgraded without violating these constraints, it will be kept back.
Forgets which packages are
Searches for packages matching one or more expressions. The expressions should be listed after the /usr/share/doc/aptitude/README__.
Removes all downloaded and cached packages.
Removes any cached packages which are no longer downloadable.
Downloads the .deb file for the most recent version of the given package to the current directory.
The following hyphened arguments function as actions for the interactive mode of the program; however, they are only used internally. Generally, you shouldn't need to set these yourself.
Loads the extended state information from fname.
Begins updating the package lists when the program starts. You cannot use this option and -i at the same time.
The following options may be specified to modify the behavior of the above commands. Note that not every command will pay attention to every option (indeed; many options are nonsensical for one or more commands)
Many of these options have an associated configuration file directive; placing this directive in /etc/apt/apt.conf or /.aptitude/config will cause aptitude to always act as if the option had been provided.
Display a brief help message.
Display the version of aptitude and some information about its compilation environment.
Print the actions that would be performed, but don't actually perform them. This does not require root privileges.
Configuration Item: Aptitude::!CmdLine?::Simulate.
Do not install or remove any packages; only download them.
Configuration Item: Aptitude::!CmdLine?::Download-Only
Always display a prompt, even if no additional actions are to be undertaken.
Configuration Item: Aptitude::!CmdLine?::Always-Prompt
Configuration Item: Aptitude::!CmdLine?::Assume-Yes
-F format, --display-format format
Specify the format which should be used to display output from the search command. For instance, '%p %V %v' will display a package's name, followed by its currently installed version and its available version. (see the section __
Configuration Item: Aptitude::!CmdLine?::Package-Display-Format
-w width, --width width
Specify the display width which should be used for output from the search command. (by default, the terminal width is used)
Configuration Item: Aptitude::!CmdLine?::Package-Display-Width
Aggressively try to fix dependencies of broken packages.
Configuration Item: Aptitude::!CmdLine?::Fix-Broken
Treat recommends or suggests, respectively, as dependencies when installing new packages. (this overrides settings in /etc/apt/apt.conf and /.aptitude/config)
Configuration Item: Aptitude::Recommends-Important
Do not treat recommends or suggests, respectively, as dependencies when installing packages.
In interactive mode, aptitude makes the following keys and commands available:
Quit the current context, saving changes.
Quit the current context, discarding changes.
Display an online help screen.
Move the selection one item up.
Move the selection one item down.
Move the selection to the parent of the current item.
Expand or collapse a group of packages.
Expand an entire tree of packages.
Collapse an entire tree of packages.
Display information about a package.
Cancel a package's removal, or request that it be installed or upgraded.
Cancel the installation of a package, or request that it be removed.
Place a package on hold (or remove the
Request that a package and all its conffiles be removed (
Update the lists of available packages.
Perform all pending installations, removals, and upgrades.
Undo the last action or set of actions.
Perform a search
Repeat the last search
lib/main.php:944: Notice: PageInfo: Cannot find action page