xml2rfc command not found

In this troubleshooting guide we learn how to fix xml2rfc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xml2rfc: command not found

or when using sudo you get the following error message

sudo: xml2rfc: command not found

Solutions to xml2rfc: command not found

How To Fix xml2rfc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xml2rfc is provided by xml2rfc package.

xml2rfc is:

This package provides xml2rfc, a tool which creates text, HTML, PDF, and nroff output in the format required for Internet-Drafts and RFCs. The text and nroff output is suitable for input to the RFC editor.

The DTD used by the XML documents is described in RFC 2629.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xml2rfc

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xml2rfc.

sudo apt -y install xml2rfc

Or if you have aptitude installed you can use the following command.

sudo aptitude install xml2rfc

Summary

In this tutorial we learn how to fix xml2rfc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.