How To Install xerces-c on Fedora 36

In this tutorial we learn how to install xerces-c in Fedora 36. xerces-c is Validating XML Parser

Introduction

In this tutorial we learn how to install xerces-c on Fedora 36.

What is xerces-c

Xerces-C is a validating XML parser written in a portable subset of C++. Xerces-C makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. Xerces-C is faithful to the XML 1.0 recommendation and associated standards Edition), DOM Level 1, 2, 3 Core, DOM Level 2.0 Traversal and Range, DOM Level 3.0 Load and Save, SAX 1.0 and SAX 2.0, Namespaces in XML, Namespaces in XML 1.1, XML Schema, XML Inclusions).

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

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

sudo dnf -y install xerces-c

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

sudo yum -y install xerces-c

How To Uninstall xerces-c on Fedora 36

To uninstall only the xerces-c package we can use the following command:

sudo dnf remove xerces-c

xerces-c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/71
/usr/lib/.build-id/71/5a7a8f633331ad25b0e6f32ceb7681c95c49b4
/usr/lib/libxerces-c-3.2.so
/usr/share/licenses/xerces-c
/usr/share/licenses/xerces-c/LICENSE
---
title: "How To Install xerces-c on Fedora 36"
linkTitle: "xerces-c"
type: "docs"
description: "In this tutorial we learn how to install xerces-c in Fedora 36. xerces-c is Validating XML Parser"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/xerces-c-featured.png
---

## Introduction

In this tutorial we learn how to install `xerces-c` on Fedora 36.

### What is `xerces-c`

> Xerces-C is a validating XML parser written in a portable subset of C++. Xerces-C makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. Xerces-C is faithful to the XML 1.0 recommendation and associated standards Edition), DOM Level 1, 2, 3 Core, DOM Level 2.0 Traversal and Range, DOM Level 3.0 Load and Save, SAX 1.0 and SAX 2.0, Namespaces in XML, Namespaces in XML 1.1, XML Schema, XML Inclusions).  

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

## Install xerces-c on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash

sudo dnf makecache –refresh

## References


After updating yum database, We can install `xerces-c` using `dnf` by running the following command:
* [xerces-c website](http://xml.apache.org/xerces-c/)


```bash
## Summary

sudo dnf -y install xerces-c

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

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

sudo yum -y install xerces-c

How To Uninstall xerces-c on Fedora 36

To uninstall only the xerces-c package we can use the following command:

sudo dnf remove xerces-c

xerces-c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/b445b9463b81b4f949daefaaa66bd8febe2b42
/usr/lib64/libxerces-c-3.2.so
/usr/share/licenses/xerces-c
/usr/share/licenses/xerces-c/LICENSE

References

Summary

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