COBOLworx employee?Sign in

← Knowledge Base

GCC COBOL

Install COBOLworx Packages for gcobol on Debian/Ubuntu

Installation Packages for the GCOBOL Compiler

We have Debian installation packages for the GCOBOL compiler that are known to install properly on Debian-12 distributions and on Ubuntu-24.04.

These .deb files are found at our private registry. The list is updated with each commit, with the most recent at the top of the list.

Install the downloaded file with:

sudo apt install ./gcobol-xx_xx.x.xx-dev-xxxxxxxxx_x86_64.deb

You will need to modify the filename to match that of the download.

That installs the executable as /usr/bin/gcobol and moves the necessary libraries into place.

Note: At the end of the installation process you will probably see a warning message of the form

N: Download is performed unsandboxed as root as file '/home/user/gcobol-13_13.0.16-dev-44fa482b9_x86_64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

This is a warning, and does not affect the installation. If you prefer to avoid the warning message, move the downloaded file to /tmp and install it from there.