pkg.soopen package index

brew / rank 5438

Install mlpack with Homebrew, MacPorts, apt, dnf

Scalable C++ machine learning library. Version 4.8.0 via Homebrew; verified 2026-06-25. Also installable with debian: sudo apt install libmlpack-dev.

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 bottle metadata was recorded.

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_adaboostexecutableindexed executableDiscovered from the local executable index.
mlpack_approx_kfnexecutableindexed executableDiscovered from the local executable index.
mlpack_bayesian_linear_regressionexecutableindexed executableDiscovered from the local executable index.
mlpack_cfexecutableindexed executableDiscovered from the local executable index.
mlpack_dbscanexecutableindexed executableDiscovered from the local executable index.
mlpack_decision_treeexecutableindexed executableDiscovered from the local executable index.
mlpack_detexecutableindexed executableDiscovered from the local executable index.
mlpack_emstexecutableindexed executableDiscovered from the local executable index.
mlpack_fastmksexecutableindexed executableDiscovered from the local executable index.
mlpack_gmm_generateexecutableindexed executableDiscovered from the local executable index.
mlpack_gmm_probabilityexecutableindexed executableDiscovered from the local executable index.
mlpack_gmm_trainexecutableindexed executableDiscovered from the local executable index.
mlpack_hmm_generateexecutableindexed executableDiscovered from the local executable index.
mlpack_hmm_loglikexecutableindexed executableDiscovered from the local executable index.
mlpack_hmm_trainexecutableindexed executableDiscovered from the local executable index.
mlpack_hmm_viterbiexecutableindexed executableDiscovered from the local executable index.
mlpack_hoeffding_treeexecutableindexed executableDiscovered from the local executable index.
mlpack_image_converterexecutableindexed executableDiscovered from the local executable index.
mlpack_kdeexecutableindexed executableDiscovered from the local executable index.
mlpack_kernel_pcaexecutableindexed executableDiscovered from the local executable index.
mlpack_kfnexecutableindexed executableDiscovered from the local executable index.
mlpack_kmeansexecutableindexed executableDiscovered from the local executable index.
mlpack_knnexecutableindexed executableDiscovered from the local executable index.
mlpack_krannexecutableindexed executableDiscovered from the local executable index.
mlpack_larsexecutableindexed executableDiscovered from the local executable index.
mlpack_linear_regressionexecutableindexed executableDiscovered from the local executable index.
mlpack_linear_svmexecutableindexed executableDiscovered from the local executable index.
mlpack_lmnnexecutableindexed executableDiscovered from the local executable index.
mlpack_local_coordinate_codingexecutableindexed executableDiscovered from the local executable index.
mlpack_logistic_regressionexecutableindexed executableDiscovered from the local executable index.
mlpack_lshexecutableindexed executableDiscovered from the local executable index.
mlpack_mean_shiftexecutableindexed executableDiscovered from the local executable index.
mlpack_nbcexecutableindexed executableDiscovered from the local executable index.
mlpack_ncaexecutableindexed executableDiscovered from the local executable index.
mlpack_nmfexecutableindexed executableDiscovered from the local executable index.
mlpack_pcaexecutableindexed executableDiscovered from the local executable index.
mlpack_perceptronexecutableindexed executableDiscovered from the local executable index.
mlpack_preprocess_binarizeexecutableindexed executableDiscovered from the local executable index.
mlpack_preprocess_describeexecutableindexed executableDiscovered from the local executable index.
mlpack_preprocess_imputerexecutableindexed executableDiscovered from the local executable index.
mlpack_preprocess_one_hot_encodingexecutableindexed executableDiscovered from the local executable index.
mlpack_preprocess_scaleexecutableindexed executableDiscovered from the local executable index.
mlpack_preprocess_splitexecutableindexed executableDiscovered from the local executable index.
mlpack_radicalexecutableindexed executableDiscovered from the local executable index.
mlpack_random_forestexecutableindexed executableDiscovered from the local executable index.
mlpack_range_searchexecutableindexed executableDiscovered from the local executable index.
mlpack_softmax_regressionexecutableindexed executableDiscovered from the local executable index.
mlpack_sparse_codingexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version4.8.0
manager updated2026-06-25
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mlpack
Version4.8.0
Package managerHomebrew
Homepagehttps://www.mlpack.org
Repositoryhttps://github.com/mlpack/mlpack
Last updated2026-06-25T13:37:55+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

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-5.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

mlpack-devel 4.7.0-5.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

mlpack-licenses 4.7.0-5.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

mlpack-python3 4.7.0-5.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation