Today I installed Elementary OS Loki into a VM. I was surprised, that the system is so fast and pretty.But to the point:How to install .deb packages and resolve any dependencies on Elementary OS?
How to manage deb based packages/dependencies
apt;software installation;elementary os;aptitude;deb
As there are more ways to achieve the goal, I list two CLI options, where apt is, subjectively, the best and recommended:1st choice: apt (and apt-get)sudo apt install ./long-package-name.debNote, that I specifically mean apt, not apt-get, because it does not auto-complete the file names, otherwise you may of course do this, if you insist on using apt-get, e.g. in scripts:PACKAGE=$(echo long-package-name.deb)sudo apt-get install ./$PACKAGE2nd choice: gdebisudo gdebi long-package-name.debAs I don't use gdebi, I can't recommend it, nor say something against it, apart from what I just tried, I will share this with you:I installed a .deb package with aptI ran sudo apt updateI ran sudo apt install ./long-package-name.deb with the expected result:PACKAGE is already the newest version (VERSION).I ran sudo gdebi long-package-name.deb with undesirable result:Do you want to install the software package?Maybe it's just me, that I don't know how to properly use gdebi.