# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman 安装 mdp

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

## 安装

```sh
sudo av install brew:mdp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mdp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mdp
```

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

### Linux

- apk (92%):

```sh
sudo apk add mdp
```

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

- Debian apt (92%):

```sh
sudo apt install mdp
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mdp
```

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

- pacman (92%):

```sh
sudo pacman -S mdp
```

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

## 软件包事实

- **软件包键:** brew:mdp
- **软件包管理器:** Homebrew
- **版本:** 1.0.18
- **来源摘要:** Command-line based markdown presentation tool
- **主页:** <https://github.com/visit1985/mdp>
- **仓库:** <https://github.com/visit1985/mdp>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mdp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mdp is a C/ncurses command-line presentation tool that renders slide decks from Markdown directly in a terminal. Its official README describes horizontal rulers as slide separators, basic Markdown formatting support, terminal keybindings, and a small compile-time configuration surface.

### 项目历史

The public GitHub repository was created on 2014-09-14 under visit1985/mdp. The project presents itself as a terminal-native slide deck tool: users clone the repository, build it with make, and run `mdp sample.md` to present a Markdown file.

The README's configuration section shows the project staying close to its ncurses roots: colors, keybindings, and list types are changed in `include/config.h` and require recompilation rather than a separate runtime preferences file.

### 采用历史

mdp is unusually well packaged for a small terminal Markdown tool. The official README points to packages or ports for Arch Linux, Cygwin, Debian, FreeBSD, Homebrew, MacPorts, Slackware, and Ubuntu; the input package-manager facts also list apk, brew, Debian, MacPorts, Nix, pacman, and Ubuntu coverage.

GitHub repository metadata reported thousands of stars and hundreds of forks by 2026, indicating sustained interest among command-line users beyond a single package ecosystem.

### 使用方式

Typical use is to write a Markdown document with slide separators, then run `mdp sample.md` in a 256-color terminal. The built-in controls use vi-style keys, arrows, paging keys, numeric slide jumps, reload, and quit.

The README also documents a PDF conversion workflow via the separate `md2pdf` tool for users who want to convert mdp-compatible decks outside the terminal.

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

mdp matters in package-manager culture because it is the small, Unix-shaped answer to presentation software: a C program, an ncurses dependency, a Markdown input file, and distro packages. It is the sort of package that turns a terminal into the whole presentation stack.

### 时间线

- 2014: Public GitHub repository created.
- 2015: README screenshot asset added for the terminal slide-deck workflow.
- 2026: GitHub metadata still showed active packaging visibility and ongoing repository activity.

### Related projects

- The README references md2pdf/mdtopdf for converting mdp-compatible Markdown into PDF.
- mdp sits near other terminal Markdown tools such as mdv, but focuses on presentations rather than document reading.

### 来源

- <https://api.github.com/repos/visit1985/mdp>
- <https://github.com/visit1985/mdp#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: include/config.h
## 其他软件包管理器记录

- Debian apt - mdp - 1.0.15-1+b2: normalized package name match | Debian stable package indexes: mdp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line based Markdown presentation tool | https://github.com/visit1985/mdp
- Debian apt - python3-mdp - 3.6-10: normalized package name match | Debian stable package indexes: python3-mdp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Modular toolkit for Data Processing | https://mdp-toolkit.github.io/
- Nix - mdp: normalized package name match | nixpkgs package indexes: pkgs/by-name/md/mdp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mdp - 1.0.15-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mdp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line based Markdown presentation tool | https://github.com/visit1985/mdp
- apk - mdp - 1.0.18-r0: normalized package name match | Alpine Linux edge package indexes: mdp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | command line based markdown presentation tool | https://github.com/visit1985/mdp
- apk - mdp-doc - 1.0.18-r0: normalized package name match | Alpine Linux edge package indexes: mdp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | command line based markdown presentation tool (documentation) | https://github.com/visit1985/mdp
- pacman - mdp - 1.0.18-1: normalized package name match | Arch Linux sync databases: mdp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command-line based markdown presentation tool | https://github.com/visit1985/mdp
- MacPorts - mdp: normalized package name match | MacPorts ports tree: office/mdp/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/mdp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mdp.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
