How to install salome 9.11.0 in ubunu 22.04?

I have a problem with installing Salome 9.11.0 in Ubuntu 22.04 , after unzip in wsl I can’t enter the directory. I’m getting an error…
cd SALOME-9.11.0-native-UB22.04-SRC
-bash: cd: SALOME-9.11.0-native-UB22.04-SRC: Permission deniedy
In home Directory message is You might not have permission to use this network resource Contact the administrator of this server to find out if you have access permissions
Any help would be appreciated

1 Like

not familiar with wsl - but seems like a configuration issue not related to SALOME. Maybe someone who encountered a similar issue could help - maybe a simple:

sudo chmod 755 -R SALOME-9.11.0-native-UB22.04-SRC

could do the job.

1 Like

Thank you very mach , i am new in this field , i will try

your advice helped thak you very much

1 Like

I need more help after comant to start salome i becomme mesage ./salome
No module named ‘salomeContextUtils’
How to install this modul?

try to do the following:

First ensure that python is python3 - to do this, install:

sudo apt install python-is-python3

Then check whether some system packages are reported as missing

cd SALOME-9.11.0-native-UB22.04-SRC
sat/sat config SALOME-9.11.0-native --check_system

Then,Install then all reported missing packages with apt

sudo apt install <list of packages>

Finally launch SALOME

launch mesa_salome
./mesa_salome

Note that you can also:

  • run universal binary which in principle embeds all prerequisites.
  • use SALOME windows distribution

HTH.

Thank You Nabil for your help I will try according to your advice

Hallo Nabil, It syms to me that I do not have Phyton file how do I find it and move to /env subdirectory …your advices are very helpful to me because I am first time on Salome forum and trying to install Salome software . I have try your advice with following results
~/SALM$ sudo apt install python3-is-python
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package python3-is-python
~/SALM/SALOME-9.11.0-native-UB22.04-SRC$ sat/sat config SALOME-9.11.0-native --check_system
/usr/bin/env: ‘python’: No such file or directory

sorry a typo: should read: python-is-python3

Hallo Nabil, I am sory but I need your help
~$ sudo apt install python=python3
[sudo] password for esem:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
2to3 python2-minimal python2 dh-python python-is-python3
E: Version ‘python3’ for ‘python’ was not found

you need to type:

sudo apt install python-is-python3

then you can check that if you type python --version, it returns version 3.

Hallo Nabil Thanks for your patience i tried next step with check system…$ sat/sat config SALOME-9.11.0-native-UB22.04-SRC
WARNING: The project file /home/ / /SALOME-9.11.0-native-UB22.04-SRC/PROJECT/project.pyconf cannot be found. It will be ignored
CRITICAL :: Exception raised for execute_cli(‘config SALOME-9.11.0-native-UB22.04-SRC’):
| | Traceback (most recent call last):
| File “/home/ /SALOME-9.11.0-native-UB22.04-SRC/sat/sat”, line 60, in
| returnCode = sat.execute_cli(args)
| File “/home/ /SLOME-9.11.0-native-UB22.04-SRC/sat/src/salomeTools.py”, line 286, in execute_cli
| code = fun_command(self.remaindersArgs[1:])
I have check subdirectory in SALOME and found that only sat is accessible and SOURCES, PROJETS,BINARIES-UB 22.04 and ARCHIVES are not. Can I with command sudo chmod 755 …name…make them accessible. And what i can do witl mentionet linies in sat sudirectory

Don’t worry - happy if we can share technical “knowledge”.
Can you check whether you did not mistype ?

sat/sat config SALOME-9.11.0-native --check_system

$ sat/sat config SALOME-9.11.0-native --check_system
WARNING: The project file /home/ /SALOME-9.11.0-native-UB22.04-SRC/PROJECT/project.pyconf cannot be found. It will be ignored
CRITICAL :: Exception raised for execute_cli(‘config SALOME-9.11.0-native --check_system’):
| Traceback (most recent call last):
| File “/home/ /SALOME-9.11.0-native-UB22.04-SRC/sat/sat”, line 60, in
| returnCode = sat.execute_cli(args)
| File “/home/ /SALOME-9.11.0-native-UB22.04-SRC/sat/src/salomeTools.py”, line 286, in execute_cli
| code = fun_command(self.remaindersArgs[1:])
| File “/home/ /SALOME-9.11.0-native-UB22.04-SRC/sat/src/salomeTools.py”, line 415, in run_command
| self.cfg = cfgManager.get_config(datadir=self.datadir,
| File “/home/ /SALOME-9.11.0-native-UB22.04-SRC/sat/commands/config.py”, line 435, in get_config
| raise src.SatException(
| | src.SatException: Configuration file ‘SALOME-9.11.0-native.pyconf’ not found, use ‘config --list’ to get the list of available applications.

this is strange. before investigating further, can you simply try to check whether SALOME universal runs on your wsl ?

If not, then we can check further

Thank you Nabil which command schould I use i wsl to run Salome universal

To run SALOME universal, download the universal binary from the download page and run: ./mesa_salome

In download directory i have 3 files (leters blue, red and white color
esem@eshs:~/SALM$ ls

SALOME-9.11.0-native-UB22.04-SRC my commment …leters blue farbe

SALOME-9.11.0-native-UB22.04-SRC-ec62885173c137ca0fcb09c4597e23a8.tar.gz …leters red colors

SALOME-9.11.0-native-UB22.04-SRC-ec62885173c137ca0fcb09c4597e23a8.tar.gz:Zone.Identifier … leters white colors

esem@eshs:~/SALM$ cd SALOME-9.11.0-native-UB22.04-SRC

esem@eshs:~/SALM/SALOME-9.11.0-native-UB22.04-SRC$ ./mesa_salome

No module named ‘salomeContextUtils’

esem@eshs:~/SALM/SALOME-9.11.0-native-UB22.04-SRC$

Hallo Nabil I have per email your message from yesterday become which i have already antworten

Hello NabilG, Hello All
I have successfully installed version 9.9 of Salome in Windows 11. I would like to install it in Ubuntu 22.04 instead of version 9.11 which as you saw from the previous discussion it reports lot of errors.
How can I uninstall Salome 9.11.
Thank you for your reply