install/remove snap on ubuntu

date
May 9, 2022
slug
tip-snap-install-remove
status
Published
summary
小技巧 这玩意还是蛮占空间的
tags
tip
type
Post
URL
notion image

Problem & Summary

安装

apt install -y snapd

卸载

snap list
snap remove lsd
# umount各种 /snap/core...
umount /snap/core18/2344
# ...
apt purge snapd
rm -rf ~/snap /snap /var/snap /var/lib/snapd

# should return error
snap --version
notion image
 

© Ying Bun 2021 - 2022