How To Install uriparser on CentOS 7

In this tutorial we learn how to install uriparser on CentOS 7. uriparser is URI parsing library - RFC 3986

Introduction

In this tutorial we learn how to install uriparser on CentOS 7.

What is uriparser

Uriparser is a strictly RFC 3986 compliant URI parsing library written in C. uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license. Uriparser is a strictly RFC 3986 compliant URI parsing library written in C. uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license.

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

Install uriparser on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install uriparser

Install uriparser on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install uriparser

How To Uninstall uriparser on CentOS 7

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

sudo dnf remove uriparser

References

Summary

In this tutorial we learn how to install uriparser on CentOS 7 using yum and dnf.