# Install mlpack

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

## Install

```sh
sudo av install brew:mlpack
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mlpack
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mlpack
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install libmlpack-dev
```

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

- dnf (92%):

```sh
sudo dnf install mlpack-bin
```

  Evidence: Fedora Rawhide package metadata: mlpack-bin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

## Package Facts

- **Package key:** brew:mlpack
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/mlpack>
- **Version:** 4.8.0
- **Source summary:** Scalable C++ machine learning library
- **Homepage:** <https://www.mlpack.org>
- **Repository:** <https://github.com/mlpack/mlpack>
- **Upstream docs:** <https://www.mlpack.org/doc>
- **License:** BSD-3-Clause AND MPL-2.0 AND BSL-1.0 AND MIT
- **Source archive:** <https://mlpack.org/files/mlpack-4.8.0.tar.gz>
- **Last updated:** 2026-06-10T00:20:46Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- mlpack_adaboost (cli)
- mlpack_approx_kfn (cli)
- mlpack_bayesian_linear_regression (cli)
- mlpack_cf (cli)
- mlpack_dbscan (cli)
- mlpack_decision_tree (cli)
- mlpack_det (cli)
- mlpack_emst (cli)
- mlpack_fastmks (cli)
- mlpack_gmm_generate (cli)
- mlpack_gmm_probability (cli)
- mlpack_gmm_train (cli)
- mlpack_hmm_generate (cli)
- mlpack_hmm_loglik (cli)
- mlpack_hmm_train (cli)
- mlpack_hmm_viterbi (cli)
- mlpack_hoeffding_tree (cli)
- mlpack_image_converter (cli)
- mlpack_kde (cli)
- mlpack_kernel_pca (cli)
- mlpack_kfn (cli)
- mlpack_kmeans (cli)
- mlpack_knn (cli)
- mlpack_krann (cli)
- mlpack_lars (cli)
- mlpack_linear_regression (cli)
- mlpack_linear_svm (cli)
- mlpack_lmnn (cli)
- mlpack_local_coordinate_coding (cli)
- mlpack_logistic_regression (cli)
- mlpack_lsh (cli)
- mlpack_mean_shift (cli)
- mlpack_nbc (cli)
- mlpack_nca (cli)
- mlpack_nmf (cli)
- mlpack_pca (cli)
- mlpack_perceptron (cli)
- mlpack_preprocess_binarize (cli)
- mlpack_preprocess_describe (cli)
- mlpack_preprocess_imputer (cli)
- mlpack_preprocess_one_hot_encoding (cli)
- mlpack_preprocess_scale (cli)
- mlpack_preprocess_split (cli)
- mlpack_radical (cli)
- mlpack_random_forest (cli)
- mlpack_range_search (cli)
- mlpack_softmax_regression (cli)
- mlpack_sparse_coding (cli)
- mlpack_adaboost (alias)
- mlpack_approx_kfn (alias)
- mlpack_bayesian_linear_regression (alias)
- mlpack_cf (alias)
- mlpack_dbscan (alias)
- mlpack_decision_tree (alias)
- mlpack_det (alias)
- mlpack_emst (alias)
- mlpack_fastmks (alias)
- mlpack_gmm_generate (alias)
- mlpack_gmm_probability (alias)
- mlpack_gmm_train (alias)
- mlpack_hmm_generate (alias)
- mlpack_hmm_loglik (alias)
- mlpack_hmm_train (alias)
- mlpack_hmm_viterbi (alias)
- mlpack_hoeffding_tree (alias)
- mlpack_image_converter (alias)
- mlpack_kde (alias)
- mlpack_kernel_pca (alias)
- mlpack_kfn (alias)
- mlpack_kmeans (alias)
- mlpack_knn (alias)
- mlpack_krann (alias)
- mlpack_lars (alias)
- mlpack_linear_regression (alias)
- mlpack_linear_svm (alias)
- mlpack_lmnn (alias)
- mlpack_local_coordinate_coding (alias)
- mlpack_logistic_regression (alias)
- mlpack_lsh (alias)
- mlpack_mean_shift (alias)
- mlpack_nbc (alias)
- mlpack_nca (alias)
- mlpack_nmf (alias)
- mlpack_pca (alias)
- mlpack_perceptron (alias)
- mlpack_preprocess_binarize (alias)
- mlpack_preprocess_describe (alias)
- mlpack_preprocess_imputer (alias)
- mlpack_preprocess_one_hot_encoding (alias)
- mlpack_preprocess_scale (alias)
- mlpack_preprocess_split (alias)
- mlpack_radical (alias)
- mlpack_random_forest (alias)
- mlpack_range_search (alias)
- mlpack_softmax_regression (alias)
- mlpack_sparse_coding (alias)

