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

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

## installation

```sh
sudo av install brew:glpk
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install glpk
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install glpk
```

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

### Linux

- apk (92%):

```sh
sudo apk add glpk
```

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

- dnf (92%):

```sh
sudo dnf install glpk
```

  Preuve: Fedora Rawhide package metadata: glpk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#glpk
```

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

- pacman (92%):

```sh
sudo pacman -S glpk
```

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

- zypper (92%):

```sh
sudo zypper install glpk
```

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

- Debian apt (92%):

```sh
sudo apt install glpk-doc
```

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

### Windows

- Chocolatey (92%):

```sh
choco install glpk
```

  Preuve: Chocolatey community package catalog: glpk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.804','zoxide'

## Faits du paquet

- **Clé du paquet:** brew:glpk
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/glpk>
- **Version:** 5.0
- **Résumé source:** Library for Linear and Mixed-Integer Programming
- **Page d'accueil:** <https://www.gnu.org/software/glpk/>
- **Docs amont:** <https://www.gnu.org/software/glpk/>
- **Licence:** GPL-3.0-or-later
- **Archive source:** <https://ftpmirror.gnu.org/gnu/glpk/glpk-5.0.tar.gz>
- **Dernière mise à jour:** 2026-06-19T12:31:20-07:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- glpsol (cli)
- glpsol (alias)

## Dépendances

- gmp

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 5.0
- gestionnaire mis à jour: 2026-06-19
- données locales: OK
- dépôt amont: https://www.gnu.org/software/glpk/
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

GLPK, the GNU Linear Programming Kit, is a GNU Project library and solver suite for large-scale linear programming, mixed-integer programming, and related optimization problems.

### Historique du projet

The GNU FTP archive shows GLPK tarballs dating back to the 1.x line in 2000 and rapid 2.x and 3.x releases in 2001 and 2002. The 5.0 source package identifies GLPK as part of the GNU Project and describes it as ANSI C routines organized as a callable library.

GLPK evolved around a small but durable solver toolkit: primal simplex, dual simplex, exact rational simplex, primal-dual interior point, branch-and-cut, an API, the GNU MathProg modeling language, and the glpsol standalone solver. The 5.0 NEWS file records a long release history through the 4.x series before the 5.0 release in 2020.

### Historique d'adoption

GLPK's adoption is strongest in academic, operations-research, reproducible-build, and scripting settings where a GPL solver can be installed from ordinary system package managers. Homebrew, Debian and Ubuntu package names, MacPorts, Nix, Pacman, Chocolatey, and other package-manager records show broad distribution.

### Modes d'utilisation

Practitioners use GLPK as a C library from applications or through glpsol for command-line solving. Typical inputs include MathProg models, LP files, MPS files, and mixed-integer models, with outputs used for teaching, prototyping, batch optimization jobs, and integration tests for modeling layers.

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

GLPK is important to package maintainers because it gives a complete optimization stack as portable C source plus a CLI solver. It is often the default free solver dependency that higher-level modeling tools can detect before users install commercial or heavier open-source solvers.

### Chronologie

- 2000: glpk-1.1.1 appeared in the old GNU FTP archive.
- 2001: GLPK 2.x and 3.0 tarballs appeared in the old GNU FTP archive.
- 2017: GLPK 4.61 added support for building a re-entrant package for multithreaded environments.
- 2018: GLPK 4.65 added LP/MIP preprocessing API routines and cover-cut work.
- 2020: GLPK 5.0 was released and copyright was transferred to the Free Software Foundation.

### Related projects

- GLPK is related to GNU MathProg, AMPL-style model files, MPS and CPLEX LP interchange formats, and higher-level optimization packages that call external LP/MIP solvers.

### Sources

- <https://cvs.savannah.gnu.org/viewvc/glpk>
- <https://formulae.brew.sh/formula/glpk>
- <https://ftp.gnu.org/gnu/glpk/>
- <https://ftp.gnu.org/old-gnu/glpk/>
- <https://www.gnu.org/software/glpk>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - glpk-doc - 5.0-1: normalized package name match | Debian stable package indexes: glpk-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | linear programming kit - documentation files | https://www.gnu.org/software/glpk/glpk.html
- Debian apt - glpk-utils - 5.0-1+b2: normalized package name match | Debian stable package indexes: glpk-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | linear programming kit - utility files | https://www.gnu.org/software/glpk/glpk.html
- Debian apt - libglpk-dev - 5.0-1+b2: normalized package name match | Debian stable package indexes: libglpk-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | linear programming kit - development files | https://www.gnu.org/software/glpk/glpk.html
- Debian apt - libglpk40 - 5.0-1+b2: normalized package name match | Debian stable package indexes: libglpk40 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | linear programming kit with integer (MIP) support | https://www.gnu.org/software/glpk/glpk.html
- Nix - glpk: normalized package name match | nixpkgs package indexes: pkgs/by-name/gl/glpk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - glpk-doc - 5.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: glpk-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | linear programming kit - documentation files | https://www.gnu.org/software/glpk/glpk.html
- Ubuntu apt - glpk-utils - 5.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: glpk-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | linear programming kit - utility files | https://www.gnu.org/software/glpk/glpk.html
- Ubuntu apt - libglpk-dev - 5.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libglpk-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | linear programming kit - development files | https://www.gnu.org/software/glpk/glpk.html
- Ubuntu apt - libglpk40 - 5.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libglpk40 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | linear programming kit with integer (MIP) support | https://www.gnu.org/software/glpk/glpk.html
- apk - glpk - 5.0-r3: normalized package name match | Alpine Linux edge package indexes: glpk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLPK: For solving linear and mixed integer programming and other problems | https://www.gnu.org/software/glpk/
- apk - glpk-dev - 5.0-r3: normalized package name match | Alpine Linux edge package indexes: glpk-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLPK: For solving linear and mixed integer programming and other problems (development files) | https://www.gnu.org/software/glpk/
- dnf - glpk - 5.0-17.fc45: normalized package name match | Fedora Rawhide package metadata: glpk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | GNU Linear Programming Kit | https://www.gnu.org/software/glpk/
- dnf - glpk-devel - 5.0-17.fc45: normalized package name match | Fedora Rawhide package metadata: glpk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development headers and files for GLPK | https://www.gnu.org/software/glpk/
- dnf - glpk-doc - 5.0-17.fc45: normalized package name match | Fedora Rawhide package metadata: glpk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Documentation for glpk | https://www.gnu.org/software/glpk/
- dnf - glpk-utils - 5.0-17.fc45: normalized package name match | Fedora Rawhide package metadata: glpk-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | GLPK-related utilities and examples | https://www.gnu.org/software/glpk/
- pacman - glpk - 5.0-3: normalized package name match | Arch Linux sync databases: glpk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GNU Linear Programming Kit: solve LP, MIP and other problems | https://www.gnu.org/software/glpk/glpk.html


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/fr/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://pkg.so/fr/brew-utility-packages/) - Matched Homebrew package provider.
- [octave](https://pkg.so/fr/brew/octave/) - Popular package that depends on this formula.
- [msc-generator](https://pkg.so/fr/brew/msc-generator/) - Popular package that depends on this formula.
- [cbc](https://pkg.so/fr/brew/cbc/) - Shares pkgdb curated category or tags: cli, linear-programming, mixed-integer-programming, optimization, science.
- [lp_solve](https://pkg.so/fr/brew/lp-solve/) - Shares pkgdb curated category or tags: cli, linear-programming, mixed-integer-programming, optimization, science.
- [scip](https://pkg.so/fr/brew/scip/) - Shares pkgdb curated category or tags: cli, mixed-integer-programming, optimization, science.
- [clp](https://pkg.so/fr/brew/clp/) - Shares pkgdb curated category or tags: cli, linear-programming, optimization, science.
- [highs](https://pkg.so/fr/brew/highs/) - Shares pkgdb curated category or tags: cli, linear-programming, mixed-integer-programming, science.
- [papilo](https://pkg.so/fr/brew/papilo/) - Shares pkgdb curated category or tags: cli, linear-programming, optimization, science.
- [soplex](https://pkg.so/fr/brew/soplex/) - Shares pkgdb curated category or tags: cli, linear-programming, optimization, science.
- [qhull](https://pkg.so/fr/brew/qhull/) - Shares pkgdb curated category or tags: cli, library, science.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
