# Ubuntu 22.04.2 LTS installation issue

**URL:** <https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505>\
**Category:** FreeFEM installation\
**Created:** [May 29, 2023, 1:43pm UTC](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505 "2023-05-29T13:43:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manu](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manu](https://community.freefem.org/u/Manu)\
**Post date:** [May 29, 2023, 1:43pm UTC](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505/1 "2023-05-29T13:43:59Z")

</div>

I am getting the following comments:

FreeFem++: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

Thank you in advance for any assistance you may be able to provide

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [May 29, 2023, 3:21pm UTC](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505/2 "2023-05-29T15:21:14Z")

</div>

in last version of fortran le libgfortran is version 5 not 4 this issue the raison,

But which freefem++ version did you use,

To solve this issue compile freefem++

---

<div class="post-metadata">

**Author:** ![Manu](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manu](https://community.freefem.org/u/Manu)\
**Post date:** [May 29, 2023, 3:52pm UTC](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505/3 "2023-05-29T15:52:32Z")

</div>

Thanks for the reply. I have installed the recent version of FreeFEM (V 4.12. )

---

<div class="post-metadata">

**Author:** ![AdityasOcean](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/adityasocean/32/1938_2.png) [@AdityasOcean](https://community.freefem.org/u/AdityasOcean)\
**Post date:** [August 23, 2025, 2:07pm UTC](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505/4 "2025-08-23T14:07:25Z")

</div>

Please use this parser - [GitHub - AdityasOcean/FreeFEM-Emacs-Parser](https://github.com/AdityasOcean/FreeFEM-Emacs-Parser)

I faced issues with newer Emacs releases on Ubuntu 22 and 24 LTS. Therefore this new parser is generated.

@frederichecht Please check suitability and if you want to archive this on freefem Github repo, please feel free to host.

Thank you very much.
