# libxo を Homebrew, apk, dnf, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:libxo
```

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

### macOS

- Homebrew (100%):

```sh
brew install libxo
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxo
```

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

### Linux

- apk (92%):

```sh
sudo apk add libxo
```

  証拠: Alpine Linux edge package indexes: libxo from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libxo
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libxo
```

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

## パッケージ情報

- **パッケージキー:** brew:libxo
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libxo>
- **バージョン:** 1.7.5
- **ソース概要:** Allows an application to generate text, XML, JSON, and HTML output
- **ホームページ:** <https://juniper.github.io/libxo/libxo-manual.html>
- **リポジトリ:** <https://github.com/Juniper/libxo>
- **上流ドキュメント:** <https://juniper.github.io/libxo/libxo-manual.html>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://github.com/Juniper/libxo/releases/download/1.7.5/libxo-1.7.5.tar.gz>
- **生成日時:** 2026-07-09T07:20:21+00:00

## 実行可能ファイル

- libxo-config (cli)
- xo (cli)
- xohtml (cli)
- xolint (cli)
- xopo (cli)
- libxo-config (エイリアス)
- xo (エイリアス)
- xohtml (エイリアス)
- xolint (エイリアス)
- xopo (エイリアス)

## ビルド依存関係

- libtool

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-09
- マネージャ版: 1.7.5
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Juniper/libxo
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

libxo is a C library from Juniper for emitting traditional text, XML, JSON, and HTML from one set of output calls. It is best known in package culture through FreeBSD's structured-output work.

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

The project README explains the central idea: applications call xo_emit with field descriptors, and the selected output style is chosen at runtime. GitHub tag metadata places the 0.1.0 tag at a commit dated 2014-07-30.

The FreeBSD manual page records Phil Shafer as author and says the library was added in FreeBSD 11.0. That adoption moved libxo from a standalone library into the base-system conversation about machine-readable command output.

### 採用の歴史

FreeBSD's adoption gave libxo a practical audience: base utilities could keep human-readable output while adding JSON, XML, or HTML modes for scripts and automation. The package is also available outside FreeBSD for projects that want the same structured-output model.

### 使われ方

Users generally encounter libxo through commands that accept a libxo output mode or through the xo utility family. Developers use the library when they want one formatting path to serve terminal text and structured data consumers.

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

libxo matters because it is a concrete answer to the long-running Unix problem of parsing human text with fragile awk and sed pipelines. It represents the package-manager-adjacent push toward structured CLI output without abandoning traditional command output.

### タイムライン

- 2014: The 0.1.0 GitHub tag points to a commit dated 2014-07-30.
- 2014: The FreeBSD Ports manual page date for libxo(3) is 2014-12-08.
- 2016: FreeBSD 11.0 included libxo according to the FreeBSD manual page.
- 2020s: libxo remains packaged for Homebrew, FreeBSD ports, and multiple Unix-like distributions.

### Related projects

- FreeBSD base utilities are the most visible related ecosystem. jq and other JSON-processing tools are common downstream companions when libxo-enabled commands emit JSON.

### ソース

- <https://api.github.com/repos/Juniper/libxo/commits/a9a27bd4587282e27e108b1d4f3f4cbf2b67ba57>
- <https://github.com/Juniper/libxo>
- <https://juniper.github.io/libxo/libxo-manual.html>
- <https://man.freebsd.org/cgi/man.cgi?query=libxo&sektion=3&manpath=FreeBSD+Ports+14.2>
- <https://raw.githubusercontent.com/Juniper/libxo/develop/README.md>


## セキュリティノート

library-like package without higher-risk signals.

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libxo
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - libxo: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libxo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libxo - 1.7.5-r0: normalized package name match | Alpine Linux edge package indexes: libxo from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Library for Generating Text, XML, JSON, and HTML Output | http://juniper.github.io/libxo/libxo-manual.html
- apk - libxo-dev - 1.7.5-r0: normalized package name match | Alpine Linux edge package indexes: libxo-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Library for Generating Text, XML, JSON, and HTML Output (development files) | http://juniper.github.io/libxo/libxo-manual.html
- apk - libxo-doc - 1.7.5-r0: normalized package name match | Alpine Linux edge package indexes: libxo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Library for Generating Text, XML, JSON, and HTML Output (documentation) | http://juniper.github.io/libxo/libxo-manual.html
- dnf - libxo - 1.7.5-3.fc44: normalized package name match | Fedora Rawhide package metadata: libxo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A Library for Generating Text, XML, JSON, and HTML Output | https://github.com/Juniper/libxo
- dnf - libxo-devel - 1.7.5-3.fc44: normalized package name match | Fedora Rawhide package metadata: libxo-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for libxo | https://github.com/Juniper/libxo
- MacPorts - libxo: normalized package name match | MacPorts ports tree: devel/libxo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [libtool](https://www.automicvault.com/ja/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [libxml2](https://www.automicvault.com/ja/pkg/brew/libxml2/) - Shares av.db curated category or tags: c-library, cli, developer-tools, html, libraries.
- [expat](https://www.automicvault.com/ja/pkg/brew/expat/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries, xml.
- [libxslt](https://www.automicvault.com/ja/pkg/brew/libxslt/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries, xml.
- [cdk](https://www.automicvault.com/ja/pkg/brew/cdk/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [fstrm](https://www.automicvault.com/ja/pkg/brew/fstrm/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [json-glib](https://www.automicvault.com/ja/pkg/brew/json-glib/) - Shares av.db curated category or tags: cli, developer-tools, json, libraries.
- [libevent](https://www.automicvault.com/ja/pkg/brew/libevent/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [ncurses](https://www.automicvault.com/ja/pkg/brew/ncurses/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [xo](https://www.automicvault.com/ja/pkg/npm/xo/) - Executable or command metadata overlaps with this package. Shared terms: cli, config, developer, developer-tools, xo.

## Combined YAML source

View the package source record on GitHub. [combined/libxo.yml](https://github.com/automic-vault/db/blob/main/combined/libxo.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
