gmsh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gmsh: command not found
or when using sudo you get the following error message
sudo: gmsh: command not found
Solutions to gmsh: command not found
How To Fix gmsh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gmsh is provided by gmsh package.
gmsh is:
Gmsh is a 3D finite element grid generator with a build-in CAD engine and post-processor. Its design goal is to provide a fast, light and user-friendly meshing tool with parametric input and advanced visualization capabilities. Gmsh is built around four modules: geometry, mesh, solver and post-processing. The specification of any input to these modules is done either interactively using the graphical user interface or in ASCII text files using Gmsh’s own scripting language.
See Gmsh’s reference manual for a more thorough overview of Gmsh’s capabilities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gmsh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gmsh.
sudo apt -y install gmsh
Or if you have aptitude installed you can use the following command.
sudo aptitude install gmsh
Summary
In this tutorial we learn how to fix gmsh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.