Automic VaultAutomic Vault

brew

Install libxo with Homebrew, apk, dnf, MacPorts, Nix

Allows an application to generate text, XML, JSON, and HTML output. Version 1.7.5 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libxo

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libxo

MacPorts ports tree · devel/libxo/Portfile · source: api.github.com

overview

Package summary

Allows an application to generate text, XML, JSON, and HTML output

Commands and aliases

  • libxo-config
  • xo
  • xohtml
  • xolint
  • xopo

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
libxo-configcliglobal executable
xocliglobal executable
xohtmlcliglobal executable
xolintcliglobal executable
xopocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.7.5
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/Juniper/libxo

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/Juniper/libxonone confidence

install metadata

Package metadata

Package keybrew:libxo
Version1.7.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libxo
Homepagehttps://juniper.github.io/libxo/libxo-manual.html
Repositoryhttps://github.com/Juniper/libxo
Upstream docshttps://juniper.github.io/libxo/libxo-manual.html
LicenseBSD-2-Clause
Source archivehttps://github.com/Juniper/libxo/releases/download/1.7.5/libxo-1.7.5.tar.gz
Build dependencieslibtool
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibxo
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

libxo

nix profile install nixpkgs#libxo
  • normalized package name match
  • Matched by: Libxo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libxo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

libxo 1.7.5-r0

Library for Generating Text, XML, JSON, and HTML Output

http://juniper.github.io/libxo/libxo-manual.html

sudo apk add libxo
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: libxo
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libxo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libxo from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

libxo-dev 1.7.5-r0

Library for Generating Text, XML, JSON, and HTML Output (development files)

http://juniper.github.io/libxo/libxo-manual.html

sudo apk add libxo-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: libxo
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libxo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libxo-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

libxo-doc 1.7.5-r0

Library for Generating Text, XML, JSON, and HTML Output (documentation)

http://juniper.github.io/libxo/libxo-manual.html

sudo apk add libxo-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: libxo
  • normalized package name match
  • Matched by: Libxo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libxo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

libxo 1.7.5-3.fc44

A Library for Generating Text, XML, JSON, and HTML Output

https://github.com/Juniper/libxo

sudo dnf install libxo
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libxo
  • 5 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Libxo
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libxo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libxo-devel 1.7.5-3.fc44

Development files for libxo

https://github.com/Juniper/libxo

sudo dnf install libxo-devel
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libxo
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libxo
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
MacPorts95%

libxo

sudo port install libxo
  • normalized package name match
  • Matched by: Libxo
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/libxo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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