Personal tools
You are here: Home Forum Install & build Salome 8.4 and ArchLinux. How?

Salome 8.4 and ArchLinux. How?

Up to Install & build

Salome 8.4 and ArchLinux. How?

Posted by Stan Smith at July 17. 2018

There are difficulties with the installation of "Salome" on the operating system ArchLinux (problems with versions of "python").

Could someone write a step by step installation method?

Re: Salome 8.4 and ArchLinux. How?

Posted by yann maisonneuve at August 19. 2018

Re: Salome 8.4 and ArchLinux. How?

Posted by Stan Smith at December 30. 2018
I decided to go the other way to install "Salome 9.2.0".
Archlinux uses by default version 3 of python, and "Salome" version 2 of python.
Archlinux needs to be temporarily switched to python2. To do this, we enter the following commands:
> cd /usr/bin
> ls -l python
        lrwxrwxrwx 1 root root 7 Dec 30 17:57 python -> python3*
> sudo ln -sf python2 python
> ls -l python
        lrwxrwxrwx 1 root root 7 Dec 30 17:58 python -> python2*

Here is the installation pack of the "Salome":
> chmod +x Salome-V9_2_0-univ_public.run
> Salome-V9_2_0-univ_public.run

Next, install the "net-tools" necessary for "Salome":
> sudo pacman -S net-tools

"Salome" installation is complete now.
Run "Salome" with the following command:
> ./salome/appli_V9_2_0/salome

Here I had the problems like this:
.... +SALOME_Session_Server: /home/$$$$$/salome/Salome-V9_2_0-univ_public/prerequisites/Gcc-492/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib64/libGLU.so.1) ....

I deleted the following files:
/home/$$$$$/salome/Salome-V9_2_0-univ_public/prerequisites/Gcc-492/lib64/libstdc++.so.6
/home/$$$$$/salome/Salome-V9_2_0-univ_public/prerequisites/debianForSalome/lib/libstdc++.so.6

and "Salome" gets on.
 
P.S.
Now you can switch back uses by default version of python

Re: Salome 8.4 and ArchLinux. How?

Posted by Ed Barry at February 14. 2019

Thanks for the tip. My intuition was to change all #!/usr/bin/env python to python3 with sed but this is much easier and way more effective.

Previously Stan Smith wrote:

I decided to go the other way to install "Salome 9.2.0".
Archlinux uses by default version 3 of python, and "Salome" version 2 of python.
Archlinux needs to be temporarily switched to python2. To do this, we enter the following commands:
> cd /usr/bin
> ls -l python
        lrwxrwxrwx 1 root root 7 Dec 30 17:57 python -> python3*
> sudo ln -sf python2 python
> ls -l python
        lrwxrwxrwx 1 root root 7 Dec 30 17:58 python -> python2*

Here is the installation pack of the "Salome":
> chmod +x Salome-V9_2_0-univ_public.run
> Salome-V9_2_0-univ_public.run

Next, install the "net-tools" necessary for "Salome":
> sudo pacman -S net-tools

"Salome" installation is complete now.
Run "Salome" with the following command:
> ./salome/appli_V9_2_0/salome

Here I had the problems like this:
.... +SALOME_Session_Server: /home/$$$$$/salome/Salome-V9_2_0-univ_public/prerequisites/Gcc-492/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib64/libGLU.so.1) ....

I deleted the following files:
/home/$$$$$/salome/Salome-V9_2_0-univ_public/prerequisites/Gcc-492/lib64/libstdc++.so.6
/home/$$$$$/salome/Salome-V9_2_0-univ_public/prerequisites/debianForSalome/lib/libstdc++.so.6

and "Salome" gets on.
 
P.S.
Now you can switch back uses by default version of python

 

Re: Salome 8.4 and ArchLinux. How?

Posted by Stan Smith at Thursday 14:55
Forgot to remind!
Before performing the above actions, you should check the presence of the following installed on your system:
"python3" and "python2"
 
> sudo pacman -S python2 python3
 
Good luck!
Powered by Ploneboard
Document Actions