Saturday, December 29, 2012

Compiling kernel in Fedora

I found this link. For my personal note

sudo make menuconfig
sudo make
sudo make modules_install install

Then reboot

Optional:

sudo grub2-set-default 2
sudo grub2-editenv list
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

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?

Friday, December 28, 2012

Installing Google Chrome In Fedora

Originally here. I highlight few points that I feel important only:

For 64 bit:

Create /etc/yum.repos.d/google-chrome.repo file:

[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
 
 
To install stable version:
 
sudo yum install google-chrome-stable