How to Install and Uninstall flex Package on Kali Linux

Last updated: May 02,2024

1. Install "flex" package

Please follow the step by step instructions below to install flex on Kali Linux

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

In this section, we are going to explain the necessary steps to uninstall flex on Kali Linux:

$ sudo apt remove flex $ sudo apt autoclean && sudo apt autoremove

3. Information about the flex package on Kali Linux

Package: flex
Source: flex (2.6.4-8.2)
Version: 2.6.4-8.2+b2
Installed-Size: 1243
Maintainer: Manoj Srivastava
Architecture: amd64
Replaces: flex-old
Depends: libc6 (>= 2.34), m4
Pre-Depends: debconf | debconf-2.0
Recommends: gcc | c-compiler, libfl-dev
Suggests: bison, build-essential, flex-doc
Conflicts: flex-old
Size: 425920
SHA256: c4497683b2096273fddd2b3ceb7a43eca5aa56fb3297be42cd16e0cc50874bf2
SHA1: 03a025f836b8cc895089937f3514796bf2450111
MD5sum: 597dcfd1ea828db1934cce6a8bef340f
Description: fast lexical analyzer generator
Flex is a tool for generating scanners: programs which recognized lexical
patterns in text. It reads the given input files for a description of a
scanner to generate. The description is in the form of pairs of regular
expressions and C code, called rules. Flex generates as output a C source
file, lex.yy.c, which defines a routine yylex(). This file is compiled
and linked with the -lfl library to produce an executable. When the
executable is run, it analyzes its input for occurrences of the regular
expressions. Whenever it finds one, it executes the corresponding C code.
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/westes/flex
Tag: devel::code-generator, implemented-in::c, interface::commandline,
role::program, scope::utility, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/f/flex/flex_2.6.4-8.2+b2_amd64.deb