top | item 8000719

(no title)

priteau | 11 years ago

You can go to https://git.centos.org which is hosting all the sources used to build the system. Of course for RPM packages that is only metadata, not the actual upstream software source.

discuss

order

justin66|11 years ago

Just out of curiosity, since it sounds like you might know: on ubuntu I can do something like sudo apt-get source packagename and the system will just download the associated source code if a source repo is setup in the system's sources list. Does RHEL/CentOS have a similar capability?

priteau|11 years ago

Yes it does. "yumdownloader --source package_name" will download the source RPM. yumdownloader is part of the yum-utils package.