xml-rpc-api2cpp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xml-rpc-api2cpp: command not found
or when using sudo you get the following error message
sudo: xml-rpc-api2cpp: command not found
Solutions to xml-rpc-api2cpp: command not found
How To Fix xml-rpc-api2cpp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xml-rpc-api2cpp is provided by xmlrpc-api-utils package.
xmlrpc-api-utils 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 package contains two programs:
- xml-rpc-api2cpp, a utility for generating C++ wrapper classes based on an XML-RPC API, obtained by interrogating an XML-RPC server.
- xml-rpc-api2txt, a utility for printing out an XML-RPC API as a text file. The API is obtained by interrogating an XML-RPC server.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xmlrpc-api-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xmlrpc-api-utils.
sudo apt -y install xmlrpc-api-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install xmlrpc-api-utils
Summary
In this tutorial we learn how to fix xml-rpc-api2cpp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.