# Help Installing FreeFem++ in Ubuntu 19.10

**URL:** <https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269>\
**Category:** FreeFEM installation\
**Created:** [February 26, 2020, 1:31am UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269 "2020-02-26T01:31:04Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanmevi](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nanmevi](https://community.freefem.org/u/nanmevi)\
**Post date:** [February 26, 2020, 1:31am UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/1 "2020-02-26T01:31:04Z")

</div>

Hi!  
I tried installing FreeFem++ using both the binary installation and the compilation for Ubuntu but I was unsuccessful with both methods. I’m still an Ubuntu noob and even though there seem to already exist solutions to my problem (FreeFem++: error while loading shared libraries: libhdf5\_serial.so.100: cannot open shared object file: No such file or directory  
) i can’t seem to get it working.

Any help would be appreciated.

---

<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:** [February 26, 2020, 10:37am UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/2 "2020-02-26T10:37:28Z")

</div>

You could recompile without HDF5, by adding `--without-hdf5` to your `./configure` line.

---

<div class="post-metadata">

**Author:** ![nanmevi](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nanmevi](https://community.freefem.org/u/nanmevi)\
**Post date:** [February 26, 2020, 3:51pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/3 "2020-02-26T15:51:05Z")

</div>

Thank you very much! that solved it 🙂

---

<div class="post-metadata">

**Author:** ![frajaroco](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@frajaroco](https://community.freefem.org/u/frajaroco)\
**Post date:** [April 15, 2020, 6:48am UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/4 "2020-04-15T06:48:08Z")

</div>

Hi prj,

I am a very beginner user of Ubuntu 19.10 and FreeFrem++ too and I have the same problem. You can share with me more detailed instructions in order to solve the this problem. Many thanks in advances!

---

<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:** [April 15, 2020, 9:32am UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/5 "2020-04-15T09:32:06Z")

</div>

What is your problem?

---

<div class="post-metadata">

**Author:** ![frajaroco](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@frajaroco](https://community.freefem.org/u/frajaroco)\
**Post date:** [April 15, 2020, 7:53pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/6 "2020-04-15T19:53:09Z")

</div>

> [@nanmevi](#):
>
> I tried installing FreeFem++ using both the binary installation and the compilation for Ubuntu but I was unsuccessful with both methods. I’m still an Ubuntu noob and even though there seem to already exist solutions to my problem

Dear prj,

I have install in my laptop Ubuntu release 19.10 and I try to use FreeFrem++ in order to solve a integral equation through the finite element method. I followed all the step in the installation guide but when I execute the command “francisco@frajaroco:~$ FreeFem++ MC-pred-in.edp” from my terminal to run the code and get the result, the next message appears “FreeFem++: error while loading shared libraries: libhdf5\_serial.so.100: cannot open shared object file: No such file or directory”

Yesterday I found your suggestion to solve the problem but given my minimums knowlemen about Ubuntu, I would very much like more detailed instructions on how to solve the problem.

Thank you very much in advance!

---

<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:** [April 15, 2020, 8:06pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/7 "2020-04-15T20:06:07Z")

</div>

Did you install the .deb or compile FreeFEM yourself?

---

<div class="post-metadata">

**Author:** ![frajaroco](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@frajaroco](https://community.freefem.org/u/frajaroco)\
**Post date:** [April 15, 2020, 8:21pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/8 "2020-04-15T20:21:20Z")

</div>

I install “FreeFEM\_4.6\_Ubuntu\_withPETSc\_amd64.deb” from your website.

---

<div class="post-metadata">

**Author:** ![frajaroco](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@frajaroco](https://community.freefem.org/u/frajaroco)\
**Post date:** [April 15, 2020, 8:22pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/9 "2020-04-15T20:22:00Z")

</div>

francisco@frajaroco:~/Escritorio$ sudo dpkg -i FreeFEM\_4.6\_Ubuntu\_withPETSc\_amd64.deb  
[sudo] contraseña para francisco:  
(Leyendo la base de datos … 492965 ficheros o directorios instalados actualmente.)  
Preparando para desempaquetar FreeFEM\_4.6\_Ubuntu\_withPETSc\_amd64.deb …  
Desempaquetando freefem (4.6) sobre (4.6) …  
Configurando freefem (4.6) …

---

<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:** [April 15, 2020, 8:35pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/10 "2020-04-15T20:35:37Z")

</div>

I think your HDF5 library is too recent, we build the .deb on Ubuntu 18, so it would be best to remove the package and compile FreeFEM yourself using [this](https://github.com/FreeFem/FreeFem-sources#freefem) procedure.

---

<div class="post-metadata">

**Author:** ![sevinurafni](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/sevinurafni/32/508_2.png) [@sevinurafni](https://community.freefem.org/u/sevinurafni)\
**Post date:** [April 15, 2021, 11:02pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/11 "2021-04-15T23:02:10Z")

</div>

Dear prj,

I’m having problems when running “make check”. The test file shows the FAIL and XFAIL. I install it in ubuntu 18.04 and follow the instructions on this website ([http://www3.freefem.org/ff++/linux.php](http://www3.freefem.org/ff++/linux.php)).

---

<div class="post-metadata">

**Author:** ![aszaboa](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/aszaboa/32/2918_2.png) [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Post date:** [December 13, 2021, 9:11pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269/12 "2021-12-13T21:11:39Z")

</div>

I am a dummy, but [this](http://jolivet.perso.enseeiht.fr/FreeFem-tutorial/main.html#%5B197,%22XYZ%22,28.35,272.13,null%5D) tutorial worked for me:
