# snap を Homebrew, apt でインストール

snap のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:snap
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install snap
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install snap
```

  証拠: Debian stable package indexes: snap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:snap
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.76
- **ソース概要:** Tool to work with .snap files
- **ホームページ:** <https://snapcraft.io/>
- **リポジトリ:** <https://github.com/canonical/snapd>
- **最終更新:** 2026-07-28T13:36:18-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- snap (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.76
## プロジェクトの歴史と使われ方

snap is the command-line interface provided by snapd for working with .snap packages and the Snap ecosystem.

### プロジェクトの歴史

The official snapd repository was created in October 2015. Snapcraft documentation describes snaps as self-contained packages across Linux distributions, while snapd handles installation, confinement, and updates.

### 採用の歴史

Official Ubuntu installation docs say snap is pre-installed and ready to use on Ubuntu 16.04 LTS and later. The supplied metadata shows Homebrew, Debian, and Ubuntu packaging.

### 使われ方

Users run snap list, snap install, snap refresh, snap remove, and snap run to manage installed snaps. Advanced functionality is documented as command-line oriented even when graphical package managers are available.

### パッケージ好きにとっての重要性

snap is significant because it is both a package format interface and a distribution mechanism: snapd manages confinement, automatic updates, channels, revisions, assertions, and cross-distribution installation semantics.

### タイムライン

- 2015: Official snapd GitHub repository created.
- 2016: Ubuntu 16.04 LTS and later include snap support by default according to official docs.
- 2026: Official docs describe snapd as handling installation, confinement, and updates across Linux distributions.

### Related projects

- snapd
- Snapcraft
- Snap Store
- Ubuntu Core

### ソース

- <https://api.github.com/repos/canonical/snapd>
- <https://github.com/canonical/snapd>
- <https://snapcraft.io/docs/>
- <https://snapcraft.io/docs/reference/glossary/>
- <https://snapcraft.io/docs/tutorials/get-started/>
- <https://snapcraft.io/docs/tutorials/install-the-daemon/ubuntu/>
- input source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - snap - 2013-11-29-11: normalized package name match | Debian stable package indexes: snap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | location of genes from DNA sequence with hidden markov model | https://github.com/KorfLab/SNAP
- Ubuntu apt - snap - 2013-11-29-11: normalized package name match | Ubuntu 24.04 LTS package indexes: snap from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | location of genes from DNA sequence with hidden markov model | https://github.com/KorfLab/SNAP


## Combined YAML source

View the package source record on GitHub. [combined/snap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snap.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
