Uable to run salome on ubuntu 25.04

I downloaded Salome platform and extracted the files. But I was not able to run the program. After I ran ./salome in a terminal, I got:

ImportError: libpython3.12.so.1.0: cannot open shared object file: No such file or directory

I tried to use these commands to fix the issue but none of them worked:

sudo add-apt-repository ppa:deadsnakes/ppa

sudo apt update

sudo apt install python3.12-dev

It seemd that apt could not find python 3.12. Does any one know how to fix this issue? If not, what is the recommended ubuntu version for the newest Salome platform?

have you used the tool included in the instalation folder to check if all dependencies are installed correctly?

i have seen some issues between the different pythons (the one of the system and the one from salome) i would recommend to use the universal linux distribution. this will probably solve the issue as it is packed with everything, and furthemore will work in wayland (the ubuntu version will not)

Thank you so much. This worked!

Could you provide some links to how to check dependencies? I am a new user of both linux and salome. thank you so much.

When you unzip the downloaded installation file there should be a readme file inside. Please read that, there’s everything you need.