» 
Arabic Bulgarian Chinese Croatian Czech Danish Dutch English Estonian Finnish French German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Malagasy Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Thai Turkish Vietnamese
Arabic Bulgarian Chinese Croatian Czech Danish Dutch English Estonian Finnish French German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Malagasy Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Thai Turkish Vietnamese

definition - advanced packaging tool

definition of Wikipedia

   Advertizing ▼

Wikipedia

Advanced Packaging Tool

                   
Advanced Packaging Tools
Apt-get install mediawiki.png
apt-get requesting confirmation before an installation
Initial release 16 August 1998 (1998-08-16)[1]
Stable release 0.8.10.3[2] / April 15, 2011; 14 months ago (2011-04-15)
Preview release 0.8.16~exp13 / March 13, 2012; 3 months ago (2012-03-13)
Written in C++
Operating system Cross-platform
Platform Unix and Unix-like operating systems
Type Package management system
License GNU General Public License
Website wiki.debian.org/Apt wiki.debian.org/Teams/Apt

The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants.[3] APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.[3]

APT was originally designed as a front-end for dpkg to work with Debian's .deb packages, but it has since been modified to also work with the RPM Package Manager system via apt-rpm.[4] The Fink project has ported APT to Mac OS X for some of its own package management tasks, and APT is also available in OpenSolaris (included in the Nexenta OS distribution).[5] Cydia is a package manager for jailbroken iOS partially based on APT (ported to iOS as part of the related Telesphoreo project).[6][7]

Contents

  Usage

There is no single "apt" program; apt is itself the package name containing the set of tools (and requiring the libraries) that support its functionality. A significant part of apt is a C++ library of functions (another package known as libapt) which are used by these related front-end programs for dealing with packages, such as apt-get and apt-cache. They are commonly used in examples due to their simplicity and ubiquity; apt-get and apt-cache are of "important" priority in all current Debian releases, and are therefore installed in a default Debian installation. Apt can be functionally considered to be a front-end to dpkg, and a friendlier front end to this than dselect. While dpkg performs actions on individual packages, apt tools manage relations (especially dependencies) between them, as well as sourcing and management of higher-level versioning decisions (release tracking and version pinning).

APT is often hailed as one of Debian's best features.[8][9][10][11] It is remarked that this quality comes from the strict quality controls of Debian policy.[12][13]

A major feature in APT is the way it calls dpkg — it does topological sorting of the list of packages to be installed or removed and calls dpkg in the best possible sequence. In some cases, it utilizes the --force options in dpkg. However, it only does this when it is unable to calculate how to avoid the reason dpkg requires the action to be forced.

  Installation of software

An install directive is followed by the name of one or more packages desired for installation. Each package name is phrased as just the name portion of the package, not a fully qualified filename (for instance, in a Debian GNU/Linux system, libc6 would be the argument provided, not libc6_1.9.6-2.deb). Notably, all packages containing dependencies required by the package(s) specified for installation will also be automatically retrieved and installed. This was an original distinguishing characteristic of apt-based package management systems whereby software installation failure due to missing dependencies, a type of dependency hell, was specifically avoided.

Another such distinction is remote repository retrieval of packages. A location configuration file (/etc/apt/sources.list) is used to locate the desired packages and retrieve them, and also obtain information about available (but uninstalled) packages.

Other command option features (switches) may be used to override decisions made by apt-get's conflict resolution system. If a hyphen is appended to the package name (with no intervening space), the identified package will be removed if it is installed. Similarly, a plus sign can be used to designate a package to install. A specific version of a package can be selected for installation by following the package name with an equals and the version of the package to select. This will cause that version to be located and selected for install. Alternatively a specific distribution can be selected by following the package name with a slash and the version of the distribution or the archive name (stable, testing, unstable).

Both of the version selection mechanisms can downgrade packages and must be used with care.

Finally, the apt_preferences mechanism allows creating an alternative installation policy for individual packages.

If no package matches the given expression and the expression contains one of '.', '?' or '*', it is assumed to be a POSIX regular expression and it is applied to all package names in the database. Any matches are then installed (or removed). Note that matching is done by substring, so "lo.*" matches "how-lo" and "lowest". If this is undesired, the regular expression can be anchored with a '^' or '$' character, or a more specific regular expression can be created.

  Update, upgrade and dist-upgrade

  • update is used to resynchronize the package index files from their sources. The lists of available packages are fetched from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the Packages.gz files, so that information about new and updated packages is available. An update should always be performed before a safe-upgrade or dist-upgrade. Be aware that the overall progress meter will not always be correct as the size of the package files cannot be known in advance.
  • upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first, so that apt-get knows that new versions of packages are available.
  • dist-upgrade, in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files.[14] aptitude has a smarter dist-upgrade feature called full-upgrade.[15]

  Configuration and files

/etc/apt has the apt configuration folders and files.

