# Installer liblinear avec Homebrew, dnf, MacPorts, Nix, apt, apk, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de liblinear pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:liblinear
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install liblinear
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install liblinear
```

  Preuve: MacPorts ports tree: math/liblinear/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install liblinear
```

  Preuve: Fedora Rawhide package metadata: liblinear from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#liblinear
```

  Preuve: nixpkgs package indexes: pkgs/by-name/li/liblinear/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install liblinear-dev
```

  Preuve: Debian stable package indexes: liblinear-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- apk (92%):

```sh
sudo apk add predict
```

  Preuve: Alpine Linux edge package indexes: predict from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install predict
```

  Preuve: openSUSE Tumbleweed package metadata: predict from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:liblinear
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.50
- **Résumé source:** Library for large linear classification
- **Page d'accueil:** <https://www.csie.ntu.edu.tw/~cjlin/liblinear/>
- **Dépôt:** <https://github.com/cjlin1/liblinear>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- predict (alias)
- train (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.50
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://api.github.com/repos/cjlin1/liblinear>
- <https://github.com/cjlin1/liblinear>
- <https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html>
- <https://www.csie.ntu.edu.tw/~cjlin/liblinear/>
- <https://www.csie.ntu.edu.tw/~cjlin/papers/liblinear.pdf>
- <https://www.jmlr.org/papers/v9/fan08a.html>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - liblinear-dev - 2.3.0+dfsg-5+b2: normalized package name match | Debian stable package indexes: liblinear-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development libraries and header files for LIBLINEAR | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Debian apt - liblinear-tools - 2.3.0+dfsg-5+b2: normalized package name match | Debian stable package indexes: liblinear-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Standalone applications for LIBLINEAR | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Debian apt - liblinear4 - 2.3.0+dfsg-5+b2: normalized package name match | Debian stable package indexes: liblinear4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for Large Linear Classification | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Debian apt - python3-liblinear - 2.3.0+dfsg-5: normalized package name match | Debian stable package indexes: python3-liblinear from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 bindings for LIBLINEAR | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Nix - liblinear: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/liblinear/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblinear-dev - 2.3.0+dfsg-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblinear-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development libraries and header files for LIBLINEAR | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Ubuntu apt - liblinear-tools - 2.3.0+dfsg-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblinear-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Standalone applications for LIBLINEAR | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Ubuntu apt - liblinear4 - 2.3.0+dfsg-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblinear4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for Large Linear Classification | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- Ubuntu apt - python3-liblinear - 2.3.0+dfsg-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-liblinear from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings for LIBLINEAR | https://www.csie.ntu.edu.tw/~cjlin/liblinear/
- dnf - liblinear - 1.94-49.fc45: normalized package name match | Fedora Rawhide package metadata: liblinear from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library for Large Linear Classification | http://www.csie.ntu.edu.tw/~cjlin/liblinear
- dnf - liblinear-cli - 1.94-49.fc45: normalized package name match | Fedora Rawhide package metadata: liblinear-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | CLI-tools for liblinear | http://www.csie.ntu.edu.tw/~cjlin/liblinear
- dnf - liblinear-devel - 1.94-49.fc45: normalized package name match | Fedora Rawhide package metadata: liblinear-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for liblinear | http://www.csie.ntu.edu.tw/~cjlin/liblinear
- dnf - liblinear-doc - 1.94-49.fc45: normalized package name match | Fedora Rawhide package metadata: liblinear-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation files for liblinear | http://www.csie.ntu.edu.tw/~cjlin/liblinear
- dnf - python3-liblinear - 1.94-49.fc45: normalized package name match | Fedora Rawhide package metadata: python3-liblinear from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python3 bindings for liblinear | http://www.csie.ntu.edu.tw/~cjlin/liblinear
- MacPorts - liblinear: normalized package name match | MacPorts ports tree: math/liblinear/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - predict - 2.3.1-r0: installed executable or alias match | Alpine Linux edge package indexes: predict from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Multi-user satellite tracking and orbital prediction program | https://www.qsl.net/kd2bd/predict.html


## Combined YAML source

View the package source record on GitHub. [combined/liblinear.yml](https://github.com/mxcl/pkgdb/blob/main/combined/liblinear.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
