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

Last updated: May 04,2024

1. Install "re2c" package

Please follow the guidance below to install re2c on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install re2c

2. Uninstall "re2c" package

Please follow the guidance below to uninstall re2c on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove re2c $ sudo apt autoclean && sudo apt autoremove

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

Package: re2c
Architecture: amd64
Version: 2.0.3-1build1
Multi-Arch: foreign
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: JCF Ploemen (jcfp)
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2076
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libstdc++6 (>= 11)
Filename: pool/main/r/re2c/re2c_2.0.3-1build1_amd64.deb
Size: 349656
MD5sum: 2ae5ba21258dc07f896a501e46ab15c6
SHA1: 9a08a76a64643a95c5909cab733370e0453d6f48
SHA256: bf8fb464eaef0a66ffe436a1e976e984e1c7c4d264df5ced0cce17e82d13dc59
SHA512: ffa3d56047d90e7c9bf6ff2339113c1f67e5f56c7bb0e75d302470aa488b408050915ff7b6ea2f8a33c10d2432dd0d5b750ca117941f1d56ad4c2ab0f0b535ee
Homepage: https://re2c.org
Description-en: lexer generator for C, C++ and Go
re2c's main goal is generating fast lexers: at least as fast as
their reasonably optimized hand-coded counterparts. Instead of using
a traditional table-driven approach, re2c encodes the generated
finite state automata directly in the form of conditional jumps and
comparisons. The resulting programs are faster and often smaller
than their table-driven analogues, and they are much easier to debug
and understand. Quite a few optimizations are applied in order to
speed up and compress the generated code.
.
Another distinctive feature is its flexible interface: instead of
assuming a fixed program template, re2c lets the programmer write
most of the interface code and adapt the generated lexer to any
particular environment.
Description-md5: 6058c7f3257f01efd555d3765a1a68d9