Aptitude (program)

Aptitude (program)

Infobox Software
name = aptitude



caption =
collapsible =
author =
developer =
released =
latest release version = 0.4.11.2
latest release date = release date and age|2008|04|09
latest preview version =
latest preview date =
frequently updated =
programming language =
operating system = Linux
platform = Debian and its derivatives
size =
language =
status =
genre = Package management system
license = GNU General Public License
website = [http://packages.debian.org/aptitude packages.debian.org/aptitude]

"aptitude" is a front-end to the Advanced Packaging Tool (APT). It displays a list of software packages and allows the user to interactively pick packages to install or remove. It has an especially powerful search system utilizing flexible search patterns. It was initially created for Debian, but has appeared in RPM-based distributions as well (such as Conectiva).

"aptitude" is based on the ncurses computer terminal library, with which it provides an interface that incorporates some elements commonly seen in graphical user interfaces (GUIs) (such as pull-down menus).

In addition to the ncurses interface, aptitude provides an extensive command line interface (CLI). Even though aptitude is a single executable, it provides CLI functionality similar to that of apt- family of tools (apt-get, apt-cache, apt-listchanges, etc). Aptitude also emulates most apt-get command line options, allowing it to act as a drop-in replacement for some of the apt-get usages.

History

"aptitude" was created in 1999. At the time two other terminal-based APT front-ends were available: the dselect program, which had been used to install Debian since before APT was created, and the console-apt program, a project that was considered to be the heir apparent to dselect. "aptitude" was created to experiment with a more object-oriented design than that used in console-apt, in the hope that this would result in a more flexible program with a broader set of features.

The first public release of "aptitude" was version 0.0.1 on November 18 1999. It was very limited: it had the ability to view the list of available packages, but could not actually download or install any packages. By version 0.0.4a, this capability had been added, along with many other improvements; this version was included in Debian 2.2 ("potato").

In late 2000 the entire user interface module was rewritten; a new architecture was created, based on the libsigc++ callback library and concepts from modern widget toolkits such as GTK+ and Qt. This enabled the interface to become much more similar to GUIs than it had been previously, with features such as pull-down menus and pop-up dialogs. One of "aptitude's" unusual features, a tiny implementation of Minesweeper, was added at this time. The first official "aptitude" release following this rewrite was 0.2.0., "aptitude" 0.2.11.1 was released with Debian 3.0 ("Woody"). By this time, the console-apt project (renamed to deity) had been effectively abandoned by its maintainers, and it was removed from Woody.

"aptitude" is regarded as the primary terminal-based alternative to dselect, and may even replace it in the near future. Since Debian 3.1 ("Sarge"), "aptitude" can be used by the installer to select which packages to install. "aptitude" is a package with its priority set at "important", while dselect is still a "required" one, due to backwards compatibility.Fact|date=July 2007

As of the Debian 4.0 ("Etch") release, "aptitude" is "the preferred program for package management from console both for package installations and package or system upgrades." [Quotation from [http://www.debian.org/doc/FAQ/ch-pkgtools.en.html Debian GNU/Linux FAQ, Chapter 8: The Debian package management tools] ]

Usage

"aptitude" does not require root privileges to run, and shows prompts to "Become Root" only when such rights are required.

Once opened, "aptitude" proposes a threaded list of packages that can be navigated with arrow keys and enter to open and collapse nodes. Pressing Ctrl-T gives access to the menus that list all the features and the shortcuts of the program. The most important are:
* u to update package listings (requires root)
* shift-u to mark all upgradeable packages for upgrade
* + to mark the selected package for installation
* - to mark the selected package for removal
* / to search the listings (use n and shift-n to cycle between the results)
* g to preview changes
* g again to apply changes (requires root)
* q to quit

Easter egg

"aptitude" states that, unlike Advanced Packaging Tool, it "does not have Super Cow Powers". In apt-get "super cow powers" can be found by issuing the command apt-get moo. However, in aptitude issuing moo will give the user a prompt saying there are no easter eggs.

However, by issuing aptitude -v moo, then aptitude -vv moo, and so on the user will see a series of statements telling them to go away, some ending with a picture not unlike the original apt-get easter egg. Different versions of the program have different sequences.

GSoC

For Google's annual Google Summer of Code (2008), Obey Arthur Liu adopted the idea to develop a GTK+ GUI for aptitude (as well as some usability improvements for the ncurses interface). The GUI is currently undergoing development.

See also

* Kpackage
* Package management

Notes

External links

* http://packages.debian.org/aptitude
* http://people.debian.org/~dburrows/aptitude-doc

* http://dev.graffit.net/aptitude/trac/wiki


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Aptitude — An aptitude is an innate, acquired or learned or developed component of a competency ( being the others: knowledge, understanding and attitude ) to do a certain kind of work at a certain level. Aptitudes may be physical or mental. The innate… …   Wikipedia

  • Modern Language Aptitude Test — The Modern Language Aptitude Test was designed to predict a student’s likelihood of success and ease in learning a foreign language. The Modern Language Aptitude Test (MLAT) was developed to measure foreign language learning aptitude. Language… …   Wikipedia

  • Pimsleur Language Aptitude Battery — The Pimsleur Language Aptitude Battery is an assessment developed to predict student success in foreign language learning, or language learning aptitude, and for diagnosing language learning disabilities. The Pimsleur Language Aptitude Battery… …   Wikipedia

  • SAT calculator program — An SAT calculator program is a software application that resides on a calculator which is used in helping to answer Scholastic Aptitude Test (SAT) questions. The programs themselves are different from SAT preparation books and classes in that… …   Wikipedia

  • Early Entrance Program (CSU) — The Early Entrance Program (EEP) is an early college entrance program for gifted individuals of middle school and high school ages at California State University, Los Angeles (CSULA). The program allows participants to skip normal schooling and… …   Wikipedia

  • Graduate Medical Program — (GMP) or sometimes also known as Graduate Entry Program (GEP) are terms generally used outside of the United States to refer to medical programs usually of 4 years duration where applicants are university graduates who have taken aptitude tests… …   Wikipedia

  • American College Testing Program — Offizielles ACT Logo Der ACT, besser bekannt als American College Testing Program oder auch American College Test, ist ein amerikanischer Leistungstest für die Hochschulreife, der 1959 als Konkurrent des Scholastic Aptitude Test (SAT) des College …   Deutsch Wikipedia

  • Half Hollow Hills Central School District — (#5) is located in Dix Hills and Melville New York. The district includes parts of both Huntington and Babylon townships. The school district contains eleven schools (seven elementary schools, two middle schools, and two high schools). The… …   Wikipedia

  • AABP — Aptitude Assessment Battery Program …   Acronyms

  • AABP — Aptitude Assessment Battery Program …   Acronyms von A bis Z

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”