cgx command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cgx: command not found
or when using sudo you get the following error message
sudo: cgx: command not found
Solutions to cgx: command not found
How To Fix cgx: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cgx is provided by calculix-cgx package.
calculix-cgx is:
CalculiX GraphiX (cgx) is a 3-dimensional pre- and post-processor for finite elemnts. CalculiX CrunchiX Finite Element Models can be build, calculated and post-processed. The pre- and post-processor is an interactive 3D-tool using the openGL API.
In addition to the Calculix CrunchiX results files (frd) results from OpenFoam, Duns (2D and 3D), Isaac (2D and 3D) and Nastran (f06) can be read. For preprocessing Netgen nativ format, STEP and STL can be imported.
To fix this problem, we can install more using the command below.
sudo apt-get -y install calculix-cgx
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install calculix-cgx.
sudo apt -y install calculix-cgx
Or if you have aptitude installed you can use the following command.
sudo aptitude install calculix-cgx
Summary
In this tutorial we learn how to fix cgx command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.