sudo dpkg -i DEB_PACKAGE_with_location
Another simple way would be – Just go to the file on file browser. Type
sudo dpkg -i on terminal and put an space
afterwards. Then drag the deb file on the terminal which will eventually get you the same code shown at first here.