Scientific Linux is a Linux distribution based off of Red Hat Enterprise Linux and is distributed by various national and international laboratories. This page contains our documentation on the build we have installed and how we got it to that state.
Information about our Build
Scientific Linux 6.0 is currently installed on the computers in MH263. The reasons for this are twofold. First, the uEye camera software will only run on one of the RedHat distributions or some variant. Therefore, we installed Scientific Linux 6.0, based off of the RHEL6 core.
Differences between SL and Ubuntu
For installing packages in Ubuntu, one uses apt-get and the Synaptic package manager. SL uses yum and Yum Extender. Yum Extender, however, is not installed by default and is not as clean as Synaptic. See below for how to install Yumex.
Packages are handled roughly the same, but the repositories are much different. There are many repositories enabled by default in Ubuntu, but SL only has two repositories enabled at installation. They are the "official" repositories, which means that to install anything special, you need EPEL, which extends RHEL6.
Installing the uEye Software
To be added.
Installing YumexYumex requires the EPEL (Extra Packages for Enterprise Linux) repository. Installing this, however, requires one of two things. One can either import the required key or force rpm to ignore the key required. Download the file named epel-release-6-5.noarch.rpm, and in a terminal, run
rpm --nogpgcheck epel-release-6-6.noarch.rpmThis installs the rpm for epel, and actually allows you to use the various packages included in it. Next, use
yum install yumexto install Yum Extender.
Installing Java and enabling the Java plugin
Java has a more involved process.
- Begin by downloading the Linux Java RPM. Take care in installing the correct version (32- vs. 64-bit).
chmod a+x jre-<version>-rpm.binThis should extract a file named jre-<version>.rpm
rpm -i jre-<version>.rpmThis installs the RPM for yum to use. (Please note that after this point is not entirely known. This needs to be verified on another computer).
- Check that Java installed to /usr/java/jre-<version>.
- Next, we want to install the plugin, so we cd to the Firefox plugin directory. For our computers, this should be located at /home/<username>/.mozilla/plugins.
- We assume that Java should have installed to /usr/java, so we want to create a symbolic link to the directory that contains the plugin
ln -s /usr/java/jre1.6.0_26/plugin/i386/ns7/libjavaplugin_oji.so
- Restart Firefox and use the Java verification tool to ensure it installed correctly.