In this article, we will learn how to install local Debian packages using Dpkg command.
Dpkg is a command line tool to install local debian(.deb) packages. Dpkg is useful to those new users who have migrated from Windows to Linux. This is the package installation via terminal. You can install .deb file Graphical way too.
dpkg is the software at the base of the package management system in the free operating system Debian and its numerous derivatives. dpkg is used to install, remove, and provide information about .deb packages. dpkg (Debian Package) itself is a low-level tool.
To install a local Debian package, run following command
# dpkg -i teamviewer_amd64.deb
If you get any dependency errors while installing or after installing and launching a program, run following command
# apt-get install -f
Remove package using dpkg command
To remove a package use -r option or if you want to remove all its files including configuration files, you can purge it using the –purge option as shown.
# dpkg -r teamviewer [Remove Package]
# dpkg –purge teamviewer [Remove Package with Configuration Files]
In this article, we have seen how to install local Debian packages using Dpkg command.
[Need assistance to fix this error or install tools? We’ll help you.]