# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 cddlib

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

## 安装

```sh
sudo av install brew:cddlib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cddlib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cddlib
```

  证据: MacPorts ports tree: devel/cddlib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cddlib
```

  证据: Alpine Linux edge package indexes: cddlib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install cddlib
```

  证据: Fedora Rawhide package metadata: cddlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cddlib
```

  证据: nixpkgs package indexes: pkgs/by-name/cd/cddlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cddlib
```

  证据: Arch Linux sync databases: cddlib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libcdd-dev
```

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

- zypper (92%):

```sh
sudo zypper install cddlib-devel
```

  证据: openSUSE Tumbleweed package metadata: cddlib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:cddlib
- **软件包管理器:** Homebrew
- **版本:** 0.94n
- **来源摘要:** Double description method for general polyhedral cones
- **主页:** <https://www.inf.ethz.ch/personal/fukudak/cdd_home/>
- **仓库:** <https://github.com/cddlib/cddlib>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- adjacency (别名)
- adjacency_gmp (别名)
- allfaces (别名)
- allfaces_gmp (别名)
- cddexec (别名)
- cddexec_gmp (别名)
- fourier (别名)
- fourier_gmp (别名)
- lcdd (别名)
- lcdd_gmp (别名)
- projection (别名)
- projection_gmp (别名)
- redcheck (别名)
- redcheck_gmp (别名)
- scdd (别名)
- scdd_gmp (别名)
- testcdd1 (别名)
- testcdd1_gmp (别名)
- testcdd2 (别名)
- testcdd2_gmp (别名)
- testlp1 (别名)
- testlp1_gmp (别名)
- testlp2 (别名)
- testlp2_gmp (别名)
- testlp3 (别名)
- testlp3_gmp (别名)
- testshoot (别名)
- testshoot_gmp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.94n
## 项目历史与用法

cddlib is a C implementation of the double description method for convex polyhedra. It converts between inequality and generator representations, computes adjacency and faces, and includes linear-programming support.

### 项目历史

The upstream README describes cddlib as a C implementation of the double description method of Motzkin et al. for generating all vertices and extreme rays of a convex polyhedron from linear inequalities, and for the reverse convex-hull computation. The ETH-hosted manual by Komei Fukuda provides the project documentation lineage and remains the detailed reference for the library and command-line programs.

The current GitHub repository was created in 2018 and is now the official source repository. Its releases show the modern packaged series: 0.94j in 2018, 0.94k and 0.94l in 2020, 0.94m in 2020, and 0.94n in 2025.

### 采用历史

cddlib is packaged broadly because computational geometry and polyhedral libraries often need a shared backend. The Homebrew input records packages across Alpine, Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE-family packaging.

### 使用方式

Users link against cddlib or cddgmp from C programs, use the GMP rational build for exact arithmetic, and run tools such as cddexec, lcdd, scdd, fourier, adjacency, allfaces, projection, and redcheck for polyhedral computations.

### 为什么软件包爱好者会关心

cddlib matters in packaging because it is a small but important scientific dependency: a C library with optional GMP exact arithmetic, command-line utilities, and a long-lived mathematical niche. Its presence in many distributions reflects the way specialized academic algorithms become infrastructure for larger mathematics systems.

### 时间线

- 2018: Current official GitHub repository created and release 0.94j published.
- 2020: Releases 0.94k, 0.94l, and 0.94m published.
- 2021: ETH-hosted cddlib manual version referenced by current curation.
- 2025: Release 0.94n published.

### Related projects

- The README points to GMP for rational arithmetic and describes cddlib's relationship to convex-hull computation, linear programming, and double-description polyhedral algorithms.

### 来源

- <https://api.github.com/repos/cddlib/cddlib>
- <https://github.com/cddlib/cddlib>
- <https://www.inf.ethz.ch/personal/fukudak/cdd_home/>
- <https://github.com/cddlib/cddlib#readme>
- <https://people.inf.ethz.ch/fukudak/cdd_home/cddlibman2021.pdf>
- <https://formulae.brew.sh/api/formula/cddlib.json>
- <https://github.com/cddlib/cddlib/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - libcdd-dev - 094m-1.1+b1: normalized package name match | Debian stable package indexes: libcdd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for finding vertices of convex polytopes, development | https://github.com/cddlib/cddlib
- Debian apt - libcdd-doc - 094m-1.1: normalized package name match | Debian stable package indexes: libcdd-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for libcdd | https://github.com/cddlib/cddlib
- Debian apt - libcdd-tools - 094m-1.1+b1: normalized package name match | Debian stable package indexes: libcdd-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Programs using libcdd | https://github.com/cddlib/cddlib
- Debian apt - libcdd0t64 - 094m-1.1+b1: normalized package name match | Debian stable package indexes: libcdd0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for calculations with convex polytopes, runtime | https://github.com/cddlib/cddlib
- Nix - cddlib: normalized package name match | nixpkgs package indexes: pkgs/by-name/cd/cddlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcdd-dev - 094m-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdd-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for finding vertices of convex polytopes, development | https://github.com/cddlib/cddlib
- Ubuntu apt - libcdd-doc - 094m-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdd-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for libcdd | https://github.com/cddlib/cddlib
- Ubuntu apt - libcdd-tools - 094m-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdd-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Programs using libcdd | https://github.com/cddlib/cddlib
- Ubuntu apt - libcdd0t64 - 094m-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdd0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for calculations with convex polytopes, runtime | https://github.com/cddlib/cddlib
- apk - cddlib - 0.94m-r2: normalized package name match | Alpine Linux edge package indexes: cddlib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library implementing Double Description Method for convex polyhedra | https://people.inf.ethz.ch/fukudak/cdd_home
- apk - cddlib-dev - 0.94m-r2: normalized package name match | Alpine Linux edge package indexes: cddlib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library implementing Double Description Method for convex polyhedra (development files) | https://people.inf.ethz.ch/fukudak/cdd_home
- apk - cddlib-doc - 0.94m-r2: normalized package name match | Alpine Linux edge package indexes: cddlib-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library implementing Double Description Method for convex polyhedra (documentation) | https://people.inf.ethz.ch/fukudak/cdd_home
- apk - cddlib-static - 0.94m-r2: normalized package name match | Alpine Linux edge package indexes: cddlib-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library implementing Double Description Method for convex polyhedra (static library) | https://people.inf.ethz.ch/fukudak/cdd_home
- apk - cddlib-tools - 0.94m-r2: normalized package name match | Alpine Linux edge package indexes: cddlib-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library implementing Double Description Method for convex polyhedra (utilities) | https://people.inf.ethz.ch/fukudak/cdd_home
- dnf - cddlib - 0.94n-6.fc45: normalized package name match | Fedora Rawhide package metadata: cddlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A library for generating all vertices in convex polyhedrons | https://people.inf.ethz.ch/fukudak/cdd_home/
- dnf - cddlib-devel - 0.94n-6.fc45: normalized package name match | Fedora Rawhide package metadata: cddlib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Headers for cddlib | https://people.inf.ethz.ch/fukudak/cdd_home/


## Combined YAML source

View the package source record on GitHub. [combined/cddlib.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cddlib.yml)


## 来源

- 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
