| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<head> |
| 4 |
<title>PackageKit - What is PackageKit?</title> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| 6 |
<link rel="stylesheet" href="style.css" type="text/css" media="screen"/> |
| 7 |
</head> |
| 8 |
<body> |
| 9 |
|
| 10 |
<table align="center" class="title"> |
| 11 |
<tr> |
| 12 |
<td><img src="img/packagekit.png" alt=""/></td> |
| 13 |
<td width="95%" valign="middle"><p class="title">What is PackageKit?</p></td> |
| 14 |
<td><img src="img/packagekit.png" alt=""/></td> |
| 15 |
</tr> |
| 16 |
</table> |
| 17 |
|
| 18 |
<p>Back to the <a href="index.html">main page</a></p> |
| 19 |
|
| 20 |
<h1>What is PackageKit?</h1> |
| 21 |
<p> |
| 22 |
PackageKit is a system designed to make installing and updating software |
| 23 |
on your computer easier. |
| 24 |
The primary design goal is to unify all the software graphical tools |
| 25 |
used in different distributions, and use some of the latest technology |
| 26 |
like PolicyKit. |
| 27 |
</p> |
| 28 |
|
| 29 |
<table class="noteinformation"> |
| 30 |
<tr> |
| 31 |
<td><img src="img/dialog-information.png" alt="[NOTE]"/></td> |
| 32 |
<td> |
| 33 |
<p>If you're easily bored, checkout the |
| 34 |
<a href="http://www.hughsie.com/public/introduction-to-packagekit.pdf">presentation</a> |
| 35 |
or the |
| 36 |
<a href="http://video.fosdem.org/2008/maintracks/FOSDEM2008-packagekit.ogg">video</a> |
| 37 |
I prepared for FOSDEM 2008 and skip the rest of this page. |
| 38 |
</p> |
| 39 |
</td> |
| 40 |
</tr> |
| 41 |
</table> |
| 42 |
|
| 43 |
<p> |
| 44 |
The actual nuts-and-bolts distro tool (dnf, apt, etc) is used by |
| 45 |
PackageKit using compiled and scripted helpers. |
| 46 |
PackageKit isn't meant to replace these tools, instead providing a |
| 47 |
common set of abstractions that can be used by standard GUI and text mode |
| 48 |
package managers. |
| 49 |
</p> |
| 50 |
|
| 51 |
<p> |
| 52 |
PackageKit itself is a system activated daemon called |
| 53 |
<code>packagekitd</code>. |
| 54 |
Being system activated means that it's only being run when the user is |
| 55 |
using a text mode or graphical tool, and quits when it's no longer being |
| 56 |
used. |
| 57 |
This means we don't delay the boot sequence or session startup and don't |
| 58 |
consume memory when not being used. |
| 59 |
</p> |
| 60 |
|
| 61 |
<table class="noteinformation"> |
| 62 |
<tr> |
| 63 |
<td><img src="img/dialog-information.png" alt="[NOTE]"/></td> |
| 64 |
<td> |
| 65 |
<p> |
| 66 |
By default, PackageKit uses PolicyKit for user authentication. |
| 67 |
This means that you, as an admin, can specify with fine-grained control |
| 68 |
what your users can and cannot do. |
| 69 |
</p> |
| 70 |
<p> |
| 71 |
For instance, an admin could specify that unprivileged users can update the |
| 72 |
system and do searching, but are not allowed to install or remove packages. |
| 73 |
For home users it's typical to ask the user for their own, or the |
| 74 |
administrator's <code>root</code> password. |
| 75 |
With PolicyKit, all these options are possible. |
| 76 |
</p> |
| 77 |
</td> |
| 78 |
</tr> |
| 79 |
</table> |
| 80 |
|
| 81 |
<p> |
| 82 |
Use cases for PackageKit exist for the following scenarios: |
| 83 |
</p> |
| 84 |
|
| 85 |
<ul> |
| 86 |
<li>Boot time security updates</li> |
| 87 |
<li>Installing files automatically, e.g. openoffice-clipart</li> |
| 88 |
<li>Installing new features, e.g. smart-card readers</li> |
| 89 |
<li>Allowing unprivileged users to install software in a corporate |
| 90 |
build</li> |
| 91 |
<li>Opening unknown file formats</li> |
| 92 |
<li>Removing dependencies for files</li> |
| 93 |
</ul> |
| 94 |
|
| 95 |
<p> |
| 96 |
What PackageKit is not: |
| 97 |
</p> |
| 98 |
<ul> |
| 99 |
<li>A huge daemon with lots of dependencies.</li> |
| 100 |
<li>Targeted to a particular architecture or platform.</li> |
| 101 |
<li>Produced by any one vendor.</li> |
| 102 |
</ul> |
| 103 |
|
| 104 |
<p> |
| 105 |
Formally, PackageKit is a D-Bus abstraction layer that allows the |
| 106 |
session user to manage packages in a secure way using a cross-distro, |
| 107 |
cross-architecture API. |
| 108 |
</p> |
| 109 |
|
| 110 |
<p>Back to the <a href="index.html">main page</a></p> |
| 111 |
|
| 112 |
<p class="footer"> |
| 113 |
Copyright <a href="mailto:[email protected]">Richard Hughes 2007-2013</a><br/> |
| 114 |
<a href="http://validator.w3.org/check/referer">Optimized</a> |
| 115 |
for <a href="http://www.w3.org/">standards</a>. |
| 116 |
</p> |
| 117 |
|
| 118 |
</body> |
| 119 |
</html> |