Hacker News new | ask | show | jobs
by justin66 4362 days 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?
1 comments

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