Ubuntu(Ubuntu 20.04 LTS)는 최근 스냅 패키지(예: Chromium)로 악명이 높습니다. 로드하기가 어렵습니다. 이것이 내가 그들을 막기 위해 한 일이다. 누구든지 더 좋은 생각이 있나요?
sudo rm -rf /var/cache/snapd/
sudo apt autoremove --purge snapd gnome-software-plugin-snap
rm -fr ~/snap
# (OPTIONAL) Following command will make sure snapd does not get installed again as a dependency
# Downside is that you will get an error if you try to install certain packages
# those come only as snaps
sudo apt-mark hold snapd
답변1
정보를 좀 찾았어https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-04/. 해당 게시물과 내 실험의 정보를 결합하여 수행해야 할 작업은 다음과 같습니다.
sudo apt purge snapd
rm -vrf ~/snap
# following may not be required as apt purge already removes them
sudo rm -vrf /snap /var/snap /var/lib/snapd /var/cache/snapd /usr/lib/snapd
# (OPTIONAL STEP)
# Trying to install some package like chromium-browser will bring back snapd
# make sure snapd is not installed as a dependency anymore
# downside is that some package installation might fail because of dependecy on snapd
sudo apt-mark hold snapd