How to Install and Uninstall bnfc Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 26,2024

1. Install "bnfc" package

This guide let you learn how to install bnfc on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install bnfc

2. Uninstall "bnfc" package

This guide covers the steps necessary to uninstall bnfc on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the bnfc package on Ubuntu 20.10 (Groovy Gorilla)

Package: bnfc
Architecture: amd64
Version: 2.8.3-1build1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5353
Depends: libc6 (>= 2.29), libffi8ubuntu1 (>= 3.4~20200819), libgmp10
Filename: pool/universe/b/bnfc/bnfc_2.8.3-1build1_amd64.deb
Size: 869604
MD5sum: 278cb67a7bfef993f67992b974487ca8
SHA1: 7bb94c31bcf65a139a62e74662c7788a61170d31
SHA256: 5c9caa66fe95242c188e34232d1f83875a99ba25c89e8e724fb1f9ae922a85e0
SHA512: 8705ed93af0c5063b6d50a149488ff029d803ce9ee330162b72f78b55f315551167134a9cc2b74d4cd8b1ba35957bed3908abfd35fee70ce6510031f23d28379
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