Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1245  / 2 Years ago, fri, july 29, 2022, 5:03:57

I have just upgraded from 16.04 to 20.04 and I read that there is a new package manager called snap. However I still also have apt. Moreover, when I do


snap list

I see a package called python3, version 3.8.0, by a publisher called "om26er" (no idea who this is).


I did not know anything about snap until this morning; I certainly did not install anything by snap myself. How did this python installation got into my computer? And how should I remove it without damaging my system?


More generally: I am quite confused by the fact that I have both apt and snap. How do these two package managers work together? Should I use only one of them and not the other? Sorry for the newbie question - all I want is to have a stable system so that I can get back to work.


More From » apt

 Answers
2

You certainly should not remove the regular python3 package from the APT package management system. The Ubuntu system depends on it for your operation, and you will break your desktop if you remove that and even if you upgrade that.


You can remove the snap version if you feel like it. The choice is yours. For sure, this package has not been automatically installed. At most, it might have been installed as a dependency of another snap package, if you did not install it explicitly yourself.


APT and snap work independently from each other. Snaps are by design self-contained so they can run on a range of linux systems. A possible benefit of a snap versus an APT package is that it allows you to run a more recent version of some application than the one provided with (and tied to) your system through the packages of your linux distribution. Some software using other toolkits (e.g. KDE applications) or proprietary software can be installed through snap, in a 1) convenient way and 2) without changing or mixing files into your main system. Some further reading on why apt or why snap can be found elsewhere on this site, such as here or here.


[#3051] Saturday, July 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ligenvirt

Total Points: 238
Total Questions: 98
Total Answers: 100

Location: Senegal
Member since Fri, Aug 21, 2020
4 Years ago
ligenvirt questions
Tue, Aug 17, 21, 02:28, 3 Years ago
Thu, Sep 23, 21, 17:55, 3 Years ago
Mon, Oct 18, 21, 03:34, 3 Years ago
Wed, Nov 2, 22, 16:37, 2 Years ago
;