admin:linux:apt

Advanced Package Tool

If you accidentally apt removed a package, you can re-install the package from your cache with apt install PACKAGENAME. Sometimes you might have removed a package which is available in a newer version in the repository, but you don't have an internet connection.

You might want to find out which package version you have by searching /var/cache/apt/archives for your package and see which version it is. You can then install the package with ''apt install PACKAGENAME=VERSION".

(source)

  • Last modified: 2019-12-20 14:21