How To Install Cobc In Debian, Ubuntu, Kali, Raspbian And MacOS?

How To Install Cobc In Debian, Ubuntu, Kali, Raspbian And MacOS?

cobc

COBOL compiler

Maintainer: Ludwin Janvier



Section: devel

Install cobc

  • Debian apt-get install open-cobol Click to copy
  • Ubuntu apt-get install open-cobol Click to copy
  • Kali Linux apt-get install gnucobol Click to copy
  • Raspbian apt-get install open-cobol Click to copy
  • macOS brew install open-cobol Click to copy

open-cobol

COBOL compiler

OpenCOBOL implements substantial part of the COBOL 85 and COBOL 2002 standards, as well as many extensions of the existent compilers. OpenCOBOL translates COBOL into C and compiles the translated code using GCC.

gnucobol

COBOL compiler

GnuCOBOL (formerly OpenCOBOL) is a free, modern COBOL compiler. GnuCOBOL implements a substantial part of the COBOL 85, COBOL 2002 and COBOL 2014 standards and X/Open COBOL, as well as many extensions included in other COBOL compilers (IBM COBOL, MicroFocus COBOL, ACUCOBOL-GT and others). GnuCOBOL translates COBOL into C and compiles the translated code using a native C compiler. Build COBOL programs on various platforms, including GNU/Linux, Unix, Mac OS X, and Microsoft Windows. GnuCOBOL has also been built on HP/UX, z/OS, SPARC, RS6000, AS/400, along with other combinations of machines and operating systems. While being held to a high level of quality and robustness, GnuCOBOL does not claim to be a u201cStandard Conformingu201d implementation of COBOL. GnuCOBOL passes over 9600 of the NIST COBOL 85 test suite tests and over 750 internal checks during build.

Installation of latest cobc command is available for Debian, Ubuntu, Kali, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.