Automic VaultAutomic Vault

brew

Install mlpack with Homebrew, apt, dnf, MacPorts

Scalable C++ machine learning library. Version 4.8.0 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mlpack

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mlpack

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

Linux

Debian aptverified · 92%
sudo apt install libmlpack-dev

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

Fedora dnfverified · 92%
sudo dnf install mlpack-bin

Fedora Rawhide package metadata · mlpack-bin · source: dl.fedoraproject.org

overview

Package summary

Scalable C++ machine learning library

Commands and aliases

  • mlpack_adaboost
  • mlpack_approx_kfn
  • mlpack_bayesian_linear_regression
  • mlpack_cf
  • mlpack_dbscan
  • mlpack_decision_tree
  • mlpack_det
  • mlpack_emst
  • mlpack_fastmks
  • mlpack_gmm_generate
  • mlpack_gmm_probability
  • mlpack_gmm_train
  • mlpack_hmm_generate
  • mlpack_hmm_loglik
  • mlpack_hmm_train
  • mlpack_hmm_viterbi
  • mlpack_hoeffding_tree
  • mlpack_image_converter
  • mlpack_kde
  • mlpack_kernel_pca
  • mlpack_kfn
  • mlpack_kmeans
  • mlpack_knn
  • mlpack_krann
  • mlpack_lars
  • mlpack_linear_regression
  • mlpack_linear_svm
  • mlpack_lmnn
  • mlpack_local_coordinate_coding
  • mlpack_logistic_regression
  • mlpack_lsh
  • mlpack_mean_shift

history

Project history and usage

mlpack is an open-source C++ machine-learning library whose published history traces back to an original inception in 2007 and a public late-2011 release. The 2013 JMLR paper by Ryan R. Curtin, James R. Cline, N. P. Slagle, William B. March, Parikshit Ram, Nishant A. Mehta, and Alexander G. Gray presented MLPACK as a scalable, multi-platform C++ library with a simple API for new users and high-performance flexibility for expert users.

Project history

The project grew into a broader scientific-computing library and community. A 2018 OpenReview workshop paper described mlpack as emphasizing speed and flexibility and implementing a wide variety of machine-learning algorithms. The 2023 JOSS paper for mlpack 4 marked a major technical milestone: a fast, header-only C++ library release with authorship spanning the expanded contributor community.

How it is used

In practice mlpack is used either as a C++ library, commonly by including `<mlpack.hpp>` and linking against Armadillo, or through command-line programs and bindings for Python, Julia, Go, and R. Its own README describes the project as a machine-learning analogue to LAPACK and as a "swiss army knife" for machine-learning researchers, while the homepage names Armadillo, ensmallen, and cereal as core foundations. In package-manager ecosystems it occupies the intersection of scientific C++ development library and installed algorithm CLI suite, with Homebrew exposing many `mlpack_*` executables for common methods such as k-means, PCA, nearest-neighbor search, random forests, regression, and preprocessing.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

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
mlpack_adaboostcliglobal executable
mlpack_approx_kfncliglobal executable
mlpack_bayesian_linear_regressioncliglobal executable
mlpack_cfcliglobal executable
mlpack_dbscancliglobal executable
mlpack_decision_treecliglobal executable
mlpack_detcliglobal executable
mlpack_emstcliglobal executable
mlpack_fastmkscliglobal executable
mlpack_gmm_generatecliglobal executable
mlpack_gmm_probabilitycliglobal executable
mlpack_gmm_traincliglobal executable
mlpack_hmm_generatecliglobal executable
mlpack_hmm_loglikcliglobal executable
mlpack_hmm_traincliglobal executable
mlpack_hmm_viterbicliglobal executable
mlpack_hoeffding_treecliglobal executable
mlpack_image_convertercliglobal executable
mlpack_kdecliglobal executable
mlpack_kernel_pcacliglobal executable
mlpack_kfncliglobal executable
mlpack_kmeanscliglobal executable
mlpack_knncliglobal executable
mlpack_kranncliglobal executable
mlpack_larscliglobal executable
mlpack_linear_regressioncliglobal executable
mlpack_linear_svmcliglobal executable
mlpack_lmnncliglobal executable
mlpack_local_coordinate_codingcliglobal executable
mlpack_logistic_regressioncliglobal executable
mlpack_lshcliglobal executable
mlpack_mean_shiftcliglobal executable
mlpack_nbccliglobal executable
mlpack_ncacliglobal executable
mlpack_nmfcliglobal executable
mlpack_pcacliglobal executable
mlpack_perceptroncliglobal executable
mlpack_preprocess_binarizecliglobal executable
mlpack_preprocess_describecliglobal executable
mlpack_preprocess_imputercliglobal executable
mlpack_preprocess_one_hot_encodingcliglobal executable
mlpack_preprocess_scalecliglobal executable
mlpack_preprocess_splitcliglobal executable
mlpack_radicalcliglobal executable
mlpack_random_forestcliglobal executable
mlpack_range_searchcliglobal executable
mlpack_softmax_regressioncliglobal executable
mlpack_sparse_codingcliglobal 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 version4.8.0
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://www.mlpack.org

