xml2brl command not found

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

Introduction

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

xml2brl: command not found

or when using sudo you get the following error message

sudo: xml2brl: command not found

Solutions to xml2brl: command not found

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

In Ubuntu xml2brl is provided by liblouisxml-bin package.

liblouisxml-bin is:

Liblouisxml translates files in the computer lingua franca xml format into properly transcribed braille. This includes translation into grade two, if desired, mathematical codes, etc. It also includes formatting according to a built-in style sheet which can be modified by the user.

This package contains xml2brl which translates an xml or text file into an embosser-ready braille file, and msword2brl which translates an ms-word file into an embosser-ready braille file.

In combination with ooo2dbk, it can also translate OpenOffice.org 1 documents.

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

sudo apt-get -y install liblouisxml-bin

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

You can also use apt command to install liblouisxml-bin.

sudo apt -y install liblouisxml-bin

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

sudo aptitude install liblouisxml-bin

Summary

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