Debian uses .deb binary packages and you manually install and uninstall them using dpkg tool.

dpkg has lots of options but maybe the most important or used ones are:

Installs and configures a package
Removes the package but keeps the configuration files on your systems, thus you may reinstall it later and does not need to configure it again
Purges a package, meaning it will remove the package and also all configuration files

How to use it

  • To install a .deb package

sudo dpkg -i package.deb

  • To uninstall a .deb package

sudo dpkg -r package

  • To purge a .deb package

sudo dpkg -p package