Skip to content
Home » How to install a .deb file via the command line

How to install a .deb file via the command line

Install a .deb file via the command line :The packages used in Ubuntu are Debian (.deb) packages. You can install any .deb package in your system. .deb files are normally installed from your file manager simply by clicking on them, because file associations with the default installer are already set in Ubuntu. These instructions are for anyone who want to install packages through the command line (Terminal).

sudo dpkg -i package_name.deb

In order to remove a .deb package run:

sudo dpkg -r package_name

To Reconfigure an installed Debian or Ubuntu package then use:

sudo dpkg-reconfigure package_name

Also Read:

How to remove PPAs Ubuntu