Thomas Sundberg

September 10, 2015

YUM Cheat sheet

Filed under: Automation, Linux — Tags: , , , , — Thomas Sundberg @ 21:50

This post has been migrated to

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.

  • Install without being prompted: yum -y install package-name
  • Uninstall without being prompted: yum -y remove package-name
  • Update without being prompted: yum -y update package-name
  • List available packages: yum list
  • List installed packages: yum list installed
  • Clear cache: yum clean all
  • Getting help: yum --help
  • Assume yes, answer all questions with yes: -y
  • Debug level, 0 – 10: -d


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: