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

Last updated: May 07,2024

1. Install "flexc++" package

This tutorial shows how to install flexc++ on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install flexc++

2. Uninstall "flexc++" package

Please follow the steps below to uninstall flexc++ on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove flexc++ $ sudo apt autoclean && sudo apt autoremove

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

Package: flexc++
Architecture: amd64
Version: 2.07.09-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Frank B. Brokken
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1444
Depends: libbobcat5 (>= 5.04.01), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 9)
Suggests: bisonc++
Filename: pool/universe/f/flexc++/flexc++_2.07.09-1_amd64.deb
Size: 648396
MD5sum: 4031739fdc6c42a702a7afeb6cd0b7f1
SHA1: 953966ddc9b5bf7ef247abe588628306f9f2536f
SHA256: 7e12ede1b15088a0018acac4772972fa652468ed6f74cdb05a19aab50a466987
SHA512: f03a50e66f142719ea450022edfb971a3cd86e6c2c9751d45899f22c02b0eb732cbe9b2bcb187cf2e50b1bd826af4ae421de0b44f060c6ae72a645b4303bb773
Homepage: https://fbb-git.gitlab.io/flexcpp/
Description-en: Flex-style scanner generator for C++
Flexc++ was designed after `flex'. Flexc++ offers as compared to flex's C++
option a cleaner class-design.
.
Flexc++ generates a scanner class that is ready for use, as well as a member
function producing the lexical scanner tokens (lex()). The class can easily
be provided with additional members without the need for polymorphic
functions. Consequently, classes generated by flexc++ have no virtual members
and actually have but one public member: lex(), replacing the old-style flex
and flex++ yylex() function.
.
Flexc++ offers many options, among which an option to define classes
generated by flexc++ in a separate namespace. This allows developers to
define additional symbols, even outside of the class generated by flexc++,
without encountering name-collision problems. With flexc++, artificial means
to prevent name-collisions, like the yy-conventions used by flex and flex++
are no longer required. Flexc++ generates C++ code. If C code is required,
flex should be used. Flexc++'s grammar requirements are highly compatible
with flex's requirements, so converting a flex grammar into a flexc++ grammar
should be fairly simple.
.
In addition to the flexc++ scanner generator itself and several skeleton
files, the package contains an extensive man-page, as well as a full manual
rewritten after the original flex manual, and several examples.
Description-md5: 1646080bb97c3c02ab590f801c0169c6