How to Remove Snaps from Ubuntu 24.04

in voilk •  3 months ago

    by @unklebonehead on UnkleBonehead
    View my bio on CastGarden: https://cast.garden/c/defluenced How to Remove Snaps from Ubuntu 24.04

    LANGUAGE WARNING
    I dropped the F bomb a couple of times. If that offends you move on to some other video.

    You all totally missed the point of my last video. You were thinking I was praising snaps. I was not. I said a lot of the hate that snaps get is not true and the vast majority of Ubuntu's users do not care about snaps. In this video I explain how you missed the point and why.
    I also explain how easy it is to remove snaps entirely if you feel you must use Ubuntu but hate snaps.

    Of course, obviously easiest solution is to just use a different distro that doesnt have snap. But if you do that, then what would you have to complain about?

    Commands from the video:
    snap list
    sudo snap remove --purge snap-name

    Do these last
    sudo snap remove --purge snapd
    sudo apt remove --autoremove snapd

    Then block snapd by creating a file at /etc/apt/preferences.d/nosnap.pref Use what ever text editor you lke. Im using vim.

    sudo vim /etc/apt/preferences.d/nosnap.pref

    Add this to that file:

    To prevent repository packages from triggering the installation of snap,

    this file forbids snapd from being installed by APT.

    Package: snapd
    Pin: release a=*
    Pin-Priority: -10


    Check out today’s video..!

      Authors get paid when people like you upvote their post.
      If you enjoyed what you read here, create your account today and start earning FREE VOILK!