Installation/Helyx-OS/openSUSE
1 Introduction
This page is dedicated to explaining how to install Helyx-OS in openSUSE.
Note: Many of these instructions were copied (with permission) from the original HelyxOS (Unofficial instructions) written by User:Wyldckat.
If you do not yet feel comfortable using Linux, then perhaps you better first read the page Working with the Shell and train a bit with the shell/terminal environments, so you can have a better perception of the steps shown below.
Contents
2 Copy-Paste steps
A few notes before you start copy-pasting:
- Lines that start with # don't have to be copy-pasted. They are just comments to let you know what's going on.
- One wrong character is enough for breaking this guide, so make sure you can read the characters properly or that the installed language system does not break the copied characters!
2.1 openSUSE 11.4
2.1.1 openSUSE 11.4 32bit
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
Note: These instructions have been tested on openSUSE 11.4 32bit (i586).
Steps:
- Install "vtk" + "vtk-java" + "OpenJDK":
sudo zypper install vtk vtk-java java-1_6_0-openjdk
- Download the binary tarball for HelyxOS from the download section. For example, download the file:
20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Unpack the tarball for HelyxOS where you want to install HelyxOS:
tar -xjf 20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Go into the folder Engys/HelyxOS and remove the jre folder:
cd Engys/HelyxOS rm -rf jre
- Get a local copy of the OpenJDK installation that openSUSE has got:
cp -r /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre jre
- Create a symbolic loophole for the "xawt" subfolder:
ln -s ../xawt jre/lib/i386/xawt/xawt
- Go into the subfolder v1.0.1:
cd v1.0.1
- Edit the file bin/launcher.conf (e.g. with nano or gedit) and search for the following line:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/amd64/xawt:$LD_LIBRARY_PATH"
Replace it with this one:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/i386:$HELYXHOME/../jre/lib/i386/xawt:$LD_LIBRARY_PATH"
Save and close the file.
- Eliminate the contents of the ext subfolder:
rm ext/*
- Create a symbolic link list to the actual VTK libraries:
for a in /usr/lib/vtk/lib*.so.5.10.0; do b=${a%*.5.10.0} ln -s $a ext/${b##*/} done
Or if you prefer a single line of code:
for a in /usr/lib/vtk/lib*.so.5.10.0; do b=${a%*.5.10.0}; ln -s $a ext/${b##*/}; done
- Remove the lib/vtk-5.10.jar and replace it with a symbolic link to openSUSE's own build:
rm lib/vtk-5.10.jar ln -s /usr/lib/vtk/java/vtk.jar lib/vtk-5.10.jar
- That is it! You are ready to go:
./helyxOS.sh
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
2.1.2 openSUSE 11.4 64bit
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
Note: These instructions have been written for openSUSE 11.4 64bit (x86_64).
Steps:
- Install "vtk" + "vtk-java" + "OpenJDK":
sudo zypper install vtk vtk-java java-1_6_0-openjdk
- Download the binary tarball for HelyxOS from the download section. For example, download the file:
20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Unpack the tarball for HelyxOS where you want to install HelyxOS:
tar -xjf 20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Go into the folder Engys/HelyxOS and remove the jre folder:
cd Engys/HelyxOS rm -rf jre
- Get a local copy of the OpenJDK installation that openSUSE has got:
cp -r /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre jre
- Create a symbolic loophole for the "xawt" subfolder:
ln -s ../xawt jre/lib/amd64/xawt/xawt
- Go into the subfolder v1.0.1:
cd v1.0.1
- Edit the file bin/launcher.conf (e.g. with nano or gedit) and search for the following line:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/amd64/xawt:$LD_LIBRARY_PATH"
Replace it with this one:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/amd64:$HELYXHOME/../jre/lib/amd64/xawt:$LD_LIBRARY_PATH"
Save and close the file.
- Eliminate the contents of the ext subfolder:
rm ext/*
- Create a symbolic link list to the actual VTK libraries:
for a in /usr/lib64/vtk/lib*.so.5.10.0; do b=${a%*.5.10.0} ln -s $a ext/${b##*/} done
Or if you prefer a single line of code:
for a in /usr/lib64/vtk/lib*.so.5.10.0; do b=${a%*.5.10.0}; ln -s $a ext/${b##*/}; done
- Remove the lib/vtk-5.10.jar and replace it with a symbolic link to openSUSE's own build:
rm lib/vtk-5.10.jar ln -s /usr/lib64/vtk/java/vtk.jar lib/vtk-5.10.jar
- That is it! You are ready to go:
./helyxOS.sh
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
2.2 openSUSE 12.3
2.2.1 openSUSE 12.3 32bit
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
Note: These instructions have been tested on openSUSE 12.3 32bit (i586).
Steps:
- Install "vtk" + "vtk-java" + "OpenJDK":
sudo zypper install vtk vtk-java java-1_7_0-openjdk
Note: this assumes that you have already added the Science repository to YaST. If you have not yet done this, run the following command:
sudo zypper ar -fr http://download.opensuse.org/repositories/science/openSUSE_12.3/science.repo
- Download the binary tarball for HelyxOS from the download section. For example, download the file:
20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Unpack the tarball for HelyxOS where you want to install HelyxOS:
tar -xjf 20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Go into the folder Engys/HelyxOS and remove the jre folder:
cd Engys/HelyxOS rm -rf jre
- Get a local copy of the OpenJDK installation that openSUSE has got:
cp -r /usr/lib/jvm/java-1.7.0-openjdk-1.7.0/jre jre
- Create a symbolic loophole for the "xawt" subfolder:
ln -s ../xawt jre/lib/i386/xawt/xawt
- Go into the subfolder v1.0.1:
cd v1.0.1
- Edit the file bin/launcher.conf (e.g. with nano or gedit) and search for the following line:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/amd64/xawt:$LD_LIBRARY_PATH"
Replace it with this one:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/i386:$HELYXHOME/../jre/lib/i386/xawt:$LD_LIBRARY_PATH"
Save and close the file.
- Eliminate the contents of the ext subfolder:
rm ext/*
- Create a symbolic link list to the actual VTK libraries:
for a in /usr/lib/vtk/lib*.so.5.10.1; do b=${a%*.5.10.1} ln -s $a ext/${b##*/} done
Or if you prefer a single line of code:
for a in /usr/lib/vtk/lib*.so.5.10.1; do b=${a%*.5.10.1}; ln -s $a ext/${b##*/}; done
- Remove the lib/vtk-5.10.jar and replace it with a symbolic link to openSUSE's own build:
rm lib/vtk-5.10.jar ln -s /usr/lib/vtk/java/vtk.jar lib/vtk-5.10.jar
- That is it! You are ready to go:
./helyxOS.sh
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
2.2.2 openSUSE 12.3 64bit
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions
Note: These instructions have been tested on openSUSE 12.3 64bit (x86_64).
Steps:
- Install "vtk" + "vtk-java" + "OpenJDK":
sudo zypper install vtk vtk-java java-1_7_0-openjdk
Note: this assumes that you have already added the Science repository to YaST. If you have not yet done this, run the following command:
sudo zypper ar -fr http://download.opensuse.org/repositories/science/openSUSE_12.3/science.repo
- Download the binary tarball for HelyxOS from the download section. For example, download the file:
20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Unpack the tarball for HelyxOS where you want to install HelyxOS:
tar -xjf 20130122-Engys-HelyxOS-1.0.1-linux-x64-JRE.tar.bz2
- Go into the folder Engys/HelyxOS and remove the jre folder:
cd Engys/HelyxOS rm -rf jre
- Get a local copy of the OpenJDK installation that openSUSE has got:
cp -r /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre jre
- Create a symbolic loophole for the "xawt" subfolder:
ln -s ../xawt jre/lib/amd64/xawt/xawt
- Go into the subfolder v1.0.1:
cd v1.0.1
- Edit the file bin/launcher.conf (e.g. with nano or gedit) and search for the following line:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/amd64/xawt:$LD_LIBRARY_PATH"
Replace it with this one:
LD_LIBRARY_PATH="$HELYXHOME/ext:$HELYXHOME/../jre/lib/amd64:$HELYXHOME/../jre/lib/amd64/xawt:$LD_LIBRARY_PATH"
Save and close the file.
- Eliminate the contents of the ext subfolder:
rm ext/*
- Create a symbolic link list to the actual VTK libraries:
for a in /usr/lib64/vtk/lib*.so.5.10.1; do b=${a%*.5.10.1} ln -s $a ext/${b##*/} done
Or if you prefer a single line of code:
for a in /usr/lib64/vtk/lib*.so.5.10.1; do b=${a%*.5.10.1}; ln -s $a ext/${b##*/}; done
- Remove the lib/vtk-5.10.jar and replace it with a symbolic link to openSUSE's own build:
rm lib/vtk-5.10.jar ln -s /usr/lib64/vtk/java/vtk.jar lib/vtk-5.10.jar
- That is it! You are ready to go:
./helyxOS.sh
Discussion thread where you can ask questions about these steps: Installing HelyxOS on 32 and 64bit Linux Distributions