How to Install and Uninstall flex Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 07,2024

1. Install "flex" package

Please follow the steps below to install flex on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

This is a short guide on how to uninstall flex on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the flex package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: flex
Architecture: amd64
Version: 2.6.4-8build2
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: 972
Pre-Depends: debconf | debconf-2.0
Depends: libc6 (>= 2.34), m4
Recommends: gcc | c-compiler, libfl-dev
Suggests: bison, build-essential, flex-doc
Filename: pool/main/f/flex/flex_2.6.4-8build2_amd64.deb
Size: 306728
MD5sum: 4bcebe8b7e94ec3305afaf2b149fb2c6
SHA1: 9c49b96f5d637602ffdfe641c3be4be3030dd13f
SHA256: 980674f410fa6cb5e41d1bdf434a9391dcec0ac8fae5194cd90f9598ae074d8d
SHA512: 35cb891559e462f4f37daffbe55fcf9c37f4a76622f955471b9732d009f79ef2d3a771fa60f5d802f593d77616966ffe6c26225da239610dcd25d7d3866da16b
Homepage: https://github.com/westes/flex
Description: fast lexical analyzer generator
Description-md5: c30a7ef9a61fca3debe97b92c3f65013