Difference between revisions of "Doc:Installing Salome-Meca-2008.1"

From CAELinuxWiki
Jump to: navigation, search
(Entry for Salome-Meca 2008.1 GPL for GNU/Linux Ubuntu 8.04)
 
(Cleaned it up)
Line 3: Line 3:
 
First download SALOME-MECA-2008.1-GPL.tgz from the CAELinux website (it's about 700MB, it takes a while...)
 
First download SALOME-MECA-2008.1-GPL.tgz from the CAELinux website (it's about 700MB, it takes a while...)
  
== Install ==
+
== Get the software ==
 +
Download it: Find it from the CAELinux web site, or use Google/Yahoo/whatever to find it. If you're reading this page you probably know where to find it...
  
Then, as a normal user in a terminal (console), unpack the tarball:
+
At the time of writing this, the tarball was to be found here:
 +
[http://www.caelinux.com/CMS/index.php?option=com_content&task=view&id=44&Itemid=40 Salome-Meca-2008.1-GPL]
  
tar -xvvf SALOME-MECA-2008.1-GPL.tgz
+
== Install ==
 
+
All of the following commands are typed, i.e., use a terminal.
sudo mv SALOME-MECA-2008.1-GPL /opt/
+
 
+
cd /opt/SALOME-MECA-2008.1-GPL/postinstall/
+
 
+
sudo ./postinstall.py
+
 
+
The following is probably not crucial:
+
 
+
sudo chown -R root:root /opt/SALOME-MECA-2008.1
+
 
+
Everything should be OK now. If you get the following error:
+
 
+
"Failed to narrow the root naming context"
+
  
then check your /etc/hosts file. It will look something like this:
+
"cd" to the directory where you saved the tarball and unpack it:
 +
tar -xvvf SALOME-MECA-2008.1-GPL.tgz
 +
Move it to the /opt directory:
 +
sudo mv SALOME-MECA-2008.1-GPL /opt/
 +
Run the post install script:
 +
cd /opt/SALOME-MECA-2008.1-GPL/postinstall/
 +
sudo ./postinstall.py
 +
Change the file/dir ownership (not crucial):
 +
sudo chown -R root:root /opt/SALOME-MECA-2008.1
  
<nowiki>
+
== Create symbolic links ==
# Do not remove the following line, or various programs
+
This will enable you to run Salome-Meca from any location.
# that require network functionality will fail.
+
cd /usr/local/bin
127.0.0.1 localhost.localdomain localhost localhost
+
sudo ln -s /opt/SALOME-MECA-2008.1-GPL/runSalomeMeca runSalomeMeca
::1 localhost6.localdomain6 localhost6
+
sudo ln -s /opt/SALOME-MECA-2008.1-GPL/killSalome killSalome
</nowiki>
+
cd
 +
Everything should be OK now.
  
Where that second localhost should be your hostname for example:
+
== Run (launch) Salome-Meca ==
 +
Still in a terminal, type
 +
runSalomeMeca
 +
This will launch Salome-Meca. You can stop/end (kill) the application with
 +
killSalome
  
127.0.0.1 localhost.localdomain localhost lintop
+
== Troubleshooting ==
 +
Should you get the following error if you try to run Salome-Meca
 +
"Failed to narrow the root naming context"
 +
then check your "/etc/hosts" file. It will look something like this:
 +
# Do not remove the following line, or various programs
 +
# that require network functionality will fail.
 +
127.0.0.1 localhost.localdomain localhost localhost
 +
::1 localhost6.localdomain6 localhost6
 +
The second "localhost" should be your "hostname", for example:
 +
127.0.0.1 localhost.localdomain localhost your_host_name
 +
If you don't know what your hostname is, type:
 +
hostname
 +
----
 +
William Hunter

Revision as of 19:24, 27 October 2008

Get the software

First download SALOME-MECA-2008.1-GPL.tgz from the CAELinux website (it's about 700MB, it takes a while...)

Get the software

Download it: Find it from the CAELinux web site, or use Google/Yahoo/whatever to find it. If you're reading this page you probably know where to find it...

At the time of writing this, the tarball was to be found here: Salome-Meca-2008.1-GPL

Install

All of the following commands are typed, i.e., use a terminal.

"cd" to the directory where you saved the tarball and unpack it:

tar -xvvf SALOME-MECA-2008.1-GPL.tgz

Move it to the /opt directory:

sudo mv SALOME-MECA-2008.1-GPL /opt/

Run the post install script:

cd /opt/SALOME-MECA-2008.1-GPL/postinstall/
sudo ./postinstall.py

Change the file/dir ownership (not crucial):

sudo chown -R root:root /opt/SALOME-MECA-2008.1

Create symbolic links

This will enable you to run Salome-Meca from any location.

cd /usr/local/bin
sudo ln -s /opt/SALOME-MECA-2008.1-GPL/runSalomeMeca runSalomeMeca
sudo ln -s /opt/SALOME-MECA-2008.1-GPL/killSalome killSalome
cd

Everything should be OK now.

Run (launch) Salome-Meca

Still in a terminal, type

runSalomeMeca 

This will launch Salome-Meca. You can stop/end (kill) the application with

killSalome

Troubleshooting

Should you get the following error if you try to run Salome-Meca

"Failed to narrow the root naming context"

then check your "/etc/hosts" file. It will look something like this:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost
::1 localhost6.localdomain6 localhost6 

The second "localhost" should be your "hostname", for example:

127.0.0.1 localhost.localdomain localhost your_host_name

If you don't know what your hostname is, type:

hostname

William Hunter