plantuml command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
plantuml: command not found
or when using sudo you get the following error message
sudo: plantuml: command not found
Solutions to plantuml: command not found
How To Fix plantuml: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu plantuml is provided by plantuml package.
plantuml is:
PlantUML is a program allowing to draw UML diagrams, using a simple human readable text description.
PlantUML supports the following UML diagrams:
- sequence diagram
- use case diagram
- class diagram
- activity diagram
- component diagram
- state diagram
- object diagram
- deployment diagram
- timing diagram
The following non-UML diagrams are also supported:
- wireframe graphical interface (Salt)
- Archimate diagram
- Specification and Description Language (SDL)
- Ditaa diagram
- Gantt diagram
- mathematics with AsciiMath or JLaTeXMath notation
Output images can be generated in PNG, in SVG or LaTeX format. PlantUML also supports generation of ASCII art diagrams (only for sequence diagrams).
To fix this problem, we can install more using the command below.
sudo apt-get -y install plantuml
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install plantuml.
sudo apt -y install plantuml
Or if you have aptitude installed you can use the following command.
sudo aptitude install plantuml
Summary
In this tutorial we learn how to fix plantuml command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.