# Install gibbslda with Homebrew, MacPorts

Library wrapping imlib2's context API. Version 0.2 via Homebrew; verified from local package data. Also installable with macports: sudo port install gibbslda.

## Install

```sh
sudo av install brew:gibbslda
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gibbslda
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gibbslda
```

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

## Package facts

- **Package key:** brew:gibbslda
- **Package manager:** Homebrew
- **Version:** 0.2
- **Source summary:** Library wrapping imlib2's context API
- **Homepage:** <https://gibbslda.sourceforge.net/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- lda (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.2
## Project history and usage

GibbsLDA++ is a C/C++ implementation of Latent Dirichlet Allocation using Gibbs sampling for parameter estimation and inference. It belongs to the late-2000s generation of compact research toolkits for topic modeling.

### Project history

The official SourceForge project identifies GibbsLDA++ as a beta C/C++ Gibbs-sampling LDA implementation by pxhieu. The project was registered in July 2007, and its file area shows the manual, case-study material, and 0.2 source distribution published in July and August 2007.

### Adoption history

GibbsLDA++ was useful because LDA had become a common model for hidden topic structures while many researchers still wanted a small command-line implementation. The supplied package metadata shows it carried by Homebrew and MacPorts, reflecting a preservation-style package footprint for older scientific workflows.

### How it is used

Practitioners use the `lda` executable to estimate LDA models and infer topic distributions from text corpora. The official project description emphasizes large-scale text data collections, Gibbs sampling, and console/terminal use.

### Why package nerds care

For package maintainers, GibbsLDA++ is a small legacy scientific CLI whose main value is reproducibility. Keeping it packaged lets old scripts and papers continue to depend on a stable `lda` executable rather than a broad machine-learning framework.

### Timeline

- 2007: SourceForge project registered.
- 2007: Documents published on SourceForge.
- 2007: GibbsLDA++ 0.2 source and case-study files published.
- 2013: SourceForge project page records a later project update.

### Related projects

- GibbsLDA++ is related to JGibbLDA from the same topic-modeling lineage, LDA research implementations, and other C/C++, Java, Matlab, and Python topic-modeling packages.

### Sources

- <https://gibbslda.sourceforge.net/>
- <https://sourceforge.net/projects/gibbslda/>
- <https://sourceforge.net/projects/gibbslda/files/>
- source_facts.package-manager


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Other Package-Manager Records

- MacPorts - gibbslda: normalized package name match | MacPorts ports tree: math/gibbslda/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gibbslda.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gibbslda.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
