Re: Info on options to yumdownloader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ahmed A wrote:
> So, if I want to get the source for 2.6.18.., and not the latest
> kernel (2.6.2-0...), what are the options I should provide to
> yumdownloader.

You can add the version to the package name to download a particular
version:

$ yumdownloader -e core-source --source kernel-2.6.18-1.2798.fc6

The updates-source repo can be skipped if you don't want to check that
repo for updated kernel sources.

Or, since you are already running 2.6.18-1.2798.fc6, you could use
uname -r:

$ yumdownloader -e core-source -e updates-source --source kernel-$(uname -r)

That should get the kernel source rpm for the currently running
kernel.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
Duct tape is like the Force. It has a light side, a dark side, and it
holds the universe together....
    -- Carl Zwanzig

Attachment: pgpl6HqnurRl2.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux