How to Install and Uninstall flex Package on Debian 11 (Bullseye)

Last updated: November 07,2024

1. Install "flex" package

This is a short guide on how to install flex on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

Please follow the guidance below to uninstall flex on Debian 11 (Bullseye):

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

3. Information about the flex package on Debian 11 (Bullseye)

Package: flex
Version: 2.6.4-8
Installed-Size: 1279
Maintainer: Manoj Srivastava
Architecture: amd64
Depends: libc6 (>= 2.26), m4
Pre-Depends: debconf | debconf-2.0
Recommends: gcc | c-compiler, libfl-dev
Suggests: bison, build-essential, flex-doc
Description: fast lexical analyzer generator
Description-md5: c30a7ef9a61fca3debe97b92c3f65013
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_amd64.deb
Size: 440488
MD5sum: a429e2b8e571d8136c13cca8fd959811
SHA256: 6e356fec04533fb809a1d332ac74cd5f10e86841694e2fde69fcb1ef35ecbde5