PackageKit

From Wikipedia, the free encyclopedia
Jump to: navigation, search
PackageKit
Packagekit.png
Linux desktop system daemons and their graphical front-ends.svg
PackageKit is a system daemon, various graphical front-ends are available
Original author(s) Richard Hughes
Stable release 1.0.0 (September 12, 2014; 1 day ago (2014-09-12)) [±]
Development status Active
Written in C, C++, Python
Operating system Linux
Type Package management system
License GNU General Public License
Website www.packagekit.org

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.

The suite is ostensibly 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.

The motivation behind PackageKit is not to reinvent the wheel, but to push forward. 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 the authenticate as root, fast-user-switching, warnings translated into the correct locale, common upstream GNOME and KDE tools and of course one software over multiple Linux distributions.[1]

History[edit]

PackageKit was created by Richard Hughes and first proposed in a series of blog posts in 2007,[2][3] and is now developed by a small team of developers. Fedora 9 was the first operating system to use it as default front end for yum. It underwent many updates in Fedora 10 and Fedora 11.

Software architecture[edit]

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.[4]

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[edit]

Graphical front-ends for PackageKit include:

pkcon operates from the command-line.[5]

Back-ends[edit]

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

See also[edit]

References[edit]

  1. ^ "Introduction to PackageKit, a Package Abstraction Framework" (PDF). Richard Hughes. 2008-02-24. Retrieved 2014-04-11. 
  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. ^ "PackageKit Reference Manual". packagekit.org. Retrieved 10 July 2009. 
  5. ^ "HowTo use pkon". 
  6. ^ "Frequently asked questions". packagekit.org. Retrieved 10 July 2009. 
  7. ^ "hawkey on github". 
  8. ^ "librepo on github". 

External links[edit]