Меню

Как установить salome на ubuntu

Как установить salome на ubuntu

gcc, g++, gfortran (or other compilers),
cmake,
python3,
python3-dev,
python3-numpy,
tk,
bison,
flex,
liblapack-dev, libblas-dev or libopenblas-dev,
libboost-python-dev (+ libboost-numpy-dev on ubuntu, boost-devel on centos) (for MFront),
zlib (named zlib1g-dev on debian/ubuntu).

I’m sorry. I can’t do more.

Last edited by ing.nicola (2020-04-27 20:30:08)

#7 2020-04-27 23:49:56

Re: Installation on Ubuntu 20.04

#8 2020-04-30 22:34:54

Re: Installation on Ubuntu 20.04

1) I have installed all the prerequisites as per

2) I have also installed python2-minimal (named so in 20.04LTS)

3) However, the same problem persists as given below:

./create_appli.sh: ligne 263: python : commande introuvable

4) One forum post said that in Xubuntu 20.04 some one has successfully installed. So I gave it a try, but the same problem arises there too.

5) I thought that it might be due to renaming python to python2 in 20.04. Hence created alias as follows:

6) However, this too did not solve the problem.

7) Tried to install everything as per the install script given for Ubuntu 18.04. at

But installation of libraries failed due to renaming many of them in Ubuntu 20.04/Xubuntu 20.04 repositories

8) Hoping and waiting eagerly to hear from the developers.

#9 2020-05-01 02:01:33

Re: Installation on Ubuntu 20.04

#10 2020-05-01 12:42:47

Re: Installation on Ubuntu 20.04

Good morning I have the same problem, I try to explain the procedure I followed:

1. Check the prerequisites and all are fine;
2. Downloaded the file: salome_meca-2019.0.3-1-universal.tgz
3. run on terminal md5sum salome_meca-2019.0.3-1-universal.tgz, i tried to download more than once and check with md5sum, but I never obtain: 4ea7be35819a53a201d48d189ef1c4d4f6d47e32.
4. I installed salome_meca, but I cannot open Aster Study.

#11 2020-05-02 14:20:24

Re: Installation on Ubuntu 20.04

#12 2020-05-02 22:32:12

Re: Installation on Ubuntu 20.04

I recently had the same problem with OpenSuse Tumbleweed (OpenSuse’s rolling release distro).

Therefore, in order to fix this issue you need to install libffi version 6. I have seen that the version of libffi shipped with 20.04 is version 7. I have searched for the possibility of a pre-packaged libffi6 for 20.04 but it seems no one has done it yet.

I believe you would be better off by building libffi yourself. Make sure you are using the 3.2 version and NOT THE 3.3 one.

Fernando Oleo Blanco

#13 2020-05-04 13:54:06

Re: Installation on Ubuntu 20.04

Thanks for your reply mr. Fernando.

If I compile the libffi version 6 (I downloaded libffi-3.2.1.tar.gz) can any issues with other applications occur?

#14 2020-05-04 14:50:28

Re: Installation on Ubuntu 20.04

There should not be any issues. Programs that are compiled for the new version 3.3, should be linked with libffi.so.7 (or *.so.8, I can’t remember). And there should be no issue with the libffi.so.6 library (both can coexist).

There may be a problem if you move the header files, those may collide between versions. However, unless you are doing any development with ffi, everything should be fine.

Last edited by Irvise (2020-05-04 15:41:05)

#15 2020-05-04 15:41:25

Re: Installation on Ubuntu 20.04

I have tried the following in and it works for me at least in manjaro 20.

Now I can launch asterstudy module.

Last edited by hafid (2020-05-04 15:45:06)

#16 2020-05-07 04:44:33

Re: Installation on Ubuntu 20.04

after downleading and installion of the libffi6_3.2.1-9_amd64.deb manually now the AsterStudy module started normally.

Last edited by zohir (2020-05-07 04:45:39)

#17 2020-05-08 17:46:49

Re: Installation on Ubuntu 20.04

I confirm, I downloaded the «libffi6_3.2.1-9_amd64.deb» file from Download Page of Debian.
Now I can run Aster-Study

#18 2020-05-23 16:17:48

Re: Installation on Ubuntu 20.04

I confirm the suggested solution by hafid, it worked for me on ArchLinux

