How to install *.deb package in Ubuntu?

If you downloaded *.deb package and wonder how to install it then just look at the snippet pasted below.

$ sudo dpkg -i package.deb