ffbamg command not found

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

Introduction

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

ffbamg: command not found

or when using sudo you get the following error message

sudo: ffbamg: command not found

Solutions to ffbamg: command not found

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

In Ubuntu ffbamg is provided by freefem++ package.

freefem++ is:

FreeFem++ is an implementation of a language dedicated to the finite element method. It enables you to solve Partial Differential Equations (PDE) easily.

Problems involving PDE from several branches of physics such as fluid-structure interactions require interpolations of data on several meshes and their manipulation within one program. FreeFem++ includes a fast quadtree-based interpolation algorithm and a language for the manipulation of these data on multiple meshes. It contains also a powerful mesh generation and adaption tool integrated seamlessly in FreeFem++ called bamg.

FreeFem++ is written in C++ and the FreeFem++ language is a C++ idiom allowing for a smooth learning curve.

This package contains the executables of FreeFem++.

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

sudo apt-get -y install freefem++

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

You can also use apt command to install freefem++.

sudo apt -y install freefem++

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

sudo aptitude install freefem++

Summary

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