RHEL Downloadonly plugin for yum
If you need to get package source code only, and you don’t want to install it, you can use Downloadonly plugin for yum. Install the package including “downloadonly” plugin: (RHEL5) (RHEL6) Run yum command with “–downloadonly” option as follows: Confirm the RPM files are available in the specified download directory. Source: https://access.redhat.com/solutions/10154



