Product SiteDocumentation Site

5.5.4. Reinstalling Software

The yum reinstall command will reinstall exactly the same currently installed version of the package without considering the updated packages. This does not work with "installonly" packages such as the kernels. yum reinstall works on groups, files, provided files and file lists too, just like yum install command. This command is useful in cases in which the package installation has been corrupted, for example, when you have lost the manual or the binaries have been removed accidentally.
# yum check-update yum-plugin-changelog
...
yum-plugin-changelog                   1.1.28-1.fc13                updates

# yum list installed yum-plugin-changelog
...
yum-plugin-changelog.noarch            1.1.26-1.fc13                @fedora

# yum reinstall yum-plugin-changelog
...                                                      | 3.2 kB    00:00 ... 

Dependencies Resolved

===============================================================================
 Package             Arch         Version              Repository         Size 
===============================================================================
Reinstalling:
 yum-plugin-changelog    noarch     1.1.26-1.fc13       fedora             17 k

Transaction Summary
===============================================================================
Reinstall     1 Package(s)

Total download size: 17 k
Installed size: 22 k
Is this ok [y/N]: 
...

# yum list installed yum-plugin-changelog
...
Paquetes instalados
yum-plugin-changelog.noarch         1.1.26-1.fc13                @fedora
Note that in this procedure still exists a new version and exactly the same previous version is reinstalled, this is actually the yum reinstall functionality.