DRAWEXE command not found

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

Introduction

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

DRAWEXE: command not found

or when using sudo you get the following error message

sudo: DRAWEXE: command not found

Solutions to DRAWEXE: command not found

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

In Ubuntu DRAWEXE is provided by oce-draw package.

oce-draw is:

OpenCASCADE is a suite for 3D surface and solid modeling, visualization, data exchange and rapid application development. It is an excellent platform for development of numerical simulation software including CAD/CAM/CAE, AEC and GIS, as well as PDM applications.

This package is based on OCE, OpenCASCADE Community Edition, which is maintained by a community of developers, and not by OpenCASCADE SAS.

This package contains the DRAW test harness.

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

sudo apt-get -y install oce-draw

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

You can also use apt command to install oce-draw.

sudo apt -y install oce-draw

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

sudo aptitude install oce-draw

Summary

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