Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, apt, apk, zypper 安装 liblinear

查看 liblinear 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install liblinear

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install liblinear

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

Linux

Fedora dnf已验证 · 92%
sudo dnf install liblinear

Fedora Rawhide package metadata · liblinear · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#liblinear

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

Debian apt已验证 · 92%
sudo apt install liblinear-dev

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

Alpine Linux apk已验证 · 92%
sudo apk add predict

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

openSUSE zypper已验证 · 92%
sudo zypper install predict

openSUSE Tumbleweed package metadata · predict · 来源: download.opensuse.org

概览

软件包摘要

Library for large linear classification

命令和别名

  • predict
  • train

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
predictcli全局可执行文件
traincli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.50
管理器更新时间2026-06-19
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:liblinear
版本2.50
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/liblinear
主页https://www.csie.ntu.edu.tw/~cjlin/liblinear/
仓库https://github.com/cjlin1/liblinear
上游文档https://github.com/cjlin1/liblinear#readme
许可证BSD-3-Clause
源码归档https://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-2.50.tar.gz
最后更新2026-06-19T12:32:37-07:00
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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