How To Install xmlrpc-c on CentOS 7

In this tutorial we learn how to install xmlrpc-c on CentOS 7. xmlrpc-c is A lightweight RPC library based on XML and HTTP

Introduction

In this tutorial we learn how to install xmlrpc-c on CentOS 7.

What is xmlrpc-c

XML-RPC is a quick-and-easy way to make procedure calls over the Internet. It converts the procedure call into XML document, sends it to a remote server using HTTP, and gets back the response as XML. This library provides a modular implementation of XML-RPC for C. XML-RPC is a quick-and-easy way to make procedure calls over the Internet. It converts the procedure call into XML document, sends it to a remote server using HTTP, and gets back the response as XML. This library provides a modular implementation of XML-RPC for C.

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

Install xmlrpc-c on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install xmlrpc-c using yum by running the following command:

sudo yum -y install xmlrpc-c

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

sudo dnf -y install xmlrpc-c

How To Uninstall xmlrpc-c on CentOS 7

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

sudo dnf remove xmlrpc-c

References

Summary

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