Scisoft Installation This document describes how to install and uninstall Scisoft 7.7 on Fedora Core 11. Other Linux distributions are not officially supported, but may work. All indentation in this document is for readability only; you should not indent any commands or file contents. All commands are to be run as non-root unless specified otherwise. The instructions below assume a network installation but the same files are also available on the Scisoft DVD. Further information about Scisoft can be found at: http://www.eso.org/scisoft. The Scisoft Team, March 2012 (scihelp@eso.org) Installing Scisoft 7.7 on Fedora Core 11 ======================================= There are three methods to install Scisoft 7.7; these are described below in order of preference (best first), together with the pros and cons of each method. Method #1 Installing from the online yum repository --------------------------------------------------- Pros: * your scisoft installation can automatically be kept aligned with the latest available bugfixes for this Scisoft release * you can install all of Scisoft or only the parts you want Cons: * requires Fedora Core 11 Procedure: 1) If you have a previous installation of Scisoft then back it up and remove it using a method appropriate to it was installed (e.g. if you used 'yum' to install it now use 'yum' to remove it). 2) As root create /etc/yum.repos.d/scisoft.repo containing: [scisoft] name=Scisoft baseurl=ftp://ftp.eso.org/scisoft/scisoft7.7/linux/fedora11/yum-repo gpgcheck=0 enabled=1 3) As root run: yum clean all yum install scisoft-\* and when prompted, check the list of packages about to be installed looks sensible, and then allow yum to start installing the packages by pressing 'y'. Method #2 Installing from RPMs ------------------------------ Pros: * you can install all of Scisoft or only the parts you want Cons: * requires Fedora Core 11, or that some dependencies are overridden using rpm's '--nodeps' option Procedure: 1) Download all RPMs at ftp://ftp.eso.org/scisoft/scisoft7.7/linux/fedora11/RPMs/, or copy them from the Scisoft DVD and save them to a directory, which we will call . 2) If you have a previous installation of Scisoft then back it up and remove it using a method appropriate to it was installed (e.g. if you used 'yum' to install it now use 'yum' to remove it). 3) As root, run: rpm -ihv /*.rpm Method #3 Installing from tar.gz -------------------------------- Pros: * May mean you can get Scisoft 7.7 running on unsupported versions of Linux (which is not supported). Cons: * you must install all of Scisoft and cannot install only the parts you want * prerequisite libraries are not automatically checked at install-time Procedure: 1) Scisoft depends on several external packages which are provided in the tarball. Some of the software will work without these, but you will need to install them if you want all of Scisoft to work. If you are using a RPM compatible distribution you can try to download and install the following packages: - SDL_image - SDL_ttf - compat-libf2c-34 - libgfortran - unixODBC If you are using a non RPM based distribution you will need to find the equivalent packages. 2) Download the tar.gz file from ftp://ftp.eso.org/scisoft/scisoft7.7/linux/fedora11/tar/, or copy them from the Scisoft DVD and save it to a directory, which we will call . 3) If you have a previous installation of Scisoft then back it up and remove it using a method appropriate to it was installed (e.g. if you used 'yum' to install it now use 'yum' to remove it). 4) As root, run: cd / tar xzf /scisoft-*.tar.gz Problems with SELinux and FC11 ----------------------------- Some software in Scisoft 7.7 such as inmidas conflict with SELinux which is installed by default on Fedora Core 11. For more information see: http://www.eso.org/sci/data-processing/software/scisoft7/faq.html#q25 Uninstalling Scisoft 7.7 on Fedora Core 11 ======================================== There are three methods to uninstall Scisoft 7.7; you should use the method which corresponds with the method you chose for installing Scisoft 7.7. Method #1 Uninstalling using yum -------------------------------- 1) As root run: yum remove scisoft-\* and when prompted, check the list of packages about to be uninstalled looks sensible, and then allow yum to start uninstalling the packages by pressing 'y'. Method #2 Uninstalling using rpm -------------------------------- 1) As root get a list of RPMs to remove with: RPM_LIST=`rpm -qa | grep scisoft-` 2) As root still, remove these RPMs with: rpm -e $RPM_LIST Method #3 Uninstalling the tar.gz --------------------------------- 1) As root run: cd /scisoft rm -fr * rm -f /dev/imt1 /dev/imt1i /dev/imt1o /usr/include/iraf.h /usr/local/lib/imtoolrc --