Useful apt commands (Ubuntu, Debian, Mint etc.)

Terminal commands for package management can be an essential thing if you come across an unexpected error or are just interested in how things work. Here are a few of the more important ones:   apt-cache search --names-only --installed Followed by a pattern, the above command searches every package in its cache for it (you ... Read more

How to use apt-file to find which .deb package contains a specific file

Sometimes you need to know which debian package contains a specific file e.g. because you deleted a system file accidently or you try to install a new software that requires this file. The apt package management utility which is used in Debian and Ubuntu comes with a handy tool called apt-file which allows a saerch ... Read more