use apt to install deb code example
Example 1: instal .deb ubuntu
sudo dpkg -i package_file.deb
Example 2: install *.deb file in ubuntu
Install a downloaded program in Ubuntu - Linux
sudo dpkg -i package_file.deb
//or
sudo apt install path_to_deb_file