Debian Package Commands

Uninstalling Package

List installed packages

sudo apt list --installed

Remove package

sudo apt remove package_name
sudo apt remove package_name1 package_name2

Remove package with its configuration files

sudo apt purge package_name

Remove unused/orphaned packages

sudo apt autoremove
References