Yum reinstall

GEEKS if ever you had removed a configuration file of a package by mistake. Did you know that you can YUM command to reinstall that package?

Though its a very simple command, but can be very useful and generally we never bother to learn beyond yum install and yum remove … 🙂

Try using –

yum reinstall packagename

Here is a illustrated example from my machine.

Yum reinstall command

Yum reinstall command

Advertisements