While working on an application, there may be instances when a certain package gets corrupted or starts to cause problems; in such a case, the most feasible solution is to reinstall the package.
In Linux/Ubuntu systems, reinstalling is a simple task. The apt-get
command can be used to reinstall various packages on the system.
Take a look at the terminal command below:
sudo apt-get reinstall PACKAGENAME
Once this command has finished executing, the PACKAGENAME
package will be reinstalled in the system.
The same command can be used to reinstall multiple packages, as shown below:
sudo apt-get reinstall PACKAGENAME1 PACKAGENAME2