XML2Modelica command not found

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

Introduction

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

XML2Modelica: command not found

or when using sudo you get the following error message

sudo: XML2Modelica: command not found

Solutions to XML2Modelica: command not found

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

In Ubuntu XML2Modelica is provided by scilab-full-bin package.

scilab-full-bin is:

Scilab is a matrix-based scientific software package. Scilab contains hundreds of built-in mathematical functions, rich data structures (including polynomials, rationals, linear systems, lists, etc…) and comes with a number of specific toolboxes for control, signal processing …

This package also provides Xcos, a graphical editor to design hybrid dynamical systems models. Models can be designed, loaded, saved, compiled and simulated.

Stable and efficient solution for industrial and academics needs, Xcos provides functionalities for modeling of mechanical systems (automotive, aeronautics…), hydraulic circuits (dam, pipe modeling…), control systems, etc. Modelica capabilities are also provided.

This package contains the architecture specific binary files.

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

sudo apt-get -y install scilab-full-bin

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

You can also use apt command to install scilab-full-bin.

sudo apt -y install scilab-full-bin

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

sudo aptitude install scilab-full-bin

Summary

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