Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
aptitude(1)
Edit
PageHistory
Diff
Info
LikePages
APTITUDE !!!APTITUDE NAME SYNOPSIS DESCRIPTION COMMAND-LINE ACTIONS OPTIONS INTERACTIVE USAGE SEE ALSO AUTHOR ---- !!NAME aptitude - high-level interface to the package manager. !!SYNOPSIS __aptitude [[ -S__ ''fname'' __] [[ -u | -i ]__ __aptitude [[__ ''options'' __] [[ update | upgrade | forget-new | clean | autoclean ]__ __aptitude [[__ ''options'' __] [[ remove | hold | purge | markauto | unmarkauto | dist-upgrade ] packages...__ __aptitude [[__ ''options'' __] search patterns...__ __aptitude [[__ ''options'' __] download packages...__ !!DESCRIPTION __aptitude__ is a text-based interface to the Debian GNU/Linux package system. It allows the user to view the list of packages and to perform package management tasks such as installing, upgrading, and removing packages. Actions may be performed from an !!COMMAND-LINE ACTIONS The first argument which does not begin with a hyphen ( The following actions are available: __install__ Install one or more packages. The packages should be listed after the /usr/share/doc/aptitude/README__) Appending As a special case, NOTE: The __remove, purge, hold__ These commands are the same as (for instance, __markauto, unmarkauto__ 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__ Update the list of available packages from the master servers. (this is equivalent to __upgrade__ 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. __forget-new__ Forgets which packages are __search__ Searches for packages matching one or more expressions. The expressions should be listed after the /usr/share/doc/aptitude/README__. __clean__ Removes all downloaded and cached packages. __autoclean__ Removes any cached packages which are no longer downloadable. __download__ 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. __-S__ ''fname'' Loads the extended state information from ''fname''. __-u__ Begins updating the package lists when the program starts. You cannot use this option and __-i__ at the same time. __-i__ Displays a download screen when the program starts (equivalent to starting the program and then pressing 'g') You cannot use this option and __-u__ at the same time. !!OPTIONS 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. __-h, --help__ Display a brief help message. __--version__ Display the version of aptitude and some information about its compilation environment. __-s, --simulate__ Print the actions that would be performed, but don't actually perform them. This does not require root privileges. Configuration Item: Aptitude::!CmdLine::Simulate. __-d, --download-only__ Do not install or remove any packages; only download them. Configuration Item: Aptitude::!CmdLine::Download-Only __-P, --prompt__ Always display a prompt, even if no additional actions are to be undertaken. Configuration Item: Aptitude::!CmdLine::Always-Prompt __-y, --assume-yes__ Assume 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 __-f__ Aggressively try to fix dependencies of broken packages. Configuration Item: Aptitude::!CmdLine::Fix-Broken __--with-recommends, --with-suggests__ 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 __--without-recommends, --without-suggests__ Do not treat recommends or suggests, respectively, as dependencies when installing packages. Configuration Item: Aptitude::Suggests-Important !!INTERACTIVE USAGE In interactive mode, aptitude makes the following keys and commands available: __q__ Quit the current context, saving changes. __x__ Quit the current context, discarding changes. __?__ Display an online help screen. __Up, j__ Move the selection one item up. __Down, k__ Move the selection one item down. __^__ Move the selection to the parent of the current item. __Enter__ Expand or collapse a group of packages. __[[__ Expand an entire tree of packages. __]__ Collapse an entire tree of packages. __Enter, i__ 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 ( __u__ Update the lists of available packages. __g__ Perform all pending installations, removals, and upgrades. __Control-u__ Undo the last action or set of actions. __/__ Perform a search __n__ Repeat the last search __v__ Show the available versions of a package !!SEE ALSO apt-get(1), apt(8), __/usr/share/doc/aptitude/README__. !!AUTHOR This manual page was written by Daniel Burrows ----
2 pages link to
aptitude(1)
:
Man1a
AptNotes
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.