apt-config is the APT Configuration Query program.[16] apt-config dump shows the configuration.[17]

  Files

  • /etc/apt/sources.list: Locations to fetch packages from.
  • /etc/apt/sources.list.d/: Additional source list fragments.
  • /etc/apt/apt.conf: APT configuration file.
  • /etc/apt/apt.conf.d/: APT configuration file fragments.
  • /etc/apt/preferences: version preferences file. This is where you would specify "pinning", i.e. a preference to get certain packages from a separate source or from a different version of a distribution.
  • /var/cache/apt/archives/: storage area for retrieved package files.
  • /var/cache/apt/archives/partial/: storage area for package files in transit.
  • /var/lib/apt/lists/: storage area for state information for each package resource specified in sources.list
  • /var/lib/apt/lists/partial/: storage area for state information in transit.

  Sources

APT relies on the concept of repositories in order to find software and resolve dependencies. For apt, a repository is a directory containing packages along with an index file. This can be specified as a networked or CDROM location. The Debian project keeps a central repository of over 25,000 software packages ready for download and installation.

For extra packages, any number of additional repositories can be added to APT's sources.list configuration file (/etc/apt/sources.list) and then be queried by APT. Graphical front-ends often allow modifying sources.list more simply (apt-setup). Once a package repository has been specified (like during the system installation), packages in that repository can be installed without specifying a source.

In addition to network repositories, compact discs and other storage media (USB keydrive, hard disks...) can be used as well, using apt-cdrom [18] or adding file:/[19] to the source list file. Apt-cdrom can specify a different folder than a cd-rom, using the -d option (i.e. a hard disk or a USB keydrive). The Debian CDs available for download contain Debian repositories. This allows non-networked machines to be upgraded. Also one can use apt-zip.

Problems may appear when several sources offer the same package(s). Systems that have such possibly conflicting sources can use APT pinning to control which sources should be preferred.

  APT pinning

The APT pinning feature allows administrators to force APT to choose particular versions of packages which may be available in different versions from different repositories. This allows administrators to ensure that packages are not upgraded to versions which may conflict with other packages on the system, or that have not been sufficiently tested for unwelcome changes.

In order to do this, the pins in APT's preferences file (/etc/apt/preferences) must be modified,[20] although graphical front-ends often make pinning simpler.

  Front-ends

  Synaptic Package Manager is one of the frontends available for APT

Several other front-ends to APT exist, which provide more advanced installation functions and more intuitive interfaces. These include:

APT front-ends can:

  • Search for new packages.
  • Upgrade packages.
  • Install or remove packages.
  • Upgrade the whole system to a new release.

APT front-ends can list the dependencies of packages being installed or upgraded, ask the administrator if packages recommended or suggested by newly installed packages should be installed too, automatically install dependencies and perform other operations on the system such as removing obsolete files and packages.

  History

The original effort that led to the apt-get program was the dselect replacement project known by its codename deity.[24] This project was commissioned by Brian White, the Debian Release Manager at the time. The very first functional version of apt-get was called dpkg-get and was only intended to be a test program for the core library functions that would underpin the new UI.[25]

Much of the original development of APT was done on IRC, so records have been lost. The 'Deity Creation Team' mailing list archives include only the major highlights.

The Deity name was abandoned as the official name for the project due to concerns over the religious nature of the name. The APT name was eventually decided after considerable internal and public discussion. Ultimately the name was proposed on IRC, accepted and then finalized on the mailing lists.[26] As originally used, APT is not an acronym, but a proper name. The name gained mindshare during IRC discussions[citation needed] due to the variety of possible acronym expansions and it was ultimately decided that the official use of APT would be as a proper name and no official expansion would ever be presented by the team.

APT was introduced in 1998 and original test builds were circulated on IRC. The first Debian version that included it was Debian 2.1, released on 9 March 1999.[27]

In the end the original goal of the Deity project of replacing the dselect UI was a failure. Work on the user interface (UI) portion of the project was abandoned (the UI directories were removed from the CVS system) after the first public release of apt-get. The response to APT as a dselect method and a command line utility was so great and positive that all development efforts focused on maintaining and improving the tool. It was not until much later that several independent people built UIs on top of the capable libapt-pkg.

The final push of the first APT era was to build a complete dpkg replacement (libapt-inst). This project was also a failure, however the partial code found a use as part of the secretive 'Project Betsy' program, which resulted in the highly efficient apt-ftparchive and libapt python bindings. After this, the original author faded away and maintainership of APT languished.

