snap package 사용 방법
명령어(snap)
snap
$ snap
The snap command lets you install, configure, refresh and remove snaps.
Snaps are packages that work across many different Linux distributions,
enabling secure delivery and operation of the latest apps and utilities.
Usage: snap <command> [<options>...]
Commands can be classified as follows:
Basics: find, info, install, list, remove
...more: refresh, revert, switch, disable, enable
History: changes, tasks, abort, watch
Daemons: services, start, stop, restart, logs
Commands: alias, aliases, unalias, prefer
Configuration: get, set, unset, wait
Account: login, logout, whoami
Permissions: connections, interface, connect, disconnect
Snapshots: saved, save, check-snapshot, restore, forget
Other: version, warnings, okay, ack, known, model, create-cohort
Development: run, pack, try, download, prepare-image
버전 정보(snap version)
snap version
$ snap version
snap 2.45.2
snapd 2.45.2
series 16
ubuntu 18.04
kernel 4.15.0-112-generic
리스트(snap list)
snap list
$ snap list
Name Version Rev Tracking Publisher Notes
aws-cli 1.15.58 130 latest/stable aws✓ classic
core 16-2.45.2 9665 latest/stable canonical✓ core
검색(snap search)
$ snap search docker
Name Version Publisher Notes Summary
docker 19.03.11 canonical✓ - Docker container runtime
kata-containers 1.11.1 katacontainers✓ classic Lightweight virtual machines that seamlessly plug into the containers ecosystem
etcd 3.4.5 canonical✓ - Resilient key-value store by CoreOS
convos 4.22.0 jhthorsen - Multiuser chat application that runs in your web browser
stubb 0.3.1 circleci✓ - A Docker utility by CircleCI.
정보(snap info)
snap search docker
$ snap info docker
name: docker
summary: Docker container runtime
publisher: Canonical✓
store-url: https://snapcraft.io/docker
contact: snappy-devel@lists.ubuntu.com
license: (MIT AND Apache-2.0 AND GPL-2.0)
description: |
Build and run container images with Docker.
This build requires all files that Docker uses, such as dockerfiles, to be in $HOME. Keep files
there for 'docker build', 'docker save' and 'docker load'.
This snap is built by Canonical based on source code published by Docker, Inc. It is not endorsed
or published by Docker, Inc.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United
States and/or other countries. Docker, Inc. and other parties may also have trademark rights in
other terms used herein.
commands:
- docker.compose
- docker
- docker.help
- docker.machine
services:
docker.dockerd: simple, enabled, active
snap-id: sLCsFAO8PKM5Z0fAKNszUOX0YASjQfeZ
tracking: latest/stable
refresh-date: yesterday at 02:39 UTC
channels:
latest/stable: 19.03.11 2020-06-09 (471) 131MB -
latest/candidate: 19.03.11 2020-06-09 (471) 131MB -
latest/beta: 19.03.11 2020-06-08 (471) 131MB -
latest/edge: 19.03.11 2020-06-25 (483) 132MB -
17.03/stable: 17.03.2-ce-1 2017-07-20 (159) 42MB -
17.03/candidate: 17.03.2-ce-1 2017-06-30 (159) 42MB -
17.03/beta: ↑
17.03/edge: 17.03.2-ce-1 2017-06-30 (159) 42MB -
installed: 19.03.11 (471) 131MB -
설치(snap install)
$ snap install ntpserver
ntpserver 0.1 from cargonza installed
업그레이드(snap refresh)
snap install ntpserver
$ snap refresh ntpserver
snap "ntpserver" has no updates available
삭제(snap remove)
snap remove docker
$ snap remove docker
docker removed
728x90
'리눅스' 카테고리의 다른 글
[http] ab tools (0) | 2020.08.04 |
---|---|
[리눅스] 도커 설치(install docker on linux) (2) | 2020.07.26 |
[리눅스] nginx-module-vts 모듈 추가 (0) | 2020.07.21 |
[zabbix] zabbix agent 패키지 다운로드 (0) | 2020.06.25 |
[리눅스] MySQL 패스워드 정책 확인, 변경하기 (0) | 2020.06.22 |