How To Install libxmlrpc-c++8v5 on Ubuntu 18.04

In this tutorial we learn how to install libxmlrpc-c++8v5 on Ubuntu 18.04. libxmlrpc-c++8v5 is Lightweight RPC library based on XML and HTTP [C++ runtime libraries]

Introduction

In this tutorial we learn how to install libxmlrpc-c++8v5 on Ubuntu 18.04.

What is libxmlrpc-c++8v5

libxmlrpc-c++8v5 is:

XML-RPC is a quick-and-easy way to make procedure calls over the Internet. It converts the procedure call into an 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++.

There are three methods to install libxmlrpc-c++8v5 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libxmlrpc-c++8v5 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libxmlrpc-c++8v5 using apt-get by running the following command:

sudo apt-get -y install libxmlrpc-c++8v5

Install libxmlrpc-c++8v5 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libxmlrpc-c++8v5 using apt by running the following command:

sudo apt -y install libxmlrpc-c++8v5

Install libxmlrpc-c++8v5 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libxmlrpc-c++8v5 using aptitude by running the following command:

sudo aptitude -y install libxmlrpc-c++8v5

How To Uninstall libxmlrpc-c++8v5 on Ubuntu 18.04

To uninstall only the libxmlrpc-c++8v5 package we can use the following command:

sudo apt-get remove libxmlrpc-c++8v5

Uninstall libxmlrpc-c++8v5 And Its Dependencies

To uninstall libxmlrpc-c++8v5 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libxmlrpc-c++8v5

Remove libxmlrpc-c++8v5 Configurations and Data

To remove libxmlrpc-c++8v5 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libxmlrpc-c++8v5

Remove libxmlrpc-c++8v5 configuration, data, and all of its dependencies

We can use the following command to remove libxmlrpc-c++8v5 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libxmlrpc-c++8v5

References

Summary

In this tutorial we learn how to install libxmlrpc-c++8v5 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.