In this article, we will see how to install .deb package in Linux.
Packages are manually installed using the dpkg command (Debian Package Management System). dpkg is the backend to commands like apt-get and aptitude.
Syntax:
dpkg [
1. To install a .deb package run the below command.
sudo dpkg -i DEB_PACKAGE.deb
Example:
Download latest .deb package install on Linux.
wget https://repo.skype.com/latest/skypeforlinux-64.deb
Now install the package skype on Linux using dpkg command.
sudo dpkg -i skypeforlinux-64.deb
2. To remove a .deb package.
sudo dpkg -r PACKAGE_NAME.deb
3. To reconfigure an existing package on Linux use the below command.
sudo dpkg-reconfigure PACKAGE_NAME.deb
Where
-i means install
-r means remove