Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 libsvm

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libsvm

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libsvm

MacPorts ports tree · math/libsvm/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install libsvm-dev

Debian stable package indexes · libsvm-dev · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install libsvm

Fedora Rawhide package metadata · libsvm · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libsvm

nixpkgs package indexes · pkgs/by-name/li/libsvm/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libsvm

Arch Linux sync databases · libsvm · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install libsvm-devel

openSUSE Tumbleweed package metadata · libsvm-devel · 来源: download.opensuse.org

概览

软件包摘要

Library for support vector machines

命令和别名

  • svm-predict
  • svm-scale
  • svm-train

历史

项目历史与用法

LIBSVM is a compact support-vector-machine toolkit from Chih-Chung Chang and Chih-Jen Lin at National Taiwan University. Its culture is unusually package-manager friendly: small C++ sources, three command-line programs, language bindings, sample data, and enough documentation for researchers to reproduce an SVM workflow without adopting a large framework.

项目历史

The project traces to 2000, the first year in the upstream copyright notice and the year identified by the 2011 ACM TIST paper as the start of active development. The official homepage describes LIBSVM as integrated software for support-vector classification, regression, and one-class distribution estimation, with multiclass classification, cross-validation, probability estimates, multiple kernels, and automatic model selection.

Version 2.8 incorporated an SMO-type algorithm using second-order working-set selection, tying the package to the JMLR work by Fan, Chen, and Lin. The project also kept a teaching posture: the upstream page promotes a practical SVM guide, an easy.py helper for beginners, the svm-toy visualization, and a standard sparse text data format that became familiar far beyond the original tarball.

采用历史

LIBSVM spread through research and applied machine-learning workflows because it was easy to compile, easy to call from scripts, and easy to wrap. The upstream page lists Java, Python, R, MATLAB, Perl, Ruby, Weka, Common Lisp, Haskell, OCaml, LabVIEW, PHP, C#/.NET, and CUDA-related interfaces, plus inclusion in data-mining environments.

The package's adoption is also visible in distribution channels: the Homebrew formula is accompanied by Debian, Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE package names in the input metadata, while upstream added PyPI installation support in the 3.25 release on April 14, 2021.

使用方式

The command-line workflow centers on svm-train, svm-predict, and svm-scale. Users put data in LIBSVM's sparse label/index/value format, scale features when needed, train a model, and run prediction; the README documents classification, regression, one-class SVM, kernels, class weights, cross-validation, and probability-estimate flags.

Library users link the C++ implementation or one of the language interfaces. Package users care that the upstream distribution remains small, permissively licensed, and stable enough that many higher-level tools can shell out to it or embed its data format.

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

LIBSVM is one of the classic examples of a research codebase becoming infrastructure because it did a narrow job well. It gave package managers a small, portable SVM implementation with stable command names and a data format that became a lingua franca for benchmarks.

Its significance is not only the algorithm implementation; it is the surrounding convention set: svm-train, svm-predict, svm-scale, heart_scale examples, grid search helpers, and a sparse text format that many datasets and wrappers learned to speak.

时间线

  • 2000: LIBSVM development begins, matching the start year in the upstream copyright notice and the 2011 ACM TIST project paper.
  • 2005: Version 2.8 adopts an SMO-type algorithm based on second-order working-set selection.
  • 2011: The ACM Transactions on Intelligent Systems and Technology article documents LIBSVM as a library for support vector machines.
  • 2021: Version 3.25 adds PyPI installation support for the Python interface.
  • 2025: Version 3.37 is announced on the upstream homepage on December 29, 2025.

Related projects

  • LIBLINEAR is the closest sibling project from the same NTU group, aimed at large linear classification rather than kernel SVMs.
  • scikit-learn, Weka, MATLAB/Octave wrappers, R interfaces, and many benchmark datasets relate to LIBSVM through bindings, compatible data formats, or workflow conventions.

安全态势

风险级别:绿色

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 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
svm-predictcli全局可执行文件
svm-scalecli全局可执行文件
svm-traincli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

安装元数据

软件包元数据

软件包键brew:libsvm
版本3.37
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libsvm
主页https://www.csie.ntu.edu.tw/~cjlin/libsvm/
上游文档https://www.csie.ntu.edu.tw/~cjlin/libsvm
许可证BSD-3-Clause
源码归档https://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-3.37.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libsvm-dev 3.24+ds-6.1

LIBSVM header files

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsvm
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsvm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsvm-java 3.24+ds-6.1

Java API to support vector machine library (libsvm.jar)

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm-java
  • Section: java
  • Architecture: all
  • Source Package: libsvm
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsvm-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsvm-tools 3.24+ds-6.1

LIBSVM binary tools

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm-tools
  • Section: devel
  • Architecture: amd64
  • Source Package: libsvm
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsvm-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsvm3 3.24+ds-6.1

library implementing support vector machines

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm3
  • Section: libs
  • Architecture: amd64
  • Source Package: libsvm
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsvm3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsvm3-java 3.24+ds-6.1

Java API to support vector machine library (libsvm3.jar)

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm3-java
  • Section: java
  • Architecture: all
  • Source Package: libsvm
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsvm3-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-libsvm 3.24+ds-6.1

Python interface for support vector machine library

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install python3-libsvm
  • Section: python
  • Architecture: all
  • Source Package: libsvm
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-libsvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libsvm

nix profile install nixpkgs#libsvm
  • normalized package name match
  • 匹配方式:Libsvm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libsvm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libsvm-dev 3.24+ds-6ubuntu2

LIBSVM header files

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libsvm
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsvm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsvm-java 3.24+ds-6ubuntu2

Java API to support vector machine library (libsvm.jar)

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm-java
  • Section: universe/java
  • Architecture: all
  • Source Package: libsvm
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsvm-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsvm-tools 3.24+ds-6ubuntu2

LIBSVM binary tools

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm-tools
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: libsvm
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsvm-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsvm3 3.24+ds-6ubuntu2

library implementing support vector machines

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm3
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libsvm
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsvm3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libsvm3-java 3.24+ds-6ubuntu2

Java API to support vector machine library (libsvm3.jar)

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install libsvm3-java
  • Section: universe/java
  • Architecture: all
  • Source Package: libsvm
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsvm3-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-libsvm 3.24+ds-6ubuntu2

Python interface for support vector machine library

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo apt install python3-libsvm
  • Section: universe/python
  • Architecture: all
  • Source Package: libsvm
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libsvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-libsvm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

libsvm 3.37-6.fc45

A Library for Support Vector Machines

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo dnf install libsvm
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsvm
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libsvm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsvm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsvm-devel 3.37-6.fc45

Development files for libsvm in C, C++ and Java

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo dnf install libsvm-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsvm
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsvm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsvm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsvm-java 3.37-6.fc45

Java tools and interfaces for libsvm

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

sudo dnf install libsvm-java
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: libsvm
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libsvm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsvm-java from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment