How to Install and Uninstall flex Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 02,2024

1. Install "flex" package

Please follow the guidance below to install flex on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

Please follow the guidelines below to uninstall flex on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the flex package on Ubuntu 20.04 LTS (Focal Fossa)

Package: flex
Architecture: amd64
Version: 2.6.4-6.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: 952
Pre-Depends: debconf | debconf-2.0
Depends: libc6 (>= 2.26), m4
Recommends: gcc | c-compiler, libfl-dev
Suggests: bison, build-essential, flex-doc
Filename: pool/main/f/flex/flex_2.6.4-6.2_amd64.deb
Size: 316612
MD5sum: 52d4cf521707c7bfa3587cdf6a0d5925
SHA1: a4a500c1d63648a2f54ab73da41c49c226cd5290
SHA256: 67e2b65dcfdcb6f50b2a78bbf41c9a7fe5f9659017fb33b81bfb824fbdd23111
Homepage: https://github.com/westes/flex
Description: fast lexical analyzer generator
Description-md5: c30a7ef9a61fca3debe97b92c3f65013