How to install a Ubuntu package file using gdebi with dependencies

If you download a Debian package file, .deb file from the internet, you can install it with any dependencies using gdebi. dpkg will not install the dependencies.

If you do not have gdebi installed on your computer, see Step 1.
1. Install gdebi in Linux
$ sudo apt-get install gdebi-core <enter>
This installs the gdebi command line tool.

2. Install any local .deb file
$ sudo gdebi mypackage_14.04_amd64.deb <enter>

This will install mypackage and will also install any dependencies that mypackage requires.