Hi
i install on Ubuntu 20.04 FreeFem++ 3.61.1+dfsg1-5build using the command sudo apt-get install freefem++, but when i execute a code of FreeFem++, i have the error message: Instruction non permise (core dumped)
The CPU of my machine is: uname -a
Linux utilisateur-HP-Compaq-dx2400-Microtower-PC 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
hi. I guess you used the prefix install --prefix=/where/you/want/to/have/files/installed, right? most likely the executable are not in the search path… try something like
which FreeFem++
if you get nothing then you need to add the location where the binary files where installed to the search path. Hence you have to append the path where you installed freefem to the global variable $PATH. To do that
edit your profile files (the files .bashrc or .bash_profile in the home directory) then add a line