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

Last updated: November 07,2024

1. Install "flexc++" package

Here is a brief guide to show you how to install flexc++ on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install flexc++

2. Uninstall "flexc++" package

This is a short guide on how to uninstall flexc++ on Ubuntu 21.10 (Impish Indri):

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

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

Package: flexc++
Architecture: amd64
Version: 2.08.01-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: 1479
Depends: libbobcat5 (>= 5.05.00), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 9)
Suggests: bisonc++
Filename: pool/universe/f/flexc++/flexc++_2.08.01-1_amd64.deb
Size: 656496
MD5sum: 1d8de4b821d62820ad6e650328466bb7
SHA1: 11b59a2abb9ea35078d8e9bbacc6af69e9a21181
SHA256: 89a6a28634ec536e3b3131765b28b6ba2d371471dad74827d3fc423e3555d996
SHA512: b25bed916c33ac29f84971bd8883b69155cfbdc87731296a7cef8be148bc7032700b4d0d5eb2f782f55a35e0f1444a09a1f8bb49d098e42960cdf384b8908cb3
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