How to install DEB file on Ubuntu

How to install DEB file on Ubuntu

This is a basic tutorial for users of Ubuntu and its derivatives. Debian, Ubuntu and all its derivatives typically use format DEB as software installation source files. So the binary file with the extension DEB can be directly installed in the Debian, Ubuntu and its derivative distributions. For new Linux users, may still be confused how to install the file with the DEB extension. This tutorial will try to help you to install or open a file with the extension DEB on Ubuntu Linux. There are two options to install DEB file on Ubuntu. 

A Using graphical interface (GUI)

For desktop users, the easiest way is to install using GUI. Simply right click the file and select Open with Ubuntu Software Center. Then, Ubuntu Software Center will display additional information corresponding to the DEB file you've selected. Press Install to start install the DEB file. 

B. Via Command Line (Terminal)

For some advanced users, they sometimes prefer to use command line interface in order to perform some administrative tasks such as package installation. Use this command to install DEB package onto the Ubuntu System.
sudo dpkg -i packagename.deb
where packagename is the actual name of a deb package. Simple right? Keep the learning spirits.