How to Install and Uninstall flex Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "flex" package

Please follow the guidelines below to install flex on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install flex

2. Uninstall "flex" package

Please follow the guidelines below to uninstall flex on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the flex package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: flex
Architecture: amd64
Version: 2.6.4-6
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: 948
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_amd64.deb
Size: 315792
MD5sum: 6d3df2ea4f17e828bfa08f4e17ff1bdc
SHA1: 4c8fca5970b155bb4769baf92f4054954167bb79
SHA256: c819e4b2144c8dcd50ff1b17d072b8f30445b4911ba00a74d9fdb006a655b661
Homepage: https://github.com/westes/flex
Description: fast lexical analyzer generator
Description-md5: c30a7ef9a61fca3debe97b92c3f65013
Supported: 5y