So, just a tip for everyone running an OS based on Debian 8, or Ubuntu 16.04 or newer. Apt (not apt-get) has the ability to do local installations with dependency resolution. Unless you like installing gdebi (and all it's dependencies), there is absolutely no need for it anymore. Literally all the functionality of it is built into apt now.