#19 2020-06-21 16:26:36

Re: Installation on Ubuntu 20.04

Regarding both python2 and libffi6 issues, the link below offers a solution under «Salome Meca 2019 (Success in 20.04)». Notice that one needs pyenv (addressed earlier in that same page).

#20 2020-06-25 23:03:50

Re: Installation on Ubuntu 20.04

Installation of Salome-meca2019.0.3 in Xubuntu 20.04 was successful with these following minimalistic steps,
unlike the detailed python reinstall as described in the previous reply by ckrug. My steps are as follows:

1. Install all the prerequisites listed in forum (c-a.org/V2/spip.php?article 273).

2. Make sure also to install libopenblas-base.

This is essential to avoid «Exit error=127» later while running code-aster (AsterStudy)

3. Install the requisite qt5 pacakges and net-tools etc as described in forum post php?id=24470

4. install python2, named python2-minimal in ubuntu 20.04:

5. Install salome-meca following usual procedure.
5a. This will not create the application, but creates a script create_appl.sh.
6. edit the file to change «python» to «python2» in all its occurences (it occurs three times), as zohir described in one of his posts in this page.
6a. Then run this edited file in terminal:

Читайте также:  Как установить acetoneiso для linux

.
This will install the application along with the desktop icon.

7. Install liffi6.3.2 as described earlier in this page.
viz.:

8. Create symbolic link of libffi.so.6 as follows:

9. remove or rename libstdc++.so* files in

This was essential to avoid opengl error in my case.

EDIT: This issue was also discussed in ___/forum2/viewtopic.php?id=24956

10. Now salome-meca-2019 can be invoked normally.

Hope this helps someone.

Last edited by sb1966 (2020-07-02 07:06:51)

#21 2020-08-05 06:22:32

Re: Installation on Ubuntu 20.04

I can open the Salome application but I am not sure how serious this Warning will influence the program, and how to correct it. Please advise.

If anyone can give me a reply, I will be very grateful.

#22 2020-08-05 16:00:50

Re: Installation on Ubuntu 20.04

Thank you. It is nice to know that the post has become helpful to you. 🙂

I can open the Salome application but I am not sure how serious this Warning will influence the program, and how to correct it. Please advise.

1. I have not used SM 2019 extensively on Ubuntu 20.04. I am yet to upgrade to Ubuntu 20.04 for some other reasons. However, I believe, as long as you are not using Europlexus module, this warning should not matter.
2. Also you can try to launch the Europlexus module and see if you can launch it. I, myself, have never used this module.
3. Let’s hope to get some advice from some expert user of this module.
4. But till then, I think you can use your installation for running your studies that do not depend on europlexus.

#23 2020-08-05 20:24:07

Re: Installation on Ubuntu 20.04

Thanks so much for your reply.
I just started the Salome application, however, there are more Warnings, showing that several modules will not be available; please see listing below:

I am not sure how these will influence the analysis or the GUI, and how to correct them.
Please advise. Any help will be greatly appreciated.

#24 2020-08-05 21:01:30

Re: Installation on Ubuntu 20.04

1) Based on my experience on earlier versions and forum discussions on the topic (possibly related to SM2017, can’t recall now), I can say that you can safely ignore these warnings. You will be able to run your studies without any hindrance and these warnings won’t affect the results of analysis.

2) The best way is to take a simple problem and run the study, then check your results, with analytical results (if available).

#25 2020-08-05 22:59:34

Re: Installation on Ubuntu 20.04

I followed earlier reply on this topics and tried the procedure suggested by Mr.Sukumar. Unfortunately I still get the error.

I could not figure out how to fix it. Please suggest a solution.

Источник

how to install salome in linux ubuntu 18.04, kindlly do the needful

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

For now all that I can think of is, that you require the following package: net-tools. Install it simply by calling

sudo apt-get update

sudo apt-get install net-tools

That is why you get the first error: Error when trying to access active network connections.

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

Previously Gregor Simic wrote:

Thanks for response, but it’s already installed in my PC.

