xsddiagram command not found

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

Introduction

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

xsddiagram: command not found

or when using sudo you get the following error message

sudo: xsddiagram: command not found

Solutions to xsddiagram: command not found

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

In Ubuntu xsddiagram is provided by xsddiagram package.

xsddiagram is:

XSD Diagram is a XML Schema Definition (XSD) diagram viewer

Features:

  • Display the elements, the groups and the attributes
  • Show the text/HTML documentation of element and attribute when available
  • Print the diagram
  • Export the diagram to SVG, PNG, JPG and EMF (EMF only with Windows)
  • Zoom the diagram with the mouse wheel while holding the control key
  • XML validation based on the loaded XSD file
  • Registration in the Windows Explorer contextual menu (for Windows only)
  • Drag’n drop a xsd file or url on the main window header
  • Command line image generation

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

sudo apt-get -y install xsddiagram

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

You can also use apt command to install xsddiagram.

sudo apt -y install xsddiagram

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

sudo aptitude install xsddiagram

Summary

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