How to Install and Uninstall flex Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "flex" package

Learn how to install flex on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

Please follow the guidance below to uninstall flex on Debian 12 (Bookworm):

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

3. Information about the flex package on Debian 12 (Bookworm)

Package: flex
Version: 2.6.4-8.2
Installed-Size: 1241
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
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.2_amd64.deb
Size: 421580
MD5sum: d968b8aa4b8daf7cc6ef7a257325f2cb
SHA256: da3fd55dbb6aff4f7b3187580813e0ef707d0c596402e37c8fd144df60003636