install metadata

Package metadata

Package keybrew:mlpack
Version4.8.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mlpack
Homepagehttps://www.mlpack.org
Repositoryhttps://github.com/mlpack/mlpack
Upstream docshttps://www.mlpack.org/doc
LicenseBSD-3-Clause AND MPL-2.0 AND BSL-1.0 AND MIT
Source archivehttps://mlpack.org/files/mlpack-4.8.0.tar.gz
Last updated2026-06-25T13:37:55+02:00
Pulseupdated
Dependenciesarmadillo, cereal, ensmallen
Build dependenciescmake, pkgconf
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 Namemlpack
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%

libmlpack-dev 4.6.0-1

intuitive, fast, scalable C++ machine learning library (development libs)

https://www.mlpack.org/

sudo apt install libmlpack-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mlpack
  • 4 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mlpack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmlpack-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mlpack-bin 4.6.0-1

intuitive, fast, scalable C++ machine learning library (binaries)

https://www.mlpack.org/

sudo apt install mlpack-bin
  • Section: science
  • Architecture: amd64
  • Source Package: mlpack
  • 5 dependencies
  • normalized package name match
  • Matched by: Mlpack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mlpack-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mlpack-doc 4.6.0-1

intuitive, fast, scalable C++ machine learning library (documentation)

https://www.mlpack.org/

sudo apt install mlpack-doc
  • Section: doc
  • Architecture: all
  • Source Package: mlpack
  • 1 dependencies
  • normalized package name match
  • Matched by: Mlpack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mlpack-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-mlpack 4.6.0-1

intuitive, fast, scalable C++ machine learning library (Python bindings)

https://www.mlpack.org/

sudo apt install python3-mlpack
  • Section: python
  • Architecture: amd64
  • Source Package: mlpack
  • 10 dependencies
  • normalized package name match
  • Matched by: Mlpack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-mlpack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libmlpack-dev 4.3.0-2build1

intuitive, fast, scalable C++ machine learning library (development libs)

https://www.mlpack.org/

sudo apt install libmlpack-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mlpack
  • 6 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Mlpack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmlpack-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mlpack-bin 4.3.0-2build1

intuitive, fast, scalable C++ machine learning library (binaries)

https://www.mlpack.org/

sudo apt install mlpack-bin
  • Section: universe/science
  • Architecture: amd64
  • Source Package: mlpack
  • 7 dependencies
  • normalized package name match
  • Matched by: Mlpack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mlpack-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mlpack-doc 4.3.0-2build1

intuitive, fast, scalable C++ machine learning library (documentation)

https://www.mlpack.org/

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

python3-mlpack 4.3.0-2build1

intuitive, fast, scalable C++ machine learning library (Python bindings)

https://www.mlpack.org/

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

mlpack-bin 4.7.0-3.fc45

Command-line executables for mlpack (machine learning library)

http://www.mlpack.org

sudo dnf install mlpack-bin
  • License: BSD-3-Clause AND Apache-2.0 AND (MIT OR Unlicense)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mlpack
  • 9 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mlpack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mlpack-bin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mlpack-devel 4.7.0-3.fc45

Development headers for mlpack (C++ machine learning library)

http://www.mlpack.org

sudo dnf install mlpack-devel
  • License: BSD-3-Clause AND Apache-2.0 AND (MIT OR Unlicense)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mlpack
  • 9 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Mlpack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mlpack-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mlpack-licenses 4.7.0-3.fc45

Licenses and information files for mlpack (machine learning library)

http://www.mlpack.org

sudo dnf install mlpack-licenses
  • License: BSD-3-Clause AND Apache-2.0 AND (MIT OR Unlicense)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mlpack
  • 1 provides
  • normalized package name match
  • Matched by: Mlpack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mlpack-licenses from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mlpack-python3 4.7.0-3.fc45

Python 3 bindings for mlpack (C++ machine learning library)

http://www.mlpack.org

sudo dnf install mlpack-python3
  • License: BSD-3-Clause AND Apache-2.0 AND (MIT OR Unlicense)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mlpack
  • 14 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Mlpack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mlpack-python3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

mlpack

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

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