잠시만 기다려 주세요

     '검찰공화국, 부패공화국... 윤석열은 내려와라... 그리고 수사 받아라... 당신은 대통령을 할 자격이 없다.'
전체검색 :  
이번주 로또 및 연금번호 발생!!   |  HOME   |  여기는?   |  바다물때표   |  알림 (17)  |  여러가지 팁 (1073)  |  추천 및 재미 (158)  |  자료실 (22)  |  
시사, 이슈, 칼럼, 평론, 비평 (696)  |  끄적거림 (137)  |  문예 창작 (716)  |  바람 따라 (75)  |  시나리오 (760)  |  드라마 대본 (248)  |  
살인!


    리눅스 데스크탑

리눅스 데스크탑 - Disabling Snaps in Ubuntu 20.04, 우분투 snap 끄기, 삭제
이 름 : 바다아이   |   조회수 : 9156         짧은 주소 : https://www.bada-ie.com/su/?641602496820
아 증말.. 우분투 고집이 원... 예전 unity 로 고집 피우다 포기하고서는 또 고집을 피웁니다.
이번에는 패키지 관리를 snap 으로 하려고 하네요... 이것도 아마 버티다 포기하지 않을까 합니다.
여러가지 정황상 snap 의 성능이나 등등 별로인 걸로 나타났는데 왜 자꾸만 버티는지...

요즘 우분투가 자꾸만 독자적인 노선을 걸으려는 성향을 보이네요..
폐쇄적으로 변하려고 하는데 영... 어째.... 아치리눅스나 데비안으로 이사 하셔야 할 듯 합니다.
아래는 20.04 에서 snap 기능을 제거하는 법입니다.
근데 우분투가 계속 이 방향으로 간다면 배포판 번지수를 옮기는 수 밖에 없네요...

snap 으로 설치한 패키지 snap 으로 싹다 지우세요...
df -h  로 파티션 확인해 보시면 snap 으로 잡힌 파티션들 보이실 겁니다.
다 mount  해제 하시고 나중에 apt 로 snap 패키지를 완전히 지우시면 되겠습니다.
재부팅 후 df -h 해서 파티션에 snap 관련 남아있으면 다시 하나하나 삭제해 주세요...

 

Intro

Don't get me wrong, snaps are great in theory - If you aren't familiar, a snap package is like a sandboxed application that is packaged in such a way that:

  • You can be sure you're running exactly what the app developer intended, as all dependencies and assets are bundled into the snap application package
  • The snap application generally doesn't own your entire system, it runs in an application sandbox of sorts
  • Snaps are cross-platform and distributed independently from apt/deb packages, and as such are usually more up to date than those found in apt

Now this all sounds great, and it is in some ways (especially for app developers), but it comes at a cost: and that is generally performance and annoyances with application theming, access to user folders, and the like. I personally find that if I want to run a sandboxed application I lean more toward Flatpak as it is more performant and seems a bit more mature than Canonical's snap system.

In any event, I usually disable snaps entirely on a fresh install of Ubuntu, and I'll show you how to do that in the new Ubuntu 20.04 release.

1. Remove existing Snaps

On a fresh Ubuntu install, a few snaps come preinstalled. You can see the list of them using snap list:

kevin@olubuntu:~$ snap list
Name               Version           Rev   Tracking         Publisher   Notes
core               16-2.44.1         8935  latest/stable    canonical✓  core
core18             20200311          1705  latest/stable    canonical✓  base
gnome-3-34-1804    0+git.2c86692     24    latest/stable/…  canonical✓  -
gtk-common-themes  0.1-30-gd41a42a   1502  latest/stable/…  canonical✓  -
snap-store         20200415.e028804  394   latest/stable/…  canonical✓  -

To remove these, you will need them using sudo snap remove <package>.

Run the following command to remove them all:

sudo snap remove snap-store
sudo snap remove gtk-common-themes
sudo snap remove gnome-3-34-1804
sudo snap remove core18

You might be wondering why I didn't remove the core snap...well it turns out you can't remove that one but it will get removed anyway in the next steps.

