YUM to download packages without installing

Command to download packages without installing….

  • Install the package including “downloadonly” plugin:
  • # yum install yum-downloadonly
  • Run yum command with “–downloadonly” option as follows:
  • # yum install –downloadonly –downloaddir=

Yumdownloader command can used for downloading the installed packages

  • Install the yum-utils package:
  • # yum install yum-utils
  • Run the command followed by the desired package:
  • # yumdownloader