apt install deb file from source file code example
Example 1: install deb file
sudo dpkg -i /path/to/deb/file
sudo apt-get install -f
Example 2: install ubuntu deb
#install downloaded .deb
sudo dpkg -i /path/name.deb
#install packages
sudo apt install package_name