macOS
brew install libsvmlocal Homebrew formula metadata
sudo port install libsvmMacPorts ports tree · math/libsvm/Portfile · source: api.github.com
brew
Library for support vector machines. Version 3.37 via Homebrew; verified from local package data.
install
brew install libsvmlocal Homebrew formula metadata
sudo port install libsvmMacPorts ports tree · math/libsvm/Portfile · source: api.github.com
sudo apt install libsvm-devDebian stable package indexes · libsvm-dev · source: deb.debian.org
sudo dnf install libsvmFedora Rawhide package metadata · libsvm · source: dl.fedoraproject.org
nix profile install nixpkgs#libsvmnixpkgs package indexes · pkgs/by-name/li/libsvm/package.nix · source: api.github.com
sudo pacman -S libsvmArch Linux sync databases · libsvm · source: geo.mirror.pkgbuild.com
sudo zypper install libsvm-developenSUSE Tumbleweed package metadata · libsvm-devel · source: download.opensuse.org
overview
Library for support vector machines
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
svm-predict | cli | global executable | |
svm-scale | cli | global executable | |
svm-train | cli | global executable |
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.
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
install metadata
| Package key | brew:libsvm |
|---|---|
| Version | 3.37 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libsvm |
| Homepage | https://www.csie.ntu.edu.tw/~cjlin/libsvm/ |
| Upstream docs | https://www.csie.ntu.edu.tw/~cjlin/libsvm |
| License | BSD-3-Clause |
| Source archive | https://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-3.37.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libsvm |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libsvm-dev 3.24+ds-6.1
LIBSVM header files
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install libsvm-devlibsvm-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-javalibsvm-tools 3.24+ds-6.1
LIBSVM binary tools
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install libsvm-toolslibsvm3 3.24+ds-6.1
library implementing support vector machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install libsvm3libsvm3-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-javapython3-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-libsvmlibsvm
nix profile install nixpkgs#libsvmlibsvm-dev 3.24+ds-6ubuntu2
LIBSVM header files
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install libsvm-devlibsvm-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-javalibsvm-tools 3.24+ds-6ubuntu2
LIBSVM binary tools
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install libsvm-toolslibsvm3 3.24+ds-6ubuntu2
library implementing support vector machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install libsvm3libsvm3-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-javapython3-libsvm 3.24+ds-6ubuntu2
Python interface for support vector machine library
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo apt install python3-libsvmlibsvm 3.37-6.fc45
A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo dnf install libsvmlibsvm-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-devellibsvm-java 3.37-6.fc45
Java tools and interfaces for libsvm
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
sudo dnf install libsvm-javasource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.