macOS
brew install liblinearlocal Homebrew formula metadata
sudo port install liblinearMacPorts ports tree · math/liblinear/Portfile · source: api.github.com
brew
Library for large linear classification. Version 2.50 via Homebrew; verified 2026-06-19.
install
brew install liblinearlocal Homebrew formula metadata
sudo port install liblinearMacPorts ports tree · math/liblinear/Portfile · source: api.github.com
sudo apt install liblinear-devDebian stable package indexes · liblinear-dev · source: deb.debian.org
sudo dnf install liblinearFedora Rawhide package metadata · liblinear · source: dl.fedoraproject.org
nix profile install nixpkgs#liblinearnixpkgs package indexes · pkgs/by-name/li/liblinear/package.nix · source: api.github.com
sudo apk add predictAlpine Linux edge package indexes · predict · source: dl-cdn.alpinelinux.org
sudo zypper install predictopenSUSE Tumbleweed package metadata · predict · source: download.opensuse.org
overview
Library for large linear classification
history
LIBLINEAR is a National Taiwan University machine-learning package for large-scale regularized linear classification, regression, and outlier detection. It pairs a C/C++ library with simple command-line tools such as train and predict, making linear SVM and logistic-regression models accessible from scripts and other software.
The LIBLINEAR paper was submitted to the Journal of Machine Learning Research in May 2008 and published in August 2008 by Rong-En Fan, Kai-Wei Chang, Cho-Jui Hsieh, Xiang-Rui Wang, and Chih-Jen Lin. The paper presents LIBLINEAR as an open source library for large-scale linear classification with easy command-line tools and library calls.
LIBLINEAR was designed as a sibling to LIBSVM for cases where a linear model is appropriate and kernel methods are too expensive. The README explicitly advises beginners with small data sets to consider LIBSVM first, while pointing to LIBLINEAR for large data where nonlinear mappings do not materially improve performance.
The public GitHub mirror was created on May 19, 2014, giving the project a familiar source-control home for packagers and downstream wrappers.
LIBLINEAR spread through both command-line use and embedding. Its stable file format, simple executables, MATLAB/OCTAVE interface, Python interface, and C API made it easy to package and wrap.
One visible downstream adoption path is scikit-learn, whose LogisticRegression documentation exposes a 'liblinear' solver for L1 and L2 regularization. That made the project familiar even to Python users who never invoke the original train and predict binaries.
The canonical workflow is to build the package with make, train a model from sparse feature data using train, and apply the model with predict. The README describes the LIBSVM-style data format, included heart_scale example, solver selection, cross validation, and parameter search.
LIBLINEAR is package-nerd catnip because it is a small, fast C/C++ implementation of a heavily cited ML method with stable Unix-style tools. It is the kind of dependency that appears behind higher-level language bindings while still remaining useful as a direct CLI package.
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 |
|---|---|---|---|
predict | cli | global executable | |
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/liblinear/
install metadata
| Package key | brew:liblinear |
|---|---|
| Version | 2.50 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/liblinear |
| Homepage | https://www.csie.ntu.edu.tw/~cjlin/liblinear/ |
| Repository | https://github.com/cjlin1/liblinear |
| Upstream docs | https://github.com/cjlin1/liblinear#readme |
| License | BSD-3-Clause |
| Source archive | https://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-2.50.tar.gz |
| Last updated | 2026-06-19T12:32:37-07:00 |
| Pulse | updated |
| 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 | liblinear |
| 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.
liblinear-dev 2.3.0+dfsg-5+b2
Development libraries and header files for LIBLINEAR
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install liblinear-devliblinear-tools 2.3.0+dfsg-5+b2
Standalone applications for LIBLINEAR
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install liblinear-toolsliblinear4 2.3.0+dfsg-5+b2
Library for Large Linear Classification
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install liblinear4python3-liblinear 2.3.0+dfsg-5
Python 3 bindings for LIBLINEAR
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install python3-liblinearliblinear
nix profile install nixpkgs#liblinearliblinear-dev 2.3.0+dfsg-5build1
Development libraries and header files for LIBLINEAR
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install liblinear-devliblinear-tools 2.3.0+dfsg-5build1
Standalone applications for LIBLINEAR
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install liblinear-toolsliblinear4 2.3.0+dfsg-5build1
Library for Large Linear Classification
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install liblinear4python3-liblinear 2.3.0+dfsg-5build1
Python 3 bindings for LIBLINEAR
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
sudo apt install python3-liblinearliblinear 1.94-47.fc45
Library for Large Linear Classification
http://www.csie.ntu.edu.tw/~cjlin/liblinear
sudo dnf install liblinearliblinear-cli 1.94-47.fc45
CLI-tools for liblinear
http://www.csie.ntu.edu.tw/~cjlin/liblinear
sudo dnf install liblinear-cliliblinear-devel 1.94-47.fc45
Development files for liblinear
http://www.csie.ntu.edu.tw/~cjlin/liblinear
sudo dnf install liblinear-develliblinear-doc 1.94-47.fc45
Documentation files for liblinear
http://www.csie.ntu.edu.tw/~cjlin/liblinear
sudo dnf install liblinear-docpython3-liblinear 1.94-47.fc45
Python3 bindings for liblinear
http://www.csie.ntu.edu.tw/~cjlin/liblinear
sudo dnf install python3-liblinearliblinear
sudo port install liblinearpredict 2.3.1-r0
Multi-user satellite tracking and orbital prediction program
https://www.qsl.net/kd2bd/predict.html
sudo apk add predictsource 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.