Recently, I was planning to install Opera browser on my system, so I visited the official website, and downloaded the .deb
file, and installed it.
However, to my concern, for every update, I will be needing to download the .deb
file again and again, since I have not updated the repository in Software & Updates section. At this point I thought, Chrome itself added the repository, so maybe Opera must have done it too, but it didn't.
Same issue with the Discord application, i.e., I have to visit the official website and download the .deb
file for timely-updates.
However, I found that the Ubuntu software market ships both, Opera and Discord, but as snap packages. So I thought to give it a try, since it would relief me of downloading the .deb
files from the official website, and I can update them with just a command.
Here, I was recommended by some friends of mine that I shouldn't opt for the snap, because of some errors or something, which I am currently completely unaware of, and instead go for the official .deb
files.
Can someone explain me the differences?
EDIT: Since past few months, Chromium has too moved itself to the snap packages. Does this have any difference from past when it was in apt-get
package system?
.deb
file is one of the absolute worst ways to install software. Installing packages this way that are installable by your package manager is a good way to wreck your system or end up in dependency hell. It's somewhat opinion based, but I would prioritize software installation from best to worst method: 1) apt / GUI package manager; 2) snap/flatpak/appimage; 3) PPA; 4) .deb file; 5) manual compilation from source only when necessary – Nmath Oct 29 '20 at 15:54