Personal tools
You are here: Home Forum Install & build Salome installation on ArchLinux.

Salome installation on ArchLinux.

Up to Install & build

Salome installation on ArchLinux.

Posted by Pablo COVES at April 19. 2015

Hi there.

I went through the Salome installation process from the universal binaries on a fresh ArchLinux distro and had few things to do before it to work flawlessly.
Here are the steps I followed, hopping it could help some newcomers:

  1. Download the universal binaries archive on the current version page: http://www.salome-platform.org/downloads/current-version
  2. Grant it the executable flag with "chmod +x Salome-XXX.run"
  3. Run the falsely successful installer.
  4. Go to the installation folder created during the previous step, by default it's "~/salome/Salome-XXX"
  5. Edit the "create_appli_XXX.sh" file and replace all the "python" calls by "python2".
    Since Arch uses python3 by default we have to manually set the calls to python2.
    Using Vim: ":%s/python /python2 /g"
  6. Run this "create_appli_XXX.sh" script.
    You maybe will have to give the executable rights to "salome_prerequisites.sh" and "salome_modules.sh".
    If there is a message about "gconftool-2", just install the "gconf" package using your favorite package manager and rerun the script.
    Now Salome should be installed.
  7. Go to the application folder, by default it's "~/salome/appli_XXX"
  8. Edit the salome file and change the first line from:
    #! /usr/bin/env python
    to
    #! /usr/bin/env python2
    For the exact same reason as in step 5.
  9. You can now launch Salome. "./salome"
    If it outputs a bunch of error message it's probably because of the missing "netstat" command.
    You can get it by installing the "net-tools" package just like in step 6 and run salome like a charm.

Hope it will be helpful for someone.

Pablo C.

 

NB: it could be useful to add the application folder the the path (by default): "PATH = $PATH:~/salome/appli_XXX".

 

Re: Salome installation on ArchLinux.

Posted by Anton Kizilov at February 02. 2016

Well, it was helpful for me. So big thanks to you Pablo.

Re: Salome installation on ArchLinux.

Posted by pesavento samuele basilio at March 07. 2016

Your trick let me install the program, but I get this error message as I try to run the GEOMETRY module:

 

runSalome running on samuele-pc
Searching for a free port for naming service: 2810 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service +Warning, no type found for resource "localhost", using default value "single_machine"
+ found in 1.0 seconds
Start SALOME, elapsed time :   1.2 seconds
Component GEOM: C++ implementation found /opt/salome/geom/lib/salome/libGEOMEngine.so but it is not loadable. Error:
/opt/salome/geom/lib/salome/libShHealOper.so: undefined symbol: _ZN19BRepBuilderAPI_CopyC1ERK12TopoDS_Shapej

On the gui, it just shows up a dialog window saying: ERROR: Failed to activate module geometry

How can I solve this?

Thank you very much for your help and time

Re: Salome installation on ArchLinux.

Posted by pesavento samuele basilio at March 08. 2016

Your trick let me install the program, but I get this error message as I try to run the GEOMETRY module:

 

runSalome running on samuele-pc
Searching for a free port for naming service: 2810 - OK
Searching Naming Service + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service +Warning, no type found for resource "localhost", using default value "single_machine"
+ found in 1.0 seconds 
Start SALOME, elapsed time :   1.2 seconds
Component GEOM: C++ implementation found /opt/salome/geom/lib/salome/libGEOMEngine.so but it is not loadable. Error:
/opt/salome/geom/lib/salome/libShHealOper.so: undefined symbol: _ZN19BRepBuilderAPI_CopyC1ERK12TopoDS_Shapej

On the gui, it just shows up a dialog window saying: ERROR: Failed to activate module geometry

How can I solve this?

Thank you very much for your help and time

 

Re: Salome installation on ArchLinux.

Posted by Ketan Nalawade at March 21. 2016
Hi I am having Salome 7.7.1 , Right now I am facing problem related intallation can any body tel me how to install it ? i have gone through the link give below 
but it doesnt work 
 
thank you 
 
Regads 
 
Ketan

 

Re: Salome installation on ArchLinux.

Posted by Walter Dal'Maz Silva at January 29. 2018

In this link I explain my approach to get the Debian version running on Archlinux.

https://bbs.archlinux.org/viewtopic.php?pid=1764291#p1764291

Re: Salome installation on ArchLinux.

Posted by Botoni at February 19. 2018

I managed to install Salome with the instructions of the first post, but there's something wrong with the GUI as my menus appear blank.

Any idea what's happening?

Re: Salome installation on ArchLinux.

Posted by Botoni at February 21. 2018

Problem with blank menus is solved in the 8.40 (univelsal binaries) version, but an additional final step is necesary:

There's a hidden file in the "appli_V8_4_0" folder called ".salome_run" where it's also necesary to change "#! /usr/bin/env python" to "#! /usr/bin/env python2"

