How to Install and Uninstall flex.x86_64 Package on CentOS Stream 9

Last updated: November 16,2024

1. Install "flex.x86_64" package

Here is a brief guide to show you how to install flex.x86_64 on CentOS Stream 9

$ sudo dnf update $ sudo dnf install flex.x86_64

2. Uninstall "flex.x86_64" package

Please follow the steps below to uninstall flex.x86_64 on CentOS Stream 9:

$ sudo dnf remove flex.x86_64 $ sudo dnf autoremove

3. Information about the flex.x86_64 package on CentOS Stream 9

Last metadata expiration check: 0:45:23 ago on Sat Mar 16 16:03:45 2024.
Available Packages
Name : flex
Version : 2.6.4
Release : 9.el9
Architecture : x86_64
Size : 313 k
Source : flex-2.6.4-9.el9.src.rpm
Repository : appstream
Summary : A tool for generating scanners (text pattern recognizers)
URL : https://github.com/westes/flex
License : BSD and LGPLv2+
Description : The flex program generates scanners. Scanners are programs which can
: recognize lexical patterns in text. Flex takes pairs of regular
: expressions and C code as input and generates a C source file as
: output. The output file is compiled and linked with a library to
: produce an executable. The executable searches through its input for
: occurrences of the regular expressions. When a match is found, it
: executes the corresponding C code. Flex was designed to work with
: both Yacc and Bison, and is used by many programs as part of their
: build process.
:
: You should install flex if you are going to use your system for
: application development.