HOME

TheInfoList



OR:

aptitude is a front end to APT, the
Debian Debian () is a free and open-source software, free and open source Linux distribution, developed by the Debian Project, which was established by Ian Murdock in August 1993. Debian is one of the oldest operating systems based on the Linux kerne ...
package manager A package manager or package management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer in a consistent manner. A package manager deals wi ...
. It displays a list of software packages and allows the user to interactively pick packages to install or remove. It has a search system utilizing flexible search patterns. It was initially created for Debian, but has appeared in
RPM Revolutions per minute (abbreviated rpm, RPM, rev/min, r/min, or r⋅min−1) is a unit of rotational speed (or rotational frequency) for rotating machines. One revolution per minute is equivalent to hertz. Standards ISO 80000-3:2019 def ...
-based distributions as well.


User interfaces

''aptitude'' is based on the ncurses
computer terminal A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. Most early computers only had a front panel to input or display ...
library, with which it provides an interface that incorporates some elements commonly seen in
graphical user interface A graphical user interface, or GUI, is a form of user interface that allows user (computing), users to human–computer interaction, interact with electronic devices through Graphics, graphical icon (computing), icons and visual indicators such ...
s (GUIs) (such as pull-down menus). In addition to the ncurses interface, aptitude provides an extensive
command-line interface A command-line interface (CLI) is a means of interacting with software via command (computing), commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user ...
(CLI). Even though aptitude is one executable file, it provides command-line functions similar to those of the family of tools provided by APT (apt-get, apt-cache, apt-listchanges, etc.). aptitude also emulates most
command-line argument A command-line interface (CLI) is a means of interacting with software via command (computing), commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user ...
s, allowing it to act as a full replacement for . In the past, it was recommended that aptitude and apt-get not be used interchangeably. This is no longer true, as both programs now correctly track and share a common list of packages that were automatically installed to satisfy dependencies.


History

''aptitude'' was created in 1999. At the time two other terminal-based APT-like front ends were available: the dselect program, which had been used to manage packages on Debian before APT was created, and the console-apt program, a project that was considered to be the
heir apparent An heir apparent is a person who is first in the order of succession and cannot be displaced from inheriting by the birth of another person. A person who is first in the current order of succession but could be displaced by the birth of a more e ...
to dselect. ''aptitude'' was created to experiment with a more
object-oriented programming Object-oriented programming (OOP) is a programming paradigm based on the concept of '' objects''. Objects can contain data (called fields, attributes or properties) and have actions they can perform (called procedures or methods and impl ...
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 ability had been added, with many other improvements; this version was included in Debian 2.2, code name: . In late 2000, the whole
user interface In the industrial design field of human–computer interaction, a user interface (UI) is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine fro ...
module was rewritten; a new
architecture Architecture is the art and technique of designing and building, as distinguished from the skills associated with construction. It is both the process and the product of sketching, conceiving, planning, designing, and construction, constructi ...
was created, based on the libsigc++ callback
library A library is a collection of Book, books, and possibly other Document, materials and Media (communication), media, that is accessible for use by its members and members of allied institutions. Libraries provide physical (hard copies) or electron ...
and concepts from modern
widget toolkit A widget toolkit, widget library, GUI toolkit, or UX library is a library (computing), library or a collection of libraries containing a set of graphical control elements (called ''widgets'') used to construct the graphical user interface (GUI) of ...
s such as
GTK+ GTK (formerly GIMP ToolKit and GTK+) is a free software cross-platform widget toolkit for creating graphical user interfaces (GUIs). It is licensed under the terms of the GNU Lesser General Public License, allowing both free and proprietary s ...
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'' more unusual features, a tiny implementation of
Minesweeper A minesweeper is a small warship designed to remove or detonate naval mines. Using various mechanisms intended to counter the threat posed by naval mines, minesweepers keep waterways clear for safe shipping. History The earliest known usage of ...
, 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 project (renamed to ) had been effectively abandoned by its maintainers, and it was removed from Woody. aptitude has also been ported to jailbroken
iOS Ios, Io or Nio (, ; ; locally Nios, Νιός) is a Greek island in the Cyclades group in the Aegean Sea. Ios is a hilly island with cliffs down to the sea on most sides. It is situated halfway between Naxos and Santorini. It is about long an ...
as part of the Cydia package manager.


Easter egg

''aptitude'' states that, unlike APT, it does not have "Super Cow Powers". In apt-get, "super cow powers" can be found by issuing the command . However, in aptitude issuing moo will give the user a prompt saying there are no
Easter eggs Easter eggs, also called Paschal eggs, are eggs that are Egg decorating, decorated for the Christian holiday of Easter, which celebrates the resurrection of Jesus. As such, Easter eggs are commonly used during the season of Eastertide (Easter ...
. However, by issuing , then , and so on the user will see a series of statements denying the "Super Cow Powers" or telling them to go away, some ending with a picture (a reference to
Antoine de Saint-Exupéry Antoine Marie Jean-Baptiste Roger, vicomte de Saint-Exupéry (29 June 1900 – 31 July 1944), known simply as Antoine de Saint-Exupéry (, , ), was a French writer, poet, journalist and aviator. Born in Lyon to an French nobility, aristocratic ...
's ''
The Little Prince ''The Little Prince'' (, ) is a novella written and illustrated by French writer and aviator Antoine de Saint-Exupéry. It was first published in English and French in the United States by Reynal & Hitchcock in April 1943 and was published po ...
'') not unlike the original apt-get Easter egg. Different versions of the program have different sequences. In addition, the package description states that "aptitude is also Y2K-compliant, non-fattening, naturally cleansing, and housebroken."


See also

* AppStream * Kpackage * Synaptic (software)


References


External links

* {{DEFAULTSORT:Aptitude (software) Debian Dpkg Linux PMS graphical front-ends Free software that uses ncurses Software using the GNU General Public License Free software programmed in C++