Automic VaultAutomic Vault

brew

Install libsvm with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Library for support vector machines. Version 3.37 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libsvm

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libsvm

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

Linux

Debian aptverified · 92%
sudo apt install libsvm-dev

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

Fedora dnfverified · 92%
sudo dnf install libsvm

Fedora Rawhide package metadata · libsvm · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libsvm

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

Arch Linux pacmanverified · 92%
sudo pacman -S libsvm

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

openSUSE zypperverified · 92%
sudo zypper install libsvm-devel

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

overview

Package summary

Library for support vector machines

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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 6 platform targets.

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
svm-predictcliglobal executable
svm-scalecliglobal executable
svm-traincliglobal 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 version3.37
manager updated
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:libsvm
Version3.37
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libsvm
Homepagehttps://www.csie.ntu.edu.tw/~cjlin/libsvm/
Upstream docshttps://www.csie.ntu.edu.tw/~cjlin/libsvm
LicenseBSD-3-Clause
Source archivehttps://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-3.37.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

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

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

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