[CentOS] how to yum install after deleting some files?

Karanbir Singh mail-lists at karan.org
Wed Jun 24 15:42:10 UTC 2009


On 06/24/2009 04:36 PM, MontyRee wrote:
> I have deleted some files for mistake.
> So I would like to re-install those files using yum install.

yum reinstall <pkgname>

that should work on CentOS-5, if you are using CentOS-3 or 4 then no
there is no way to do this. You would need to use rpm to delete the
package first then yum to install it

- KB



More information about the CentOS mailing list