Category Archives: Operating Systems

Installing Scisoft 8 on Fedora 24

Scisoft 8 is built on Fedora 20 and it works flawlessly on higher versions of Fedora (currently the lasted is 24) as well. However, there are number of issues you may encounter during installation, even if installation completes you may find various components of Scisoft is broken.

Here I outline all the preliminary dependencies installation which are not resolved by dnf and few other compilation of required components. I intend to list step-by-step commands to execute, which even you blindly copy-paste and execute you will have a fully working installation of Scisoft. However the fundamental prerequisite to keep in mind, is to install Scisoft 8 you need a 64bit installation of Fedora.

Step 1: Update your Fedora

Step 2: Install ScientifiicPython, a prerequisite for Scisoft

ScientificPython is one of the main external dependency required by Scisoft and it involved RPM compilation and then installation.
However, before we begin compilation we require installation of few additional necessary components.

Now fetching source and  compilation

Then installing ScientificPython

Step 3: Some tricky parts to execute

Before we proceed further we have to do some tricky installation of few components.

This is tricky because all these components are automatically resolved by dnf, but we want to install them beforehand to avoid some specific issues, installation of these components at this stage only is absolute necessary. pyfits will otherwise overwrite the old component of libcfitsio which we will install next. redhat-rpm-config and libX11-devel are sometimes installed at later phase by dnf, which will cause broken installation of Astropy package and therefore failed pyraf.

Step 4: Libcfitsio library installation

Lets fetch and install this specific version.

Step 5: Disable Selinux

Although this is not absolute must but you want to do it to avoid potential conflicts afterwards and also no warning notice for Scisoft Iraf.

Edit selinux config

Modify enforcing to disabled

SELINUX=enforcing → SELINUX=disabled

System reboot

Step 6: Scisoft installation

Now we are ready to follow usual Scisoft installation procedure.

Add scisoft repository

Put this content in it

[scisoft]
name=Scisoft
baseurl=ftp://ftp.eso.org/scisoft/scisoft8/linux/fedora/20/x86_64
gpgcheck=0
enabled=1

Begin installation

This will take some time and good stable internet connection is required. Although some may suggest installation from separately downloaded RPMs, but I prefer repository installation.

Step 7: Post installation configuration (optional)

Now you are done with successful installation. This are some optional configuration you may want to do (or you may do in you preferred way), for easy access to Scisoft.

Edit your local .bashrc file and source Scisoft setup script (simply add this line)

Also create login.cl file, after opening new bash shell or restarting.

 

So, now you have fully running Scisoft on your new Fedora installation.