getfem-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
getfem-config: command not found
or when using sudo you get the following error message
sudo: getfem-config: command not found
Solutions to getfem-config: command not found
How To Fix getfem-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu getfem-config is provided by libgetfem++-dev package.
libgetfem++-dev is:
GETFEM++ is a library allowing the computation of any elementary matrix (even for mixed finite element methods) on the largest class of methods and elements, and for arbitrary dimension.
This package contains development files for building software that uses the GETFEM++ library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libgetfem++-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libgetfem++-dev.
sudo apt -y install libgetfem++-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libgetfem++-dev
Summary
In this tutorial we learn how to fix getfem-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.