Filed under: Automation, Linux, — Tags: Centos, Red Hat Linux, YUM — Thomas Sundberg — 2015-09-10
Remembering the syntax for yum is something I seem to have problems with. To simplify my own life, and possible yours, here is a list of some commands I find useful. Some of them should be executed as root.
yum -y install package-name
yum -y remove package-name
yum -y update package-name
yum list
yum list installed
yum clean all
yum --help
-y
-d