## Dependencies

- armadillo
- cereal
- ensmallen

## Build Dependencies

- cmake
- pkgconf

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 4.8.0
- Package-manager updated: 2026-06-10
- Local data status: ok
- Upstream repository: https://www.mlpack.org
- info: Release/tag comparison is only available for GitHub repositories.

## Sicherheitshinweise

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mlpack
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libmlpack-dev - 4.6.0-1: normalized package name match | Debian stable package indexes: libmlpack-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intuitive, fast, scalable C++ machine learning library (development libs) | https://www.mlpack.org/
- Debian apt - mlpack-bin - 4.6.0-1: normalized package name match | Debian stable package indexes: mlpack-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intuitive, fast, scalable C++ machine learning library (binaries) | https://www.mlpack.org/
- Debian apt - mlpack-doc - 4.6.0-1: normalized package name match | Debian stable package indexes: mlpack-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intuitive, fast, scalable C++ machine learning library (documentation) | https://www.mlpack.org/
- Debian apt - python3-mlpack - 4.6.0-1: normalized package name match | Debian stable package indexes: python3-mlpack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | intuitive, fast, scalable C++ machine learning library (Python bindings) | https://www.mlpack.org/
- Ubuntu apt - libmlpack-dev - 4.3.0-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmlpack-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | intuitive, fast, scalable C++ machine learning library (development libs) | https://www.mlpack.org/
- Ubuntu apt - mlpack-bin - 4.3.0-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mlpack-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | intuitive, fast, scalable C++ machine learning library (binaries) | https://www.mlpack.org/
- Ubuntu apt - mlpack-doc - 4.3.0-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mlpack-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | intuitive, fast, scalable C++ machine learning library (documentation) | https://www.mlpack.org/
- Ubuntu apt - python3-mlpack - 4.3.0-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-mlpack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | intuitive, fast, scalable C++ machine learning library (Python bindings) | https://www.mlpack.org/
- dnf - mlpack-bin - 4.7.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: mlpack-bin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Command-line executables for mlpack (machine learning library) | http://www.mlpack.org
- dnf - mlpack-devel - 4.7.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: mlpack-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Development headers for mlpack (C++ machine learning library) | http://www.mlpack.org
- dnf - mlpack-licenses - 4.7.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: mlpack-licenses from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Licenses and information files for mlpack (machine learning library) | http://www.mlpack.org
- dnf - mlpack-python3 - 4.7.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: mlpack-python3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Python 3 bindings for mlpack (C++ machine learning library) | http://www.mlpack.org
- MacPorts - mlpack: normalized package name match | MacPorts ports tree: math/mlpack/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/de/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [pkgconf](https://www.automicvault.com/de/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/de/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [liblinear](https://www.automicvault.com/de/pkg/brew/liblinear/) - Shares av.db curated category or tags: cli, cpp, machine-learning, science.
- [tinysvm](https://www.automicvault.com/de/pkg/brew/tinysvm/) - Shares av.db curated category or tags: cli, library, machine-learning, science.
- [grt](https://www.automicvault.com/de/pkg/brew/grt/) - Shares av.db curated category or tags: cli, cpp, machine-learning, science.
- [gibbslda](https://www.automicvault.com/de/pkg/brew/gibbslda/) - Shares av.db curated category or tags: cli, machine-learning, science.
- [openvino](https://www.automicvault.com/de/pkg/brew/openvino/) - Shares av.db curated category or tags: cli, machine-learning, science.
- [flann](https://www.automicvault.com/de/pkg/brew/flann/) - Shares av.db curated category or tags: cli, library, machine-learning, science.
- [opencv](https://www.automicvault.com/de/pkg/brew/opencv/) - Shares av.db curated category or tags: cli, machine-learning, science.
- [geos](https://www.automicvault.com/de/pkg/brew/geos/) - Shares av.db curated category or tags: cli, library, science.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
