install dpkg ubuntu code example
Example 1: install deb file
sudo dpkg -i /path/to/deb/file
sudo apt-get install -f
Example 2: install deb file in ubuntu
sudo apt install path_to_deb_file
Example 3: how to install dpkg in ubuntu
# download dpkg package
#open terminal into same directory and now type command with <packagename>.deb
sudo dpkg -i <package-name>.deb
#Ex: sudo dpkg -i mongodb-compass_1.23.0_amd64.deb