How to Install and Uninstall bnfc Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "bnfc" package

Please follow the guidance below to install bnfc on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install bnfc

2. Uninstall "bnfc" package

This guide let you learn how to uninstall bnfc on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the bnfc package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: bnfc
Priority: optional
Section: universe/devel
Installed-Size: 4850
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: amd64
Version: 2.8-4
Depends: libc6 (>= 2.15), libffi6 (>= 3.0.4), libgmp10
Filename: pool/universe/b/bnfc/bnfc_2.8-4_amd64.deb
Size: 796124
MD5sum: 9b0dbfc8f3a327f4081dd09ead763431
SHA1: 92f54d2ae2b3cc18ed3001f37bb9ca64d523d6b4
SHA256: f8f5540caf89025a1d998218a98825cf1cf1fe91f4f1d693339b03cd8cc46608
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
Homepage: http://bnfc.digitalgrammars.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu