Snap: Difference between revisions
Jump to navigation
Jump to search
Line 74: | Line 74: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://snapcraft.io/kontena-lens Snapcraft » Kontena Lens] | |||
* [https://snapcraft.io/distrobuilder Snapcraft » Distrobuilder] | |||
* [https://askubuntu.com/questions/1075050/ Snapcraft » Clear Cache] | * [https://askubuntu.com/questions/1075050/ Snapcraft » Clear Cache] | ||
* [https://snapcraft.io/telegram-desktop Snapcraft » Telegram] | * [https://snapcraft.io/telegram-desktop Snapcraft » Telegram] | ||
* [https://snapcraft.io/postman Snapcraft » Postman] | |||
* [https://snapcraft.io/nvim Snapcraft » Neovim] | |||
* [https://snapcraft.io/code Snapcraft » VSCode] | * [https://snapcraft.io/code Snapcraft » VSCode] | ||
* [https://snapcraft.io/bottom Snapcraft » Bottom] | * [https://snapcraft.io/bottom Snapcraft » Bottom] | ||
Line 94: | Line 97: | ||
* [[CocoaPods]] | * [[CocoaPods]] | ||
* [[Homebrew]] | * [[Homebrew]] | ||
* [[Linuxbrew]] | |||
| valign="top" | | | valign="top" | |
Revision as of 04:06, 20 October 2024
sudo apt update sudo apt install snapd sudo snap set system refresh.retain=2 |
sudo snap refresh sudo list --all sudo list |
sudo du -sh /var/lib/snapd/cache sudo du -sh /var/lib/snapd/snaps sudo ls -lah /var/lib/snapd/snaps |
Playground
sudo snap set system refresh.retain=2
sudo du -sh /var/lib/snapd/cache
sudo list --all
|
sudo ls -l /var/lib/snapd/cache | sed '1d' \
| cut --fields=2 --delimiter=' ' \
| grep 1 | wc --lines
|
| |
export LANG=en_US.UTF-8;\
sudo snap set system refresh.retain=2;\
snap list --all | awk '/disabled/{print $1, $3}' |\
while read NAME REVISION;do echo "${NAME} » ${REVISION}";done
| |
| |
export LANG=en_US.UTF-8;\
sudo snap set system refresh.retain=2;\
snap list --all | awk '/disabled/{print $1, $3}' |\
while read NAME REVISION;do sudo snap remove "${NAME}" --revision="${REVISION}";done
| |
| |
systemctl status snapd.service systemctl start snapd.service systemctl stop snapd.service |
df -PTh /var/lib/snapd |
References
| ||