Posted in: Linux, Unix

Install a Debian (Ubuntu) package

To install a downloaded Debian (Ubuntu) package (.deb) :-
# sudo dpkg -i packagename.deb

# sudo dpkg -i /home/jay/Downloads/net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb
Selecting previously unselected package net-tools.
(Reading database ... 197399 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb ...
Unpacking net-tools (1.60+git20181103.0eebece-1ubuntu5) ...
Setting up net-tools (1.60+git20181103.0eebece-1ubuntu5) ...
Processing triggers for man-db (2.10.2-1) ...
#

To remove a Debian (Ubuntu) package (.deb):
# sudo dpkg -r packagename
 To Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
# sudo dpkg-reconfigure packagename
Back to Top