Skip to content
Search

Snapcraft

lastmod 2025-05-21created 2019-02-1413 edits

Snapcraft (snapcraft), or Snappy, is a software deployment and package management system developed by Canonical, which began by designing and building it for the Ubuntu phone operating system. It is also supported in internet environments.

The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions, enabling the packaging of upstream software that is otherwise difficult to distribute. The system is designed to work for the internet of things, cloud, and desktop computing.

Downloading packages for offline installation

Download:

snap download somePackage

This creates two files:

somePackage.assert
somePackage.snap

Installation:

sudo snap ack somePackage.assert
sudo snap install somePackage.snap

Checking and connecting permissions

# 모든 가능한 인터페이스 목록 확인
snap connections [앱이름]

# 현재 앱에 사용 가능한 인터페이스 확인 (Deprecated 되어있다)
snap interfaces [앱이름]

# 권한 부여 (기본적인 시스템 접근)
sudo snap connect [앱이름]:system-files

Granting access permission to system files

sudo snap connect [앱이름]:system-files  # 없는듯?

# 필요시 특정 마운트 포인트 추가 설정 (확인 필요)
sudo snap set system experimental.system-files=true

classic

Sometimes you install with the --classic option. (Typically kubectl, helm, etc ...)

The warning message makes it clear:

오류: 이 스냅 "helm" 개정판은 클래식 제한을 사용하여 게시되었으므로 일반적으로 스냅이 제한되어 있는 보안 샌드박스 외부에서 임의의 시스템 변경을 수행할 수 있으며 이로 인해 시스템이 위험해질 수 있습니다.

이해하고 계속 진행하려면 --classic을 포함하여 명령을 반복하십시오.

It seems to mean that snap's security sandbox cannot be applied.

Troubleshooting

Allow settings change?

Allow settings change?

Allow snap "telegram-desktop" to change "default-url-scheme-handler" subproperty "tonsite" to "telegram-desktop_telegram-desktop.desktop" ?

This dialog will close automatically after 5 minutes of inactivity.

- ??????? Pressed NO for now. Check later.

See also

Favorite site

author Zer0 sitemap