Table of Contents

Debian Linux

How to list installed packages

apt list --installed

Source: https://linuxconfig.org/list-installed-packages-with-apt-command

How to Clear Apt Cache in Debian, Ubuntu and Linux Mint

sudo apt clean --dry-run

Then:

sudo apt clean

Source: https://www.ubuntumint.com/clean-apt-cache/

How do I find the package that provides a file?

dpkg -S /bin/ls

Source: https://askubuntu.com/questions/481/how-do-i-find-the-package-that-provides-a-file