How to Install and Uninstall flex Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 07,2024

1. Install "flex" package

This is a short guide on how to install flex on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

Learn how to uninstall flex on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the flex package on Ubuntu 24.04 LTS (Noble Numbat)

Package: flex
Architecture: amd64
Version: 2.6.4-8.2
Multi-Arch: foreign
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Manoj Srivastava
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 924
Pre-Depends: debconf | debconf-2.0
Depends: libc6 (>= 2.34), m4
Recommends: gcc | c-compiler, libfl-dev
Suggests: bison, build-essential, flex-doc
Conflicts: flex-old
Replaces: flex-old
Filename: pool/main/f/flex/flex_2.6.4-8.2_amd64.deb
Size: 299284
MD5sum: 8c893144d6468f6b78cce66b3f8525b7
SHA1: 6cd8471e1717f172120ad9acf30f3e3754a2f021
SHA256: 0374cdd0546b53742f990f9081b8818d2228cd21a9f9fd685092115b7dd47513
SHA512: dced8395d7f995aa55374a94fa2e1df556d36eb552e3133f16a247c6fff893709eb5d87b0e3e65e8470f3ed64938a59b53d26524d883c9a99fd37b16c09bb0c1
Homepage: https://github.com/westes/flex
Description: fast lexical analyzer generator
Description-md5: c30a7ef9a61fca3debe97b92c3f65013