Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

How To Remove Snapd From Ubuntu

  1. Home

By Khalid on 2023/07/05 - 10:11, last updated 2023/07/05 - 11:05

In recent long term support (LTS) releases of Ubuntu, Canonical has been adding more and more packages that are installed using snapd.

Snapd is a package manager that relies on static linking of dependencies, contrary to over two decades of Linux managing dependencies via dynamic linking, with Debian being the pioneer of this approach.

On desktop systems, packages like Firefox on Ubuntu are now forced to be in Snapd, rather than Debian. This is annoying, and counter intuitive for many reasons. Suffice it to say that those who have been using repositories in Debian format know that they get a robust system with minimal dependency issues, while also staying up to date at the same time.

So if you are like me and want to get rid of snap on your system, here is how to do it on Ubuntu Server LTS 22.04.

Which Packages are Installed via Snapd?
First, list the packages that are installed via snap, using this command:

snap list

The output will be similar to this:

Name    Version        Rev    Tracking       Publisher    Notes
core20  20230613       1950   latest/stable  canonical**  base
lxd     5.0.2-838e1b2  24322  5.0/stable/?   canonical**  -
snapd   2.59.5         19457  latest/stable  canonical**  snapd

Shutdown LXD
We need to remove all of those, but before we can remove lxd, we need to shut it down first:

sudo lxd shutdown

Remove Snapd Packages

Then remove the packages that are installed via snap:

sudo snap remove lxd 
sudo snap remove core20

Remove Snapd Itself

And finally remove snapd itself, first from snap, then from apt:

sudo snap remove snapd
sudo apt remove snapd

Now you have a snapd free server system ...

On the desktop, I was able to remove snap on Xubuntu 20.04, but have not tried that on 22.04 yet.
If you have done this on a desktop, let me know in the comments below.

Contents: 
Linux
Tags: 
Ubuntu
  • Add comment

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • How To Remove Snapd From Ubuntu
  • The Corporation: a psychopathic entity, with psychopaths for CEOs
  • E.G.C. English Girls College or El Nasr Chatby College
  • FYSETC S6 3D Printer Board for OnStep Telescope Controller
  • The Rise Of Right Wing Violence And Terrorism In The USA And The West
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu OnStep Sony OpenWRT Ericsson Router Arabic COVID-19 Rogers Coronavirus GSM Kubuntu 419 Home Assistant Spectrum tablet Telescope Scam App backup Balkanization Comet Conspiracy CPU DIY Firefox Laptop Malta
More

© Copyright 1999-2023 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.