- Install
Open-Cobol, the compiler:
sudo apt install open-cobol
-
Install the vscode extension
Cobolfor highlighting cobol syntaxe and other things. -
Write a program in .cob or .cbl
-
Compile the file
cobc -x -o filename filename.cbl
- Execute the binary
./filename