# sonic を Homebrew, apt, dnf, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:sonic
```

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

### macOS

- Homebrew (100%):

```sh
brew install sonic
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sonic
```

  証拠: MacPorts ports tree: audio/sonic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install sonic
```

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

- dnf (92%):

```sh
sudo dnf install sonic
```

  証拠: Fedora Rawhide package metadata: sonic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sonic
```

  証拠: nixpkgs package indexes: pkgs/by-name/so/sonic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sonic
```

  証拠: Arch Linux sync databases: sonic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:sonic
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.7.4
- **ソース概要:** Fast, lightweight & schema-less search backend
- **ホームページ:** <https://github.com/valeriansaliou/sonic>
- **リポジトリ:** <https://github.com/valeriansaliou/sonic>
- **最終更新:** 2026-07-09T22:53:16Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sonic (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Sonic is a Rust search backend packaged as a small server and CLI-oriented service rather than a large search platform. Its README frames it as a lightweight, schema-less alternative to heavier systems such as Elasticsearch for identifier-based search, autocomplete, typo correction, and low-resource indexing.

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

Sonic was created by Valerian Saliou and the official repository says the project was initially announced on the author's journal. GitHub repository metadata records the public repository as created in February 2019, matching the README's early emphasis on using Sonic at Crisp for production search workloads.

The design centers on the Sonic Channel protocol rather than an HTTP API. That made Sonic feel more like Redis-style infrastructure to package and run: a daemon, a TOML-like configuration file, a TCP port, and client libraries for applications that need to push identifiers into an index and query them later.

### 採用の歴史

The official README lists Crisp and Scrumpy as users and describes Crisp using Sonic for search across messages, conversations, contacts, and helpdesk articles. It also documents official packages for Debian-based systems, Cargo installation, Docker images, and non-official Homebrew packaging.

The package-manager metadata in this batch shows Sonic available beyond Homebrew, including Debian, Ubuntu, Fedora, Arch, MacPorts, and Nix. That spread is notable because Sonic is a niche search daemon, not a general-purpose library.

### 使われ方

Operators run Sonic with a configuration file, commonly the sample `config.cfg` or a path supplied with `-c` or `--config`. Applications interact with it through Sonic Channel to push, pop, flush, query, and suggest identifiers.

Sonic is commonly attractive for small and medium products that want fast full-text-ish lookup without operating a larger search stack. It stores search terms and identifiers, leaving document storage and enrichment to the caller's database.

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

For package-manager users, Sonic is interesting because it turns a search backend into one installable daemon with modest runtime expectations. It is the kind of package that appeals to people who like replacing a large service dependency with a single binary plus a small config file.

Its continued releases through 2026, including split core/client/server release artifacts, also show a Rust infrastructure tool maturing while still keeping a Unix-friendly operational shape.

### タイムライン

- 2019: Public GitHub repository created and Sonic documented as running in Crisp search products.
- 2024: Sonic v1.4.9 released on GitHub.
- 2026: Sonic v1.7.0 released on GitHub.

### Related projects

- Elasticsearch is the heavier search backend explicitly used as Sonic's comparison point.
- Redis is a useful operational comparison because the README describes Sonic Channel as the only interaction protocol and emphasizes simplicity.
- Sonic Channel client libraries connect Sonic to Node.js, PHP, Rust, Python, Ruby, Go, Java, Elixir, and other ecosystems.

### ソース

- <https://api.github.com/repos/valeriansaliou/sonic>
- <https://api.github.com/repos/valeriansaliou/sonic/releases>
- <https://github.com/valeriansaliou/sonic>
- <https://github.com/valeriansaliou/sonic/blob/master/CONFIGURATION.md>
- input.json source_facts.package-manager


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./config.cfg
## 他のパッケージマネージャ記録

- Debian apt - libsonic-dev - 0.2.0-13+b1: normalized package name match | Debian stable package indexes: libsonic-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header file for linking to libsonic | https://github.com/waywardgeek/sonic
- Debian apt - libsonic-java - 0.2.0-13: normalized package name match | Debian stable package indexes: libsonic-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple library to speed up or slow down speech - Java bindings | https://github.com/waywardgeek/sonic
- Debian apt - libsonic0 - 0.2.0-13+b1: normalized package name match | Debian stable package indexes: libsonic0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple library to speed up or slow down speech | https://github.com/waywardgeek/sonic
- Debian apt - sonic - 0.2.0-13+b1: normalized package name match | Debian stable package indexes: sonic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple utility to speed up or slow down speech | https://github.com/waywardgeek/sonic
- Nix - sonic: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/sonic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsonic-dev - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsonic-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Header file for linking to libsonic | https://github.com/waywardgeek/sonic
- Ubuntu apt - libsonic-java - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsonic-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple library to speed up or slow down speech - Java bindings | https://github.com/waywardgeek/sonic
- Ubuntu apt - libsonic0 - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsonic0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Simple library to speed up or slow down speech | https://github.com/waywardgeek/sonic
- Ubuntu apt - sonic - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: sonic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple utility to speed up or slow down speech | https://github.com/waywardgeek/sonic
- dnf - libsonic - 0.2.0^20210316gitba33141-2.fc45: normalized package name match | Fedora Rawhide package metadata: libsonic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library package | https://github.com/waywardgeek/sonic
- dnf - libsonic-devel - 0.2.0^20210316gitba33141-2.fc45: normalized package name match | Fedora Rawhide package metadata: libsonic-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for sonic | https://github.com/waywardgeek/sonic
- dnf - sonic - 0.2.0^20210316gitba33141-2.fc45: normalized package name match | Fedora Rawhide package metadata: sonic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library to speed up or slow down speech | https://github.com/waywardgeek/sonic
- pacman - sonic - 1.7.4-1: normalized package name match | Arch Linux sync databases: sonic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast, lightweight & schema-less search backend | https://github.com/valeriansaliou/sonic
- MacPorts - sonic: normalized package name match | MacPorts ports tree: audio/sonic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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