How To Install libfl-static on Fedora 36

In this tutorial we learn how to install libfl-static in Fedora 36. libfl-static is Static libraries for the flex scanner generator

Introduction

In this tutorial we learn how to install libfl-static on Fedora 36.

What is libfl-static

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

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

Install libfl-static 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 libfl-static using dnf by running the following command:

sudo dnf -y install libfl-static

Install libfl-static 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 libfl-static using yum by running the following command:

sudo yum -y install libfl-static

How To Uninstall libfl-static on Fedora 36

To uninstall only the libfl-static package we can use the following command:

sudo dnf remove libfl-static

libfl-static Package Contents on Fedora 36

/usr/lib64/libfl.a
/usr/lib64/libl.a
/usr/share/doc/flex
/usr/share/licenses/libfl-static
/usr/share/licenses/libfl-static/COPYING

References

Summary

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


title: “How To Install libfl-static on Fedora 36” linkTitle: “libfl-static” type: “docs” description: “In this tutorial we learn how to install libfl-static in Fedora 36. libfl-static is Static libraries for the flex scanner generator” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libfl-static-featured.png

Introduction

In this tutorial we learn how to install libfl-static on Fedora 36.

What is libfl-static

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

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

Install libfl-static 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 libfl-static using dnf by running the following command:

sudo dnf -y install libfl-static

Install libfl-static 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 libfl-static using yum by running the following command:

sudo yum -y install libfl-static

How To Uninstall libfl-static on Fedora 36

To uninstall only the libfl-static package we can use the following command:

sudo dnf remove libfl-static

libfl-static Package Contents on Fedora 36

/usr/lib/libfl.a
/usr/lib/libl.a
/usr/share/doc/flex
/usr/share/licenses/libfl-static
/usr/share/licenses/libfl-static/COPYING

References

Summary

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