PDA

View Full Version : Where can up to date source files be downloaded ?


OralDeckard
23rd February 2009, 02:39 AM
When I go to the mirrors where I downloaded Fedora I find the sources. But the date on them is the same as the release date. Where can I find sources that are for the packages currently available through YUM ?

JohnVV
23rd February 2009, 06:26 AM
in your fedora.repo( and all the others ) there is this
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch


to use it
--
yum --enablerepo=fedora-source install file-name
or for the updates
yum --enablerepo=updates-source install file-name

or go to the programs web site and get it there . it may be a tar.bz2 download or you can grab them from svn or cvs
for example for the CURRENT development code for celestia use svn

svn co https://celestia.svn.sourceforge.net/svnroot/celestia/trunk celestia

aleph
23rd February 2009, 06:41 AM

Just use yumdownloader
yumdownloader --source FOO_PACKAGE
the --resolve flag will also download dependencies.

OralDeckard
23rd February 2009, 11:36 AM
Well that was quick.

Thank you both very much :)