db5-valid command not found

In this troubleshooting guide we learn how to fix db5-valid command not found error message

Introduction

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

db5-valid: command not found

or when using sudo you get the following error message

sudo: db5-valid: command not found

Solutions to db5-valid: command not found

How To Fix db5-valid: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu db5-valid is provided by publican package.

publican is:

Publican is a DocBook XML publication system:

  • Publican ensures your document is valid,
  • Publican works to ensure your document is up to publishable standard,
  • Publican supports skinning to allow you to create your own presentation rules and look, overriding many parts of the default style to meet your publishing needs,
  • Publican automates producing documentation in several formats: plain text, several variations of HTML output and PDF, hiding boring details.

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

sudo apt-get -y install publican

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

You can also use apt command to install publican.

sudo apt -y install publican

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

sudo aptitude install publican

Summary

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