# Error on Ubuntu 20.04

**URL:** <https://community.freefem.org/t/error-on-ubuntu-20-04/581>\
**Category:** FreeFEM installation\
**Created:** [September 15, 2020, 5:52pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581 "2020-09-15T17:52:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://community.freefem.org/u/Aicha)\
**Post date:** [September 15, 2020, 5:52pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/1 "2020-09-15T17:52:05Z")

</div>

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

So what i can do to resolve the problem? Please.

Regards

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 15, 2020, 5:55pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/2 "2020-09-15T17:55:40Z")

</div>

Latest version is 4.7. You are using 3.61.1, which is probably 5 year old. Remove this installation and use the `.deb` from GitHub.

---

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://community.freefem.org/u/Aicha)\
**Post date:** [September 15, 2020, 5:59pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/3 "2020-09-15T17:59:15Z")

</div>

Hi,  
please can you give me the method to instal it step by step? Beacause in synaptic, there are only 3.61.1 version.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [September 15, 2020, 10:14pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/4 "2020-09-15T22:14:03Z")

</div>

I guess this [documentation](https://doc.freefem.org/introduction/installation.html#ubuntu-installation) to install the deb file or [that](https://doc.freefem.org/introduction/installation.html#compilation-on-ubuntu) if you want to compile it from source…

---

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://community.freefem.org/u/Aicha)\
**Post date:** [September 15, 2020, 10:15pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/5 "2020-09-15T22:15:38Z")

</div>

ok, so the solution is install the deb package!

---

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://community.freefem.org/u/Aicha)\
**Post date:** [September 22, 2020, 9:19pm UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/6 "2020-09-22T21:19:44Z")

</div>

Hi, i tried to apply the steps described on [https://doc.freefem.org/introduction/installation.html#compilation-on-ubuntu](https://doc.freefem.org/introduction/installation.html#compilation-on-ubuntu)  
but when i want to execute a FreeFem++ code, i receive a message asking me to install FreeFem++ and the only version available is 3.61.  
There is a solution? Please.

---

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [September 23, 2020, 12:03am UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/7 "2020-09-23T00:03:41Z")

</div>

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

> export PATH=$PATH:/where/you/want/to/have/files/installed/bin

alternatively you should find FreeFem by calling the absolute path to the executable

> /where/you/want/to/have/files/installed/bin/FreeFem++

`hope this helps

---

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://community.freefem.org/u/Aicha)\
**Post date:** [September 23, 2020, 7:22am UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/8 "2020-09-23T07:22:36Z")

</div>

Hi,  
we replace where/you/want/to/have/files/installed by home for example? Then the command is:  
export PATH=$PATH:/home/bin  
?

---

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [September 23, 2020, 9:55am UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581/9 "2020-09-23T09:55:21Z")

</div>

depends where you choose to install…
