Automic VaultAutomic Vault

brew

Install liblinear with Homebrew, apt, dnf, MacPorts, Nix, apk, zypper

Library for large linear classification. Version 2.50 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install liblinear

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install liblinear

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

Linux

Debian aptverified · 92%
sudo apt install liblinear-dev

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

Fedora dnfverified · 92%
sudo dnf install liblinear

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

Nixverified · 92%
nix profile install nixpkgs#liblinear

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

Alpine Linux apkverified · 92%
sudo apk add predict

Alpine Linux edge package indexes · predict · source: dl-cdn.alpinelinux.org

openSUSE zypperverified · 92%
sudo zypper install predict

openSUSE Tumbleweed package metadata · predict · source: download.opensuse.org

overview

Package summary

Library for large linear classification

Commands and aliases

  • predict
  • train

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2008: LIBLINEAR paper submitted in May and published in JMLR in August.
  • 2014: Public GitHub mirror created on May 19, 2014.
  • 2022: NTU-hosted LIBLINEAR paper PDF marked last modified on March 5, 2022.
  • 2025: GitHub repository metadata recorded push activity on December 29, 2025.

Related projects

  • LIBSVM is the closest related project and the source of much of the package style, data-format familiarity, and user workflow.
  • scikit-learn exposes LIBLINEAR as a solver option in LogisticRegression, carrying the implementation into the Python scientific ecosystem.

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
predictcliglobal executable
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 version2.50
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:liblinear
Version2.50
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/liblinear
Homepagehttps://www.csie.ntu.edu.tw/~cjlin/liblinear/
Repositoryhttps://github.com/cjlin1/liblinear
Upstream docshttps://github.com/cjlin1/liblinear#readme
LicenseBSD-3-Clause
Source archivehttps://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-2.50.tar.gz
Last updated2026-06-19T12:32:37-07:00
Pulseupdated
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 Nameliblinear
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%

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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: liblinear
  • 3 dependencies
  • normalized package name match
  • Matched by: Liblinear
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblinear-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblinear-tools 2.3.0+dfsg-5+b2

Standalone applications for LIBLINEAR

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

sudo apt install liblinear-tools
  • Section: science
  • Architecture: amd64
  • Source Package: liblinear
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Liblinear
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblinear-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblinear4 2.3.0+dfsg-5+b2

Library for Large Linear Classification

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

sudo apt install liblinear4
  • Section: libs
  • Architecture: amd64
  • Source Package: liblinear
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Liblinear
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblinear4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-liblinear 2.3.0+dfsg-5

Python 3 bindings for LIBLINEAR

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

sudo apt install python3-liblinear
  • Section: python
  • Architecture: all
  • Source Package: liblinear
  • 2 dependencies
  • normalized package name match
  • Matched by: Liblinear
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-liblinear from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

liblinear

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

liblinear-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-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: liblinear
  • 3 dependencies
  • normalized package name match
  • Matched by: Liblinear
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblinear-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblinear-tools 2.3.0+dfsg-5build1

Standalone applications for LIBLINEAR

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

sudo apt install liblinear-tools
  • Section: universe/science
  • Architecture: amd64
  • Source Package: liblinear
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Liblinear
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblinear-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblinear4 2.3.0+dfsg-5build1

Library for Large Linear Classification

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

sudo apt install liblinear4
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: liblinear
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Liblinear
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblinear4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-liblinear 2.3.0+dfsg-5build1

Python 3 bindings for LIBLINEAR

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

sudo apt install python3-liblinear
  • Section: universe/python
  • Architecture: all
  • Source Package: liblinear
  • 2 dependencies
  • normalized package name match
  • Matched by: Liblinear
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-liblinear from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

liblinear 1.94-47.fc45

Library for Large Linear Classification

http://www.csie.ntu.edu.tw/~cjlin/liblinear

sudo dnf install liblinear
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: liblinear
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Liblinear
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: liblinear from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

liblinear-cli 1.94-47.fc45

CLI-tools for liblinear

http://www.csie.ntu.edu.tw/~cjlin/liblinear

sudo dnf install liblinear-cli
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: liblinear
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Liblinear
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: liblinear-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

liblinear-devel 1.94-47.fc45

Development files for liblinear

http://www.csie.ntu.edu.tw/~cjlin/liblinear

sudo dnf install liblinear-devel
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: liblinear
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Liblinear
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: liblinear-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

liblinear-doc 1.94-47.fc45

Documentation files for liblinear

http://www.csie.ntu.edu.tw/~cjlin/liblinear

sudo dnf install liblinear-doc
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: liblinear
  • 1 provides
  • normalized package name match
  • Matched by: Liblinear
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: liblinear-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-liblinear 1.94-47.fc45

Python3 bindings for liblinear

http://www.csie.ntu.edu.tw/~cjlin/liblinear

sudo dnf install python3-liblinear
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: liblinear
  • 2 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Liblinear
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-liblinear from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

liblinear

sudo port install liblinear
  • normalized package name match
  • Matched by: Liblinear
MacPorts ports tree · api.github.com · MacPorts ports tree: math/liblinear/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

predict 2.3.1-r0

Multi-user satellite tracking and orbital prediction program

https://www.qsl.net/kd2bd/predict.html

sudo apk add predict
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: predict
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Predict
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: predict from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

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