Originally Posted by
lammert-nijhof
For me it is easy, I just double click on the deb file I want to install and gdebi takes care of everything and that includes the dependencies. So just "apt install gdebi" and problem solved. I never used the software center for this purpose, I use gdebi for deb installs as long as I can remember.
apt will do the same thing, just without any GUI.
Code:
sudo apt install ./path-to-file.deb
Before apt had this capability, I'd use sudo dpkg -i with sudo apt-get -f install to accomplish he same thing.
I have never used gdebi in my life.
While well-created .deb packages will check for and add a repository, many still do not, which leads to the .deb file which is manually installed causing package manager dependency issues in the future. It usually takes 3-6 months before that happens. I tend to have an OS installed for 2-4 yrs before migrating to the next release, so perhaps people who jump to the new release every 6 months don't experience these dependency issues? Anyway, on every system where I have manually installed any .deb files, I keep a text file with that list, so I can remove them, patch the system, then re-install a newer version of the .deb file manually. This is a big of a hassle, but sometimes it is the best choice, since using the source code and compiling everything, including dependency libraries, is a hassle.
Bookmarks