xmlwf command not found

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

Introduction

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

xmlwf: command not found

or when using sudo you get the following error message

sudo: xmlwf: command not found

Solutions to xmlwf: command not found

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

In Ubuntu xmlwf is provided by expat package.

expat is:

This package contains xmlwf, an example application of expat, the C library for parsing XML. The arguments to xmlwf are one or more files which are each to be checked for XML well-formedness.

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

sudo apt-get -y install expat

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

You can also use apt command to install expat.

sudo apt -y install expat

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

sudo aptitude install expat

Summary

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