How do I reinstall APT package?

How do I reinstall APT package?
Answer
You can reinstall a package with sudo apt-get install –reinstall packagename . This completely removes the package (but not the packages that depend on it), then reinstalls the package. This can be convenient when the package has many reverse dependencies. Sometimes you need to restore config files too!
 

Tìm kiếm

Back
Top