How to Install and Uninstall bnfc Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 05,2024

1. Install "bnfc" package

Please follow the steps below to install bnfc on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install bnfc

2. Uninstall "bnfc" package

Please follow the instructions below to uninstall bnfc on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove bnfc $ sudo apt autoclean && sudo apt autoremove

3. Information about the bnfc package on Ubuntu 21.10 (Impish Indri)

Package: bnfc
Architecture: amd64
Version: 2.8.3-1build1.1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5352
Depends: libc6 (>= 2.34), libffi8 (>= 3.4), libgmp10
Filename: pool/universe/b/bnfc/bnfc_2.8.3-1build1.1_amd64.deb
Size: 951486
MD5sum: 335722f8ceab63b416fbf50a873a7433
SHA1: a4c43b2b59207ed945163bf8dcc57af67f36274b
SHA256: 005c9af28793b3749b8a292d227ba514dfb33df55c7d06415fc8f37d1c5cd62f
SHA512: 5ebc90aa0ee6c1149ec0feecaadb831eae0d08d4f212e84c800f6cb30b0ab5c43bb3b592e9f9b9ba3637d68d013ab57bd8494125cddde895743a3c554a36725f
Homepage: http://bnfc.digitalgrammars.com/
Description-en: Compiler front-end generator based on Labelled BNF
The BNF Converter is a compiler construction tool that generates a
compiler front-end and a readable syntax description document from a
Labelled BNF grammar. It was originally written to generate Haskell,
but it can now also be used for generating Java, C++, and C.
.
To process Haskell output, you need the Glorious Glasgow Haskell
Compiler (virtual package ghc), the Happy parser generator (package
happy) and the Alex scanner generator (package alex).
.
To process Java output, you need a Java compiler and virtual machine,
the CUP parser generator (package cup) and the JLex scanner generator
(package jlex).
.
To process C or C++ output, you need a C or C++ compiler,
respectively, the Bison parser generator (package bison) and the flex
scanner generator (package flex).
.
To process the generated documents, you need LaTeX (packages
tetex-base, tetex-bin, etc.).
Description-md5: 9f9dd02fdfd50341fe3b1def1efbf59d