$ sudo apt-get install net-tools
[sudo] password for jua:
Reading package lists. Done
Building dependency tree
Reading state information. Done
net-tools is already the newest version (1.60-26ubuntu1).
The following packages were automatically installed and are no longer required:
libllvm3.8 libmircommon5 linux-headers-4.4.0-31
linux-headers-4.4.0-31-generic linux-headers-4.4.0-87
linux-headers-4.4.0-87-generic linux-image-4.4.0-31-generic
linux-image-4.4.0-87-generic linux-image-extra-4.4.0-31-generic
linux-image-extra-4.4.0-87-generic linux-signed-image-4.4.0-31-generic
linux-signed-image-4.4.0-87-generic ubuntu-core-launcher
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
jua@jua21:

For now all that I can think of is, that you require the following package: net-tools. Install it simply by calling

sudo apt-get update

sudo apt-get install net-tools

That is why you get the first error: Error when trying to access active network connections.

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

So I’ve fixed (I think) the issues I’ve had. tl;dr is that there’s a dependency on using Python 2.X, but all references to that are simply «python» instead of «python2». That basically screwed up everything, nor do I understand why they didn’t just specify «python2».

Читайте также:  Как установить ламинат на линолеум

I’m currently running into an error with the installation. Here’s the message that I get:

So essentially, it can’t find some files. The files that it names do exist though, inside «

/salome/Salome-V8_4_0-univ». It gets the directory to look up these files by using a short python expression inside «create_appli.sh»:

A) When I run this code, it comes up with an error. I have to change «python» to «python2» to get the script to work.

B) When the script works, I get «/bin». «/bin» isn’t where these files are located. Not even remotely. I’m honestly not sure what this part of the script was supposed to be doing.

To fix this, I just hardcoded the «$SALOMEDIR» to the «

/salome/Salome-V8_4_0-univ». After that change it worked. sort of.

The directory it installed it into was «

/salome/Salome-V8_4_0-univ/y». Not sure where the «y» came from. I tried to run «y/salome» and again ran into python errors this time.

I’ll skip the nitty gritty, but at the end, I had to replace «#! /usr/bin/env python» with «»#! /usr/bin/env python2» to get it to work. I’ll look into submitting a bug report, as this seems like a pretty large oversight. Most people have installations of python 2 and 3.

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

I spoke a little too soon. The program is in French now.

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

Thank you very much! This worked for me also!

Previously shubham tiwari wrote:

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

Thanks to all, i am very glad to help you. If you have any problem then mail me definitely I’ll help you as soon as possible.

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

Thank you for comments which are very helpful to me.

I’m a little bit confused. I’ve followed the steps but still have missing files for launching the application. My error is:

/salome/appli_V8_5_0$ salome
salome: command not found

Any help will be appreciated.

/Documents/SALOME-8.5.0-UB16.04-SRC$ cd /home/ahmed/salome/appli_V8_5_0
ahmed@ahmed-Lenovo-ideapad-320-15IKB:

/salome/appli_V8_5_0$ salome
salome: command not found
ahmed@ahmed-Lenovo-ideapad-320-15IKB:

Re: how to install salome in linux ubuntu 18.04, kindlly do the needful

almost same problem, i tried the solution of James Wrightied and still had the same problem, i tried installing python 2 and 3, i had it working in a virtual machine, installing the fist time got this error, deleting the folder and installing again worked, but in my pc didnt work. so im asking for help. thanks

Источник

Re: How to install Salome / Salome installation on Linux

I would like to make a general answer to the very common question from Linux beginners: How to install Salome on Linux?

Here are «step by step» and detailed instructions.

IMPORTANT: all these actions should NOT be made as root.

Using the Install Wizard is the classical way to install Salome. In case of failure, the user can then try to use the universal binaries instead (see the next section).

1- First, go to the download page and select the file to download at the top of the page (under >> Binaries for officially supported Linux platforms (Installation Wizard):) according to your Linux distribution.

2- Once downloaded, open a Linux terminal/console and go where this file is (using the cd command).

3- Extract the file using the following command: (adapt the following command lines to your case)

4- Go inside the extracted folder and launch the runInstall file:

cd InstallWizard_7.4.0_Ubuntu_13.10_64bit

chmod +x ./SOME_FILE

5- The Install Wizard appears. Click on Next, letting the default setup. At a certain point, it can be necessary to select a «installation platform». In this case, select the only one which is available and go on.

Click on Start and wait for the end of the installation process.

