How To Install expat-static on Fedora 36

In this tutorial we learn how to install expat-static in Fedora 36. expat-static is expat XML parser static library

Introduction

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

What is expat-static

The expat-static package contains the static version of the expat library. Install it if you need to link statically with expat.

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

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

sudo dnf -y install expat-static

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

sudo yum -y install expat-static

How To Uninstall expat-static on Fedora 36

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

sudo dnf remove expat-static

expat-static Package Contents on Fedora 36

/usr/lib/libexpat.a

References

Summary

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


title: “How To Install expat-static on Fedora 36” linkTitle: “expat-static” type: “docs” description: “In this tutorial we learn how to install expat-static in Fedora 36. expat-static is expat XML parser static library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/expat-static-featured.png

Introduction

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

What is expat-static

The expat-static package contains the static version of the expat library. Install it if you need to link statically with expat.

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

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

sudo dnf -y install expat-static

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

sudo yum -y install expat-static

How To Uninstall expat-static on Fedora 36

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

sudo dnf remove expat-static

expat-static Package Contents on Fedora 36

/usr/lib64/libexpat.a

References

Summary

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