Automic VaultAutomic Vault

brew

使用 Homebrew 安装 libslax

查看 libslax 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libslax

local Homebrew formula metadata

概览

软件包摘要

Implementation of the SLAX language (an XSLT alternative)

命令和别名

  • slax-config
  • slaxproc

历史

项目历史与用法

libslax is Juniper's open-source C implementation of SLAX, an alternate syntax for XSLT used for Junos automation scripts. It provides the parser, writer, processor, debugger, profiler, and libraries behind the `slaxproc` command.

项目历史

Juniper documentation describes SLAX, Stylesheet Language Alternative syntaX, as a language for Junos OS commit scripts, op scripts, event scripts, and SNMP scripts. It keeps XSLT semantics but replaces XML-heavy syntax with a style closer to C and Perl.

The libslax distribution overview says SLAX was originally developed as part of Junos OS for on-box scripting to customize and enhance the CLI. It also describes libslax as an open-source New BSD licensed C implementation built on libxml2, libxslt, and libexslt.

采用历史

libslax adoption is concentrated in the Junos ecosystem. Juniper states that standard Junos OS and Junos OS Evolved include the libslax tools, while the open-source distribution can be installed on a Unix-like computer for off-box SLAX development.

The Juniper version table ties libslax versions to Junos releases, including libslax 0.14.1 with Junos OS 14.1, libslax 0.17.1 across Junos 14.2 through 17.3, libslax 0.22.0 across Junos 17.4 through 25.2, and libslax 3.1.6 for 25.4R1 and later.

使用方式

Network engineers use libslax indirectly through Junos script execution and directly through `slaxproc` to validate SLAX syntax, run or debug scripts, format files, and convert between SLAX and XSLT. The debugger and profiler make it more than a syntax translator.

Outside Junos devices, Homebrew's package gives developers a local Unix-like environment for writing and testing SLAX scripts before deploying them into Junos automation workflows.

为什么软件包爱好者会关心

libslax is niche, but it is a useful package-manager artifact because it exposes a vendor network-automation language as a normal open-source C toolchain. It pulls Junos scripting out of appliance firmware and into local development environments.

It also represents an unusual branch in XSLT history: rather than replacing XSLT, SLAX keeps the transform model and changes the surface syntax so humans can write network automation code with less XML noise.

时间线

  • 2014: Juniper's version table maps Junos OS 14.1 to libslax 0.14.1 and SLAX 1.1.
  • 2017: The libslax Read the Docs build records Juniper Networks copyright for the hosted documentation.
  • 2025-08-26: The Juniper/libslax GitHub repository release list records libslax-3.1.6.
  • 25.4R1: Juniper's version table maps Junos OS 25.4R1 and later to libslax 3.1.6 and SLAX 1.3.

Related projects

  • libslax is built on libxml2, libxslt, and libexslt. It is closely related to Junos OS automation scripting, Juniper's junoscriptorium example repository, and the broader XSLT/XML tooling ecosystem.

来源

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
slax-configcli全局可执行文件
slaxproccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本3.1.6
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Juniper/libslax

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/Juniper/libslaxnone 置信度

安装元数据

软件包元数据

软件包键brew:libslax
版本3.1.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libslax
主页https://github.com/Juniper/libslax/wiki
仓库https://github.com/Juniper/libslax
上游文档https://github.com/Juniper/libslax/wiki
许可证BSD-3-Clause
源码归档https://github.com/Juniper/libslax/releases/download/3.1.6/libslax-3.1.6.tar.gz
依赖openssl@3
构建依赖bison, libtool
macOS 提供的库curl, libedit, libxml2, libxslt, sqlite
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibslax
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • gastown
  • genometools
  • libxi
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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