Contents
Installed Programs:
None
Installed Libraries:
libre2
Installed Directories:
/usr/include/re2 and /usr/lib/cmake/re2
The re2 package provides a regular expression library.
CMake and Abseil-cpp
Install re2 by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=ON \
-G Ninja .. &&
ninja
Now, as the root user:
ninja install
-D BUILD_SHARED_LIBS=ON: This parameter builds
shared versions of the libraries provided by this package instead of
static libraries.