At the end, you can maybe see an error message saying some libraries are absent. This does not mean that Salome won’t work properly. You can note somewhere the name of these libraries in case you really need them in the future, then close the error message.

Читайте также:  Как установить поисковик гугл по умолчанию в эксплорере

Click on Next and Finish.

6- To launch Salome, go inside the Salome folder:

source the env_product.sh file:

source env_products.sh

and execute the runSalome command:

7- To speed up the launch of Salome, the user can create a custom script. There are many ways to do it. Here is one possibility:

a) Create a bin folder in the home directory:

b) Create a script called salome and launching Salome:

c) Make it executable:

d) Declare that the bin folder contains terminal commands by adding its path to the $PATH variable in the .bashrc file which is read each time a new terminal is opened:

Then, the user can open a new terminal and launch Salome by typing directly:

2- Universal Binaries Process

If the Install Wizard method failed, the user can try to use universal binaries.

1- Download it from the the download page. (under >> Universal binaries for Linux:).

2- Once downloaded, open a Linux terminal and go were this file is (using the cd command).

3- Run the downloaded file:

chmod +x ./Salome-V7_4_0-LGPL-x86_64.run

4- Let the default values and press [Enter] until the installation begins.

5- To launch Salome, go to the Salome «appli» folder:

and execute the runAppli file:

6- To speed up the launch of Salome, you can create an alias in your .bashrc file:

Then, the user can open a new terminal and launch Salome by typing directly:

Re: How to install Salome / Salome installation on Linux

good job, that was needed!

may i had that creating a launching script

step 7 in 1- Install Wizard Process

applies as well to 2- Universal Binaries Process

may i say also that all these actions should NOT be made as root

as this makes a mess of the omniOrb permissions

(at least to my experience)

Re: How to install Salome / Salome installation on Linux

I thought it was not necessary to mention it explicitly, but maybe it is.

All the best

Re: How to install Salome / Salome installation on Linux

I have a misfunctioning launcing salome:

(gconftool-2:5331): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Error setting value: No D-BUS daemon running

(gconftool-2:5332): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Error setting value: No D-BUS daemon running

Re: How to install Salome / Salome installation on Linux

Traceback (most recent call last):
File «/root/salome/appli/V7_4_0/bin/salome/runSalome.py», line 677, in useSalome

As said at the top of the first post, Salome should not be installed as root.

Re: How to install Salome / Salome installation on Linux

Previously William Tougeron wrote:

Traceback (most recent call last):
File «/root/salome/appli/V7_4_0/bin/salome/runSalome.py», line 677, in useSalome

As said at the top of the first post, Salome should not be installed as root.

I have an other misfunctioning launcing salome:

runSalome running on linux.site

Searching Naming Service +Cannot open error log file: /tmp/logs/studio/omniNames_2810/omniNameErrors.log

usage: omniNames [-start [

argument, the standard default of 2809 is used.

of whether the log/data files already exist.

You can also set the environment variable OMNINAMES_LOGDIR to specify the

directory where the log/data files are kept.

To publish a specific IP address to clients, use

Traceback (most recent call last):

File «/home/studio/salome/appli_V7_4_0/bin/salome/runSalome.py», line 677, in useSalome

clt = startSalome(args, modules_list, modules_root_dir)

File «/home/studio/salome/appli_V7_4_0/bin/salome/runSalome.py», line 447, in startSalome

File «/home/studio/salome/Salome-V7_4_0-LGPL-x86_64/modules/KERNEL_V7_4_0/bin/salome/orbmodule.py», line 47, in __init__

File «/home/studio/salome/Salome-V7_4_0-LGPL-x86_64/modules/KERNEL_V7_4_0/bin/salome/orbmodule.py», line 86, in initNS

runSalome running on linux.site

Searching Naming Service +Cannot open error log file: /tmp/logs/studio/omniNames_2810/omniNameErrors.log

usage: omniNames [-start [

argument, the standard default of 2809 is used.

of whether the log/data files already exist.

You can also set the environment variable OMNINAMES_LOGDIR to specify the

directory where the log/data files are kept.

To publish a specific IP address to clients, use

Traceback (most recent call last):

File «/home/studio/salome/appli_V7_4_0/bin/salome/runSalome.py», line 677, in useSalome

clt = startSalome(args, modules_list, modules_root_dir)

Источник