Saturday, December 29, 2012

How to use PackageKit in Fedora

Since I moved from Ubuntu, I somehow found it inconvenient for me to experience the transition. For example, when I did yum operation, the command line triggered PackageKit locked my operation. So I googled a bit on PackageKit.. not much being written/help.

I found this PDF and tried some of the operations:


najmi@fedora:~$ pkcon get-updates
Getting updates               [=========================]         
Waiting in queue              [=========================]         
Starting                      [=========================]         
Getting information           [=========================]         
Downloading update information[=========================]         
There are no updates available at this time.


Then, let say I want to install "Gimp"

najmi@fedora:~$ sudo pkcon install gimp
Simulating install            [=========================]         
Waiting in queue              [=========================]         
Starting                      [=========================]         
Running                       [=========================]         
Resolving dependencies        [=========================]         
Installing packages           [=========================]         
The following packages have to be installed:
 libwmf-0.2.8.4-32.fc17.x86_64 Windows MetaFile Library
 gimp-2:2.8.2-6.fc17.x86_64 GNU Image Manipulation Program
 gegl-0.2.0-1.fc17.x86_64 A graph based image processing framework
 gimp-libs-2:2.8.2-6.fc17.x86_64 GIMP libraries
 libspiro-20071029-6.fc17.x86_64 Library to simplify the drawing of beautiful curves
 babl-0.1.10-3.fc17.x86_64 A dynamic, any to any, pixel format conversion library
 webkitgtk-1.8.3-1.fc17.x86_64 GTK+ Web content engine library
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Waiting in queue              [=========================]         
Waiting for authentication    [=========================]         
Waiting in queue              [=========================]         
Starting                      [=========================]         
Running                       [=========================]         
Resolving dependencies        [=========================]         
Downloading packages          [                         ] (0%)


That's all for now. The usage is pretty obvious, don't you think?

No comments:

Post a Comment