# Installer discount avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de discount pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:discount
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install discount
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install discount
```

  Preuve: MacPorts ports tree: textproc/discount/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add discount
```

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

- Debian apt (92%):

```sh
sudo apt install discount
```

  Preuve: Debian stable package indexes: discount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install discount
```

  Preuve: Fedora Rawhide package metadata: discount 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#discount
```

  Preuve: nixpkgs package indexes: pkgs/by-name/di/discount/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S discount
```

  Preuve: Arch Linux sync databases: discount from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install discount
```

  Preuve: openSUSE Tumbleweed package metadata: discount from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:discount
- **Gestionnaire de paquets:** Homebrew
- **Version:** 3.0.1.3
- **Résumé source:** C implementation of Markdown
- **Page d'accueil:** <https://www.pell.portland.or.us/~orc/Code/discount/>
- **Dépôt:** <https://github.com/Orc/discount>
- **Dernière mise à jour:** 2026-06-14T15:34:39Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- makepage (alias)
- mkd2html (alias)
- theme (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 3.0.1.3
## Historique du projet et usages

Discount is Jessica L. Parsons' C implementation of John Gruber's Markdown markup language.

### Historique du projet

The official site describes Discount as a C implementation of Markdown, positioned against the many scripting-language Markdown implementations of its era. It provides a library, command-line programs, examples, and extensions such as smartypants-style substitutions and extra list syntax.

### Historique d'adoption

Discount became useful to package collections because it offered Markdown as a small C library and CLI rather than only as a script. The official site continues to ship release tarballs, including the 3.0 series and maintained 2.2 series.

### Modes d'utilisation

The command-line documentation describes a markdown program that reads Markdown and writes HTML or a parse-tree outline. The API documentation makes it useful for embedding Markdown conversion in C programs, while the command-line tools fit scripting and static-site workflows.

### Pourquoi les passionnés de paquets s'y intéressent

Package nerds care about Discount because it is a native-code Markdown implementation with a stable tarball culture, command-line tooling, and library API: exactly the sort of small C dependency that shows up in Unix packaging graphs.

### Chronologie

- 2010: GitHub repository created.
- 2025: Command-line documentation generated for the 3.0 series.
- 2026: Discount 3.0.1.3 released.

### Related projects

- The official site roots Discount in John Gruber's Markdown and notes behavior related to Smartypants and Markdown Extra-style syntax.

### Sources

- <https://www.pell.portland.or.us/~orc/Code/discount>
- <https://www.pell.portland.or.us/~orc/Code/discount/api.html>
- <https://www.pell.portland.or.us/~orc/Code/discount/program.html>
- <https://github.com/Orc/discount>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - discount - 2.2.7-2.1: normalized package name match | Debian stable package indexes: discount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | implementation of the Markdown markup language in C | http://www.pell.portland.or.us/~orc/Code/discount/
- Debian apt - libmarkdown2 - 2.2.7-2.1: normalized package name match | Debian stable package indexes: libmarkdown2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | implementation of the Markdown markup language in C (library) | http://www.pell.portland.or.us/~orc/Code/discount/
- Debian apt - libmarkdown2-dev - 2.2.7-2.1: normalized package name match | Debian stable package indexes: libmarkdown2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | implementation of the Markdown markup language in C (dev files) | http://www.pell.portland.or.us/~orc/Code/discount/
- Nix - discount: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/discount/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - discount - 2.2.7-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: discount from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | implementation of the Markdown markup language in C | http://www.pell.portland.or.us/~orc/Code/discount/
- Ubuntu apt - libmarkdown2 - 2.2.7-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmarkdown2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | implementation of the Markdown markup language in C (library) | http://www.pell.portland.or.us/~orc/Code/discount/
- Ubuntu apt - libmarkdown2-dev - 2.2.7-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmarkdown2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | implementation of the Markdown markup language in C (dev files) | http://www.pell.portland.or.us/~orc/Code/discount/
- apk - discount - 3.0.1.3-r0: normalized package name match | Alpine Linux edge package indexes: discount from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Markdown to HTML translator written in C | https://www.pell.portland.or.us/~orc/Code/discount/
- apk - discount-dev - 3.0.1.3-r0: normalized package name match | Alpine Linux edge package indexes: discount-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Markdown to HTML translator written in C (development files) | https://www.pell.portland.or.us/~orc/Code/discount/
- apk - discount-doc - 3.0.1.3-r0: normalized package name match | Alpine Linux edge package indexes: discount-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Markdown to HTML translator written in C (documentation) | https://www.pell.portland.or.us/~orc/Code/discount/
- apk - discount-libs - 3.0.1.3-r0: normalized package name match | Alpine Linux edge package indexes: discount-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Markdown to HTML translator written in C (libraries) | https://www.pell.portland.or.us/~orc/Code/discount/
- dnf - discount - 2.2.7-15.fc45: normalized package name match | Fedora Rawhide package metadata: discount from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A command-line utility for converting Markdown files into HTML | http://www.pell.portland.or.us/~orc/Code/discount
- dnf - libmarkdown - 2.2.7-15.fc45: normalized package name match | Fedora Rawhide package metadata: libmarkdown from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A fast implementation of the Markdown language in C | http://www.pell.portland.or.us/~orc/Code/discount
- dnf - libmarkdown-devel - 2.2.7-15.fc45: normalized package name match | Fedora Rawhide package metadata: libmarkdown-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development headers for the libmarkdown library | http://www.pell.portland.or.us/~orc/Code/discount
- pacman - discount - 3.0.1.3-1: normalized package name match | Arch Linux sync databases: discount from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A Markdown implementation written in C | https://www.pell.portland.or.us/~orc/Code/discount/
- zypper - discount - 3.0.1.2-2.4: normalized package name match | openSUSE Tumbleweed package metadata: discount from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Markdown text to HTML converter | https://www.pell.portland.or.us/~orc/Code/discount/


## Combined YAML source

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