nyck33@nyck33-ubuntu2304:/media/nyck33/2DA0F2CE46B4B745/fastapi/modern-apis-with-fastapi/ch05-a-realistic-api$ sudo du -sh /var/snap/* | sort -h
[sudo] password for nyck33:
12K /var/snap/bare
12K /var/snap/core18
12K /var/snap/core20
12K /var/snap/flutter
12K /var/snap/gnome-3-28-1804
12K /var/snap/gnome-3-38-2004
12K /var/snap/gtk-common-themes
12K /var/snap/kf5-5-108-qt-5-15-10-core22
12K /var/snap/kf5-5-110-qt-5-15-11-core22
16K /var/snap/code
16K /var/snap/core22
16K /var/snap/gnome-42-2204
16K /var/snap/snapd
16K /var/snap/vlc
488K /var/snap/cups
1.2M /var/snap/snapd-desktop-integration
1.2M /var/snap/snap-store
1.3M /var/snap/skype
1.4M /var/snap/discord
1.4M /var/snap/okular
1.4M /var/snap/spotify
22M /var/snap/firefox
nyck33@nyck33-ubuntu2304:/media/nyck33/2DA0F2CE46B4B745/fastapi/modern-apis-with-fastapi/ch05-a-realistic-api$ snap saved
No snapshots found.
nyck33@nyck33-ubuntu2304:/media/nyck33/2DA0F2CE46B4B745/fastapi/modern-apis-with-fastapi/ch05-a-realistic-api$
删除 ChatGPT 答案
我让 Ubuntu 决定如何安装 23.04,这就是它给我的。
它看起来像是
/dev/nvme1n1p4
安装在/
和 处/var/snap
。挂载于/
意味着它是您的根驱动器并将包含您的大部分文件,而不仅仅是 Snap 在该分区上存储文件。由于您使用的是 gui,我建议您运行一下
baobab
看看什么占用了您的所有空间:sudo baobab /