Eventually, a new team picked up the project, began to build new features and released version 0.6 of APT which introduced the Secure APT feature, using strong cryptographic signing to authenticate the package repositories.[28]

  See also

  References

  1. ^ "Advanced Packaging Tool". sensagent. http://dictionary.sensagent.com/advanced+packaging+tool/en-en/#cite_note-22. Retrieved 2012-02-22. 
  2. ^ "Debian -- Details of package apt". packages.qa.debian.org. http://packages.qa.debian.org/a/apt.html. Retrieved 2012-04-02. 
  3. ^ a b "apt-get(8) - Linux man page". linux.die.net. Archived from the original on 16 May 2008. http://linux.die.net/man/8/apt-get. Retrieved 2008-05-12. 
  4. ^ "APT-RPM". apt-rpm.org. Archived from the original on 21 April 2008. http://apt-rpm.org/about.shtml. Retrieved 2008-05-12. 
  5. ^ "Fink - About". www.finkproject.org. Archived from the original on 11 May 2008. http://www.finkproject.org/about.php. Retrieved 2008-05-12. 
  6. ^ "Bringing Debian APT to the iPhone" by Jay Freeman (saurik
  7. ^ Telesphoreo Tangelo documentation
  8. ^ Byfield, Bruce (2004-12-09). "An apt-get primer". Archived from the original on 2010-04-19. http://www.webcitation.org/5p6i2iySC. 
  9. ^ "From the archives: the best distros of 2000". Tux Radar. http://www.tuxradar.com/content/archives-best-distros-2000. 
  10. ^ Dorgan, David (2004-01-19). "Migrating to Debian". linux.ie. Archived from the original on 2010-04-19. http://www.webcitation.org/5p6ikqQPs. 
  11. ^ "Mobile Linux development with Familiar and a minimal Debian". Mobile Tux. http://www.vieka.com/mobiletux/debian.htm. 
  12. ^ Why Debian
  13. ^ Debian policy manual
  14. ^ die.net Linux Man pages
  15. ^ Discussion on dist-upgrade vs. full-upgrade
  16. ^ Apt-Config
  17. ^ Query APT Configuration Using apt-config - Debian Admin
  18. ^ apt-cdrom
  19. ^ i.e. Deb file:/mnt/install stable main contrib. non-free
  20. ^ "Apt Pinning". Debian Wiki. Archived from the original on 4 October 2006. http://wiki.debian.org/AptPreferences. Retrieved 2006-09-19. 
  21. ^ OzOS | apt:foo
  22. ^ "Bringing Debian APT to the iPhone" by Jay Freeman (saurik
  23. ^ Telesphoreo Tangelo documentation
  24. ^ Deity Mailing List, 1997-04.
  25. ^ Deity Mailing List, 1998-03.
  26. ^ Deity Mailing List, 1998-03.
  27. ^ "A Brief History of Debian". Debian.org. http://debian.org/doc/manuals/project-history/ch-detailed.en.html#s4.1. 
  28. ^ "Secure APT". Debian Wiki. Archived from the original on 1 September 2006. http://wiki.debian.org/SecureApt. Retrieved 2006-09-05. 

  External links

   
               

 

All translations of advanced packaging tool


sensagent's content

  • definitions
  • synonyms
  • antonyms
  • encyclopedia

Dictionary and translator for handheld

⇨ New : sensagent is now available on your handheld

   Advertising ▼

sensagent's office

Shortkey or widget. Free.

Windows Shortkey: sensagent. Free.

Vista Widget : sensagent. Free.

Webmaster Solution

Alexandria

A windows (pop-into) of information (full-content of Sensagent) triggered by double-clicking any word on your webpage. Give contextual explanation and translation from your sites !

Try here  or   get the code

SensagentBox

With a SensagentBox, visitors to your site can access reliable information on over 5 million pages provided by Sensagent.com. Choose the design that fits your site.

Business solution

Improve your site content

Add new content to your site from Sensagent by XML.

Crawl products or adds

Get XML access to reach the best products.

Index images and define metadata

Get XML access to fix the meaning of your metadata.


Please, email us to describe your idea.

WordGame

The English word games are:
○   Anagrams
○   Wildcard, crossword
○   Lettris
○   Boggle.

Lettris

Lettris is a curious tetris-clone game where all the bricks have the same square shape but different content. Each square carries a letter. To make squares disappear and save space for other squares you have to assemble English words (left, right, up, down) from the falling squares.

boggle

Boggle gives you 3 minutes to find as many words (3 letters or more) as you can in a grid of 16 letters. You can also try the grid of 16 letters. Letters must be adjacent and longer words score better. See if you can get into the grid Hall of Fame !

English dictionary
Main references

Most English definitions are provided by WordNet .
English thesaurus is mainly derived from The Integral Dictionary (TID).
English Encyclopedia is licensed by Wikipedia (GNU).

Copyrights

The wordgames anagrams, crossword, Lettris and Boggle are provided by Memodata.
The web service Alexandria is granted from Memodata for the Ebay search.
The SensagentBox are offered by sensAgent.

Translation

Change the target language to find translations.
Tips: browse the semantic fields (see From ideas to words) in two languages to learn more.

last searches on the dictionary :

6451 online visitors

computed in 0.312s

I would like to report:
section :
a spelling or a grammatical mistake
an offensive content(racist, pornographic, injurious, etc.)
a copyright violation
an error
a missing statement
other
please precise:

Advertize

Partnership

Company informations

My account

login

registration

   Advertising ▼