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

Last updated: November 22,2024

1. Install "flexc++" package

This guide let you learn how to install flexc++ on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install flexc++

2. Uninstall "flexc++" package

Please follow the guidance below to uninstall flexc++ on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: flexc++
Priority: optional
Section: universe/devel
Installed-Size: 1359
Maintainer: Ubuntu Developers
Original-Maintainer: Frank B. Brokken
Architecture: amd64
Version: 2.03.04-1
Depends: libbobcat4 (>= 4.01.03), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2)
Suggests: bisonc++
Filename: pool/universe/f/flexc++/flexc++_2.03.04-1_amd64.deb
Size: 616516
MD5sum: 072d5fced4ceeb113bf795ebfe1b09f2
SHA1: 09035c5ca1c5c6b96aac205724096f8f69d5cd40
SHA256: 60dddbcab3459c6ee26aa089d7135cbf63ceb54d84721c9c49f8b3f6538e464d
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
Homepage: https://fbb-git.github.io/flexcpp/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu