macOS
brew install gnucobollocal Homebrew formula metadata
sudo port install gnucobolMacPorts ports tree · lang/gnucobol/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gnucobol pour les workflows d'agents IA.
installation
brew install gnucobollocal Homebrew formula metadata
sudo port install gnucobolMacPorts ports tree · lang/gnucobol/Portfile · Source: api.github.com
sudo apk add gnucobolAlpine Linux edge package indexes · gnucobol · Source: dl-cdn.alpinelinux.org
sudo apt install gnucobolDebian stable package indexes · gnucobol · Source: deb.debian.org
sudo dnf install gnucobolFedora Rawhide package metadata · gnucobol · Source: dl.fedoraproject.org
nix profile install nixpkgs#gnucobolnixpkgs package indexes · pkgs/by-name/gn/gnucobol/package.nix · Source: api.github.com
sudo zypper install gnucobolopenSUSE Tumbleweed package metadata · gnucobol · Source: download.opensuse.org
aperçu
COBOL85-202x compiler supporting lots of dialect specific extensions
historique
GnuCOBOL is a free COBOL compiler that translates COBOL source to C and then uses the configured C compiler to produce native code. Its importance comes from keeping COBOL available in the GNU toolchain and package-manager world while supporting many historical dialects and newer COBOL standards features.
The project began as OpenCOBOL around 2002. The FAQ credits Keisuke Nishida as the initial developer, influenced by TinyCOBOL, records the first public 0.9.0 release on January 25, 2002, and notes Roger While taking the lead developer role in 2004. OpenCOBOL 1.0 followed in 2007, and the 1.1 line became the basis for the GNU-era package.
OpenCOBOL was accepted as an official GNU project on September 27, 2013 and first rebranded as GNU Cobol. The spelling GnuCOBOL became preferred in September 2014, Simon Sobisch became project lead in 2014, and the FAQ records Free Software Foundation copyright assignment becoming legally binding in June 2015 for the source tree dating back to the original public release.
Later releases expanded dialect handling, diagnostics, runtime behavior, source-level debugging, report writer support, JSON and XML generation, and compatibility with older and vendor-specific COBOL styles. The project page describes GnuCOBOL 3.2 as producing native executables and supporting Linux, BSD, proprietary Unix systems, macOS, Windows, and other platforms.
GnuCOBOL serves a particular adoption niche: organizations and individual programmers with COBOL code can compile and test it with a free compiler, often on commodity Unix-like systems. The FAQ says OpenCOBOL and GnuCOBOL have been used in production environments, while also warning that each production use needs risk analysis.
Its package-manager significance is amplified by COBOL's long commercial history. GnuCOBOL lets package repositories ship a working COBOL compiler without tying users to proprietary mainframe or vendor compiler ecosystems, and its LGPL runtime allows commercial use of generated programs under the stated license terms.
Practitioners use cobc to compile COBOL files into modules, object files, C output, or executable programs. Typical workflows include building legacy COBOL with dialect options such as -std, compiling free-format or fixed-format source, integrating C libraries, running modules with cobcrun, and using compiler listings or warning modes during modernization.
The package is also used for teaching, migration experiments, CI checks for COBOL code, and prototyping around vendor dialects. Because GnuCOBOL emits C, users can lean on the host compiler, linker, debugger, and platform libraries rather than requiring a dedicated COBOL runtime environment for every step.
GnuCOBOL is the rare package that makes a historically enterprise language feel like a normal open-source compiler dependency. For package maintainers it is a bridge between COBOL archives and modern Unix build systems; for language-runtime collectors it is a compact way to keep COBOL executable on laptops, CI runners, and free-software distributions.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
cob-config | cli | exécutable global | |
cobc | cli | exécutable global | |
cobcrun | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://gnucobol.sourceforge.io/
métadonnées d'installation
| Clé du paquet | brew:gnucobol |
|---|---|
| Version | 3.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/gnucobol |
| Page d'accueil | https://gnucobol.sourceforge.io/ |
| Docs amont | https://gnucobol.sourceforge.io/doc/gnucobol.html |
| Licence | GPL-3.0-or-later |
| Archive source | https://ftpmirror.gnu.org/gnu/gnucobol/gnucobol-3.2.tar.xz |
| Dernière mise à jour | 2026-06-28T03:24:27Z |
| Pulse | updated |
| Dépendances | berkeley-db, gmp, json-c |
| Dépendances de compilation | pkgconf |
| Bibliothèques fournies par macOS | libxml2, ncurses |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnucobol |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
gnucobol 5
compiler package for default GnuCOBOL
sudo apt install gnucobolgnucobol
nix profile install nixpkgs#gnucobolgnucobol 5
compiler package for default GnuCOBOL
sudo apt install gnucobolgnucobol 3.2-r0
GnuCOBOL compiler
https://www.gnu.org/software/gnucobol/
sudo apk add gnucobolgnucobol-doc 3.2-r0
GnuCOBOL compiler (documentation)
https://www.gnu.org/software/gnucobol/
sudo apk add gnucobol-docgnucobol-lang 3.2-r0
Languages for package gnucobol
https://www.gnu.org/software/gnucobol/
sudo apk add gnucobol-langlibcob4 3.2-r0
GnuCOBOL runtime library
https://www.gnu.org/software/gnucobol/
sudo apk add libcob4gnucobol 3.2-9.fc44
COBOL compiler
https://www.gnu.org/software/gnucobol/
sudo dnf install gnucobolgnucobol-esql 3.2-9.fc44
ESQL for GnuCOBOL
https://www.gnu.org/software/gnucobol/
sudo dnf install gnucobol-esqllibcob 3.2-9.fc44
GnuCOBOL runtime library
https://www.gnu.org/software/gnucobol/
sudo dnf install libcobgnucobol 3.2-3.3
A COBOL compiler
https://www.gnu.org/software/gnucobol/
sudo zypper install gnucobolgnucobol-esql 3.2-3.3
ESQL for GnuCOBOL
https://www.gnu.org/software/gnucobol/
sudo zypper install gnucobol-esqlgnucobol-esql-devel 3.2-3.3
Devel package for ESQL
https://www.gnu.org/software/gnucobol/
sudo zypper install gnucobol-esql-devellibcob4 3.2-3.3
GnuCOBOL shared library
https://www.gnu.org/software/gnucobol/
sudo zypper install libcob4gnucobol
sudo port install gnucobolpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.