Knowledge Base

17.02.10

Centos: Download rpm files via yum without installing them

Took me ages to find out how to download rpm files via yum but not to install them and prevent yum to cleanup the downloadfolder after the installation because i wanted to have this rpm file and transfer it to a different server which has no internet connectivity, so i found out about the yumdownloader command:

Syntax: yumdownloader [package]

yumdownloader is part of yum-utils package, so use

yum install yum-utils



<- Zurück zur Übersicht