How to Install and Uninstall libre2-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 13,2024

1. Install "libre2-dev" package

This guide covers the steps necessary to install libre2-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libre2-dev

2. Uninstall "libre2-dev" package

Please follow the step by step instructions below to uninstall libre2-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libre2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libre2-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libre2-dev
Architecture: amd64
Version: 20210201+dfsg-1
Built-Using: unicode-data (= 13.0.0-2build1)
Multi-Arch: same
Priority: optional
Section: libdevel
Source: re2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Stefano Rivera
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1168
Depends: libre2-9 (= 20210201+dfsg-1)
Breaks: libre2-0 (<< 0+hg40+dfsg-1~)
Replaces: libre2-0 (<< 0+hg40+dfsg-1~)
Filename: pool/main/r/re2/libre2-dev_20210201+dfsg-1_amd64.deb
Size: 225872
MD5sum: 29d3ada24319675d8913f201f0057f0c
SHA1: 869bcd8d5c3ca8f3d7de06b559299ca93656cae4
SHA256: 24700aa933ea3da315523d93dee6874fe76cd8914671daa9d93b3bce44bb97f2
SHA512: 259aad7f0de5a8960d88fd6571245f7ff338fd866a00ebf115360cbc0db0390ff5c3f7195c09cdd5e92468b637b1304d24e90e82f942adc501237157f5e84f7c
Homepage: https://github.com/google/re2
Description-en: efficient, principled regular expression library, development kit
RE2 is a fast, safe, thread-friendly alternative to backtracking regular
expression engines like those used in PCRE, Perl, and Python. It is a C++
library.
.
RE2 uses automata theory to guarantee that regular expression searches run in
time linear in the size of the input. RE2 implements memory limits, so that
searches can be constrained to a fixed amount of memory. RE2 is engineered to
use a small fixed C++ stack footprint no matter what inputs or regular
expressions it must process; thus RE2 is useful in multithreaded environments
where thread stacks cannot grow arbitrarily large.
.
On large inputs, RE2 is often much faster than backtracking engines; its use
of automata theory lets it apply optimizations that the others cannot.
.
This package contains the static library and header files used in development.
Description-md5: 877d8fcb54ca1379d20bacacf044187e