• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

purge

How To Remove Snap

July 7, 2020

Snap is cool, but not for everyone. To remove, follow these steps.

# get list
snap list
# remove snaps. repeat for each app.
snap remove chromium
# remove snapd
apt purge snapd
# remove snap from home
rm -rf ~/snap
# clean up cache
rm -rf /var/cache/snapd
apt purge snapd

# get list snap list # remove snaps. repeat for each app. snap remove chromium # remove snapd apt purge snapd # remove snap from home rm -rf ~/snap # clean up cache rm -rf /var/cache/snapd apt purge snapd

Filed Under: Linux Tagged With: purge, remove, snap, ubuntu

Empty Buffer or Cache

February 1, 2019

Here’s the command to empty or clear Linux’s buffer or cache. Run it as root.

free && sync && echo 3 > /proc/sys/vm/drop_caches && free

free && sync && echo 3 > /proc/sys/vm/drop_caches && free

Filed Under: Linux Tagged With: buffer, cache, clear, purge

  • Home
  • About
  • Archives

Copyright © 2023