Jump to content

PackageKit

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 83.240.88.144 (talk) at 11:28, 3 September 2016 (new version). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

PackageKit
Original author(s)Richard Hughes
Initial release2007; 17 years ago (2007)
Stable release
1.1.2 / 12 July 2016; 8 years ago (2016-07-12)[1]
Repository
Written inC, C++, Python
Operating systemLinux
TypePackage management system
LicenseGNU General Public License
Websitewww.freedesktop.org/software/PackageKit/

PackageKit is a free and open-source suite of software applications designed to provide a consistent and high-level front end for a number of different package management systems. PackageKit was created by Richard Hughes in 2007,[2][3] and first introduced into an operating system as a default application in May 2008 with the release of Fedora 9.[4]

The suite is cross-platform, though it is primarily targeted at Linux distributions which follow the interoperability standards set out by the freedesktop.org group. It uses the software libraries provided by the D-Bus and Polkit projects to handle inter-process communication and privilege negotiation respectively.

Since 1995, package formats have been around, since 2000 there have been dependency solvers and auto-downloaders as a layer on top of them around, and since 2004 graphical front-ends. PackageKit seeks to introduce automatic updates without having to authenticate as root, fast-user-switching, warnings translated into the correct locale, common upstream GNOME and KDE tools and one software over multiple Linux distributions.[5]

Software architecture

PackageKit itself runs as a system-activated daemon, packagekitd, which abstracts out differences between the different systems. A library called libpackagekit allows other programs to interact with PackageKit.[6]

Features include:

  • installing local files, ServicePack media and packages from remote sources
  • authorization using Polkit
  • the use of existing packaging tools
  • multi-user system awareness – it will not allow shutdown in critical parts of the transaction
  • a system-activated daemon which exits when not in use

Front-ends

Graphical front-ends for PackageKit include:

pkcon operates from the command-line.[7]

Back-ends

A number of different package management systems (known as back-ends) support different abstract methods and signals used by the front-end tools.[8] Back-ends supported include:

See also

References

  1. ^ Richard Hughes (20 May 2016). "PackageKit - Where can I download it?". freedesktop.org. Retrieved 20 May 2016.
  2. ^ "Installing and Updating Software Blows Goats". Richard Hughes. Retrieved 18 January 2011.
  3. ^ "Richard Hughes' blog posts about PackageKit". Richard Hughes. Retrieved 18 January 2011.
  4. ^ "Releases/9/FeatureList". Fedora Project Wiki. Fedora Project. 28 May 2008. Retrieved 7 July 2015.
  5. ^ "Introduction to PackageKit, a Package Abstraction Framework" (PDF). Richard Hughes. 2008-02-24. Retrieved 2014-04-11.
  6. ^ "PackageKit Reference Manual". packagekit.org. Retrieved 10 July 2009.
  7. ^ "HowTo use pkon".
  8. ^ "Frequently asked questions". packagekit.org. Retrieved 10 July 2009.
  9. ^ "hawkey on github".
  10. ^ "librepo on github".