Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

Monday, April 13, 2009

Update Linux Kernel Using Yum

  1. Update kernel and kernel module packages

    If you don't have kernel module installed, you only have to update the kernel, type this command from terminal:
    su -c 'yum update kernel'
    If you have kernel module installed, you have to update them too. For example, you have kmod-nvidia and kmod-wl, type this command from terminal:
    su -c 'yum update kernel kmod-nvidia kmod-wl'
  2. Reboot the computer

  3. Booting with the new kernel

  4. View version number of the old kernel

    Type this command from terminal:
    yum list kernel --noplugins
    Example:
    [hafni@localhost ~]# yum list kernel --noplugins
    Installed Packages
    kernel.x86_64                 2.6.27.19-170.2.35.fc10                  installed
    kernel.x86_64                 2.6.27.21-170.2.56.fc10                  installed
  5. Remove the old kernel

    Type this command from terminal:
    yum remove kernel-VERSION
    Example:
    [hafni@localhost ~]$ su -c 'yum remove kernel-2.6.27.19-170.2.35.fc10'

Monday, April 6, 2009

3rd Party Repositories for Fedora

  1. RPM Fusion - Free

    Homepage: http://rpmfusion.org

    Installer: http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

    Example packages: ffmpeg, gstreamer-plugins-bad, gstreamer-plugins-ugly, mencoder, mplayer, vlc, zsnes.

  2. RPM Fusion - Nonfree

    Homepage: http://rpmfusion.org

    Installer: http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

    Example packages: broadcom-wl, gmameui, kmod-nvidia, kmod-wl, unrar, xorg-x11-drv-nvidia, xorg-x11-drv-nvidia-libs.

  3. Fresh RPMS

    Homepage: http://freshrpms.net

    Installer: http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/9/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm

    NOTE:
    After installed, edit /etc/yum.repos.d/freshrpms.repo file:

    # $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
    [freshrpms]
    name=Fedora Core 9 - $basearch - Freshrpms
    #baseurl=http://ayo.freshrpms.net/fedora/linux/9/$basearch/freshrpms/
    mirrorlist=http://ayo.freshrpms.net/fedora/linux/9/mirrors-freshrpms
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
    gpgcheck=1

    Example packages: xmame, xmame-roms.

  4. Adobe

    Homepage: http://www.adobe.com

    Installer: http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm

    Example packages: AdobeReader_enu, flash-plugin.

  5. Screenlets

    Homepage: http://www.screenlets.org

    Repo file: http://download.opensuse.org/repositories/home:/some-guy:/screenlets/Fedora_10/home:some-guy:screenlets.repo

    NOTE:
    After downloaded, cut or copy the repo file to /etc/yum.repos.d/ and then edit:

    [screenlets]
    name=Screenlets Build Repository (Fedora $releasever)
    type=rpm-md
    baseurl=http://download.opensuse.org/repositories/home:/some-guy:/screenlets/Fedora_$releasever/
    gpgcheck=1
    gpgkey=http://download.opensuse.org/repositories/home:/some-guy:/screenlets/Fedora_$releasever/repodata/repomd.xml.key
    enabled=1

    Example packages: screenlets.

For install a repository, use this command:

su -c 'rpm -Uvh INSTALLER'

Example:

su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'