How To Install libfl2 on Fedora 36

In this tutorial we learn how to install libfl2 in Fedora 36. libfl2 is Libraries for the flex scanner generator

Introduction

In this tutorial we learn how to install libfl2 on Fedora 36.

What is libfl2

flex is a tool for generating scanners. This package contains the shared library with default implementations of main' and yywrap’ functions that binaries using flex can choose to link against instead of implementing on their own.

We can use yum or dnf to install libfl2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libfl2.

Install libfl2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libfl2 using dnf by running the following command:

sudo dnf -y install libfl2

Install libfl2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libfl2 using yum by running the following command:

sudo yum -y install libfl2

How To Uninstall libfl2 on Fedora 36

To uninstall only the libfl2 package we can use the following command:

sudo dnf remove libfl2

libfl2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/bab73c0fd50ae8b3d2712bf213758deecc6a1e
/usr/lib/libfl.so.2
/usr/lib/libfl.so.2.0.0
---
title: "How To Install libfl2 on Fedora 36"
linkTitle: "libfl2"
type: "docs"
description: "In this tutorial we learn how to install libfl2 in Fedora 36. libfl2 is Libraries for the flex scanner generator"

date: “2022-08-17” lastmod: “2022-08-17”

#image: /images/fedora/36/libfl2-featured.png

References


Introduction

Summary

In this tutorial we learn how to install libfl2 on Fedora 36.

What is libfl2

In this tutorial we learn how to install libfl2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

flex is a tool for generating scanners. This package contains the shared library with default implementations of main' and yywrap’ functions that binaries using flex can choose to link against instead of implementing on their own.

We can use yum or dnf to install libfl2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libfl2.

Install libfl2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libfl2 using dnf by running the following command:

sudo dnf -y install libfl2

Install libfl2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libfl2 using yum by running the following command:

sudo yum -y install libfl2

How To Uninstall libfl2 on Fedora 36

To uninstall only the libfl2 package we can use the following command:

sudo dnf remove libfl2

libfl2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/b3709d9e03d2813e5a4b4c1d6c3a0e68d5d7bb
/usr/lib64/libfl.so.2
/usr/lib64/libfl.so.2.0.0

References

Summary

In this tutorial we learn how to install libfl2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).