Problems installing on linux


I am running Pop OS on Linux 22.04 and I installed FreeFem++ with

sudo apt-get install freefem++

and then tried to run the official cantilever beam example from here. However, some dependencies are not found because I get an error

 Load: lg_fem lg_mesh lg_mesh3 eigenvalue 
    1 : include "cube.idp" Error opening file cube.idp in: 
  -- try  :"cube.idp"

Is there anything else I should do?

I think this related to setting the freefrem++.pref file - check the documentation for more info.

The file cube.idp is in directory