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

From CAELinuxWiki
Jump to: navigation, search
(Cleaned it up)
(Get the software)
Line 1: Line 1:
== 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 ==
 
== Get the software ==

Revision as of 19:25, 27 October 2008


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