Hello, your python script in Linux Universal package use hostname command. But, for example, in arch linux hostname is contained in the inetutils package and does not contain the --all-ip-addresses argument. For work, I commented out a section of the script with “hostname --all-ip-addresses”. Can we use ip command or another in script for more versatility and fewer dependencies?
from subprocess import check_output
ips = check_output(['hostname', '--all-ip-addresses'])
if ips.strip():
ipDefault = ips.split()[0].decode()
else:
ip = check_output(['hostname', '--ip-address'])
ipDefault = ip.split()[-1].decode()
I cannot get SALOME to work on Arch either, but I can’t find this code in the python script to fix this. There are no useful errors produced by running the script, but I do get the splash screen before failure.
You can install and run Salome 9.9.0 (the latest currently) running on Arch Linux. However, you will be missing at least all the Entity features, like Explode. If you still want to try it out, follow these steps:
Download and extract the Salome 9.9.0 universal binaries:
Note: If you see any errors indicating that a particular <library_name>.so is missing, search for it using
sudo pacman -Fy <library_name>.so
and install the package name that comes up (replace <library_name> with the library name from the error).
B) As a Docker Container
If you still have issues or missing features, I have created a docker image from Ubuntu 20:
Install docker and start its service according to the Arch Wiki: Docker - ArchWiki
Run
docker pull shivanandvp/salome
Follow the instructions in the Readme to create an executable for launching the application. Anything that you save here will be erased unless you create and use a volume for storing files as below.
Modify the run command in the executable to mount a volume so that you can save your data persistently. Save all your files under the volume’s mount point if you don’t want them to disappear.