2. Unmount the snap core service

You'll need to replace the xxxx with the actual ID inside the core directory on your system, which you can find out by running df

sudo umount /snap/core/xxxx

3. Remove and purge the snapd package

Next, to remove the snapd package and all of its related services, run:

sudo apt purge snapd

4. Remove any lingering snap directories

Finally, you can remove the remaining snap directories on the system. You may not have any of these directories after step 3, and that's okay. I didn't have these directories on a fresh Ubuntu 20.04 install once snapd was removed, but your mileage may vary.

rm -rf ~/snap
sudo rm -rf /snap
sudo rm -rf /var/snap
sudo rm -rf /var/lib/snapd

Enjoy a snap-free Ubuntu

It's that simple, now your Ubuntu 20.04 system is free of Snaps! 🙂


 

출처 : https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-04/
 
| |





      1 page / 9 page
번 호 카테고리 제 목 이름 조회수
241 리눅스 데스크탑 6.12.9+bpo-amd64... VirtualBox 7.1.6 for Linux.. amd-v .... SVM(Secure Virtual Machine) 바다아이 7
240 리눅스 데스크탑 uuid .... fstab uuid ... blkid 바다아이 48
239 리눅스 데스크탑 ... path ... 바다아이 52
238 리눅스 데스크탑 debian backports .... ?? 바다아이 88
237 리눅스 데스크탑 .... . ... 바다아이 95
236 리눅스 데스크탑 Wine completely broken - wine: could not load kernel32.dll, status c0000135 바다아이 92
235 리눅스 데스크탑 ... ... ... 바다아이 120
234 리눅스 데스크탑 debian trixie media-downloader ... ... 바다아이 86
233 리눅스 데스크탑 .... qt5 build-essential 바다아이 81
232 리눅스 데스크탑 archlinux lightdm .... 바다아이 169
231 리눅스 데스크탑 ... archinstall... .. 바다아이 209
230 리눅스 데스크탑 .... pacman -Suy ... 바다아이 468
229 리눅스 데스크탑 archlinux... Libalpm.so.14 error after updating to pacman 7 바다아이 492
228 리눅스 데스크탑 ... 바다아이 1102
227 리눅스 데스크탑 .... 바다아이 927
226 리눅스 데스크탑 libreoffice hwp , ... 바다아이 1140
225 리눅스 데스크탑 uefi .... . 바다아이 1429
224 리눅스 데스크탑 mkfs ... .. 바다아이 1347
223 리눅스 데스크탑 ... hd 4600.. Ubuntu Intel graphics driver install, 바다아이 3403
222 리눅스 데스크탑 virtualbox ... ntfs.sys ... virtualbox .. 바다아이 3614
221 리눅스 데스크탑 , 10 ... archlinux, window10 dual-boot 바다아이 3494
220 리눅스 데스크탑 , .... ... 바다아이 4471
219 리눅스 데스크탑 Installation from WineHQ's repo, debian wine ... 바다아이 4984
218 리눅스 데스크탑 xfce4 debian .... uim fcitx 바다아이 5465
217 리눅스 데스크탑 archlinux , .... 바다아이 4373
216 리눅스 데스크탑 firefox .... ... 바다아이 4372
215 리눅스 데스크탑 zip , unzip 바다아이 4024
214 리눅스 데스크탑 automouse autoclick xdotool 바다아이 5027
213 리눅스 데스크탑 xfce4 pacman .. 바다아이 4333
212 리눅스 데스크탑 debian intel-microcode [Firmware Bug]: TSC_DEADLINE disabled due to Errata - what should I do about this? 바다아이 4929
| |









Copyright ⓒ 2001.12. bada-ie.com. All rights reserved.
이 사이트는 리눅스에서 firefox 기준으로 작성되었습니다. 기타 브라우저에서는 다르게 보일 수 있습니다.
[ Ubuntu + GoLang + PostgreSQL + Mariadb ]
서버위치 : 오라클 클라우드 춘천  실행시간 : 0.05743
to webmaster... gogo sea. gogo sea.