To newcomers to linux: to see hiden files in a folder press ctrl+h and ctrl+h to hide them again (i don't know if the shortcut works in every file manager though).

Re: Salome installation on ArchLinux.

Posted by CaptainBonjour at February 22. 2018

Hey folks,

today, I struggled to install the current version 8.4.0 of the Salome Binaries under Manjaro (Arch-based distro). I followed all the helpful steps mentioned in this thread. I got the GUI running and loaded a CAD geometry by means of the GEOM module. Everything worked as expected until I wanted to use the Explode function. I got the following error within the GUI:

"GUI library corresponding to the user action can not be found or loaded" (see Image attached)

 

Moreover I got several warnings once the GUI starts:

 

INFO:MainThread:Problem loading PortManager file: /tmp/.salome_PortManager.cfg

INFO:PortManager:Problem loading PortManager file: /tmp/.salome_PortManager.cfg

Searching for a free port for naming service: 2815 - OK

Searching Naming Service   found in 0.0 seconds

Searching /Kernel/Session in Naming Service +Warning: this type (Study,objref) already exists, it will be ignored.

Warning: this type (pyobj,objref

) already exists, it will be ignored.

Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.

+****************************************************************

     Warning: module HEXABLOCKPLUGIN is improperly configured!

     Module HEXABLOCKPLUGIN will not be available in GUI mode!

****************************************************************

****************************************************************

     Warning: module HYBRIDPLUGIN is improperly configured!

     Module HYBRIDPLUGIN will not be available in GUI mode!

****************************************************************

****************************************************************

     Warning: module BLSURFPLUGIN is improperly configured!

     Module BLSURFPLUGIN will not be available in GUI mode!

****************************************************************

****************************************************************

     Warning: module HexoticPLUGIN is improperly configured!

     Module HexoticPLUGIN will not be available in GUI mode!

****************************************************************

****************************************************************

     Warning: module GMSHPLUGIN is improperly configured!

     Module GMSHPLUGIN will not be available in GUI mode!

****************************************************************

****************************************************************

     Warning: module NETGENPLUGIN is improperly configured!

     Module NETGENPLUGIN will not be available in GUI mode!

****************************************************************

****************************************************************

     Warning: module GHS3DPLUGIN is improperly configured!

     Module GHS3DPLUGIN will not be available in GUI mode!

****************************************************************

 found in 1.0 seconds

Start SALOME, elapsed time :   1.1 seconds

 

Does the latter have any connection to my problem? Can someone give me an advice how to overcome this problem?

 

My system:

 

OS: Arch Linux x86_64
Kernel Release: 4.14.20-2-MANJARO
WM: Xfwm
DE: Xfce
Processor Type: Intel(R) Xeon(R) CPU E3-1231 v3

GPU type: NVIDIA GeForce GTX770 (extra/linux414-nvidia 1:390.25-4)

Attachments

Re: Salome installation on ArchLinux.

Posted by Marco Scopesi at March 21. 2018

I have the same issue with version 8.4.0.

Does someone managed to solve it?

Thanks

Re: Salome installation on ArchLinux.

Posted by Jonas Aparicio at March 21. 2018

Actually someone in this Forum does http://salome-platform.org/forum/forum_9/771296613#195320939 ,  I have done this for Salome 8.4 on Debian 9 and it worked. The warning in the log have not disappeared but the function explode is now functional.

So you can try replacing Salome-V8_4_0-univ-public/prerequisites/debianForSalome/ by the same folder in Salome Meca 2017.

The bug seems to affect multiple users.

Re: Salome installation on ArchLinux.

Posted by Stan Smith at April 05. 2018
Hi there.
My operating system is Linux Arch. At the installation stage of Salome from from the universal binaries the following errors occur:
=======================================
Self Extracting Salome V8_4_0 Installer
=======================================
 
Enter the Salome install directory [default=/home/overlord/salome] : 
Salome is in English, do you want to be in French ? [y/N] : 
Installation of Salome V8_4_0 in /home/overlord/salome/Salome-V8_4_0-univ ...
Verifying archive integrity...
All good.
Done                                                                                                                   
./create_appli.sh: line 108: /salome_prerequisites.sh: No such file or directory
./create_appli.sh: line 109: /salome_modules.sh: No such file or directory
Creating Salome application in /home/overlord/salome/appli_V8_4_0 ...
sed: can't read /.config_appli_template.xml: No such file or directory
sed: -e expression #1, char 109: unterminated `s' command
grep: salome_context.cfg: No such file or directory
Salome post-installation ...
./create_appli.sh: line 295: ./salome_post_install.py: No such file or directory
The Salome application was successfully created.
To run the application:
$ /home/overlord/salome/appli_V8_4_0/salome     
 
 
Errors occur during the installation phase. What could be the reason?
Powered by Ploneboard
Document Actions