APT-GET Reinstall Example in Debian/Ubuntu/Mint
In this tutorial you will learn how to use apt-get reinstall to reinstall packages on Debian and Ubuntu. Debian/Ubuntu/Mint or its derivative, use apt-get as their package manager. The –reinstall flag is a shortcut for an apt-get command used to reinstall packages, using the most up-to-date versions. This is useful for packages with many reverse dependencies.
To Reinstall Packages Using apt-get
Using the –reinstall command is a simple process. The syntax is as follows:
sudo apt-get --reinstall install PackageName
If you wish to reinstall more than one package, you can list them all in one line:
sudo apt-get --reinstall install PackageName1 PackageName2