tar -xvzf <tar filename> -C <path to where we need to extract>
remove non-empty directories
rm -rf <dir name>
yum install tcsh ncurses ds9 xpa
We'll be using IRAF with xgterm, so we need to
install a required library: libXmu.so.6
. For Fedora 18,
this is provided in the libXmu-1.1.1-2.fc18.i686
package. Use yum whatprovides libXmu.so.6
to get the
correct package for your system. Go ahead and install that with yum:yum install libXmu-1.1.1-2.fc18.i686
mkdir -p /home/iraf/iraf/local
/iraf
directory.
ln -s /home/iraf /iraf
useradd -c "IRAF login" -d /iraf/iraf/local -m -s /bin/csh -u 1001 iraf
/iraf
directory so IRAF
can use it:chown -R iraf:iraf /iraf
/iraf/iraf
directory:wget ftp://iraf.noao.edu/iraf/v216/PCIX/iraf.lnux.x86_64.tar.gz
tar xvfz iraf.lnux.x86_64.tar.gz -C /iraf/iraf
export iraf='/iraf/iraf/'
iraf/unix/hlib/install
/iraf/iraf/
directory, make a directory
for x11iraf
, then download the x11iraf
tarball
there:mkdir /iraf/iraf/x11iraf
cd /iraf/iraf/x11iraf
wget http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.redhat.tar.gz
tar xvfz x11iraf-v2.0BETA-bin.redhat.tar.gz
app-defaults
directory
for x11iraf
:mkdir /usr/lib64/X11/app-defaults
x11iraf
installation script:
./install
cd /iraf/iraf/extern
./config (and then wait a bit while it gets the repo info)
ls (to list available packages when the config script is done)
make rvsao stsdas guiapps
mkiraf (in your home directory -> creates a login.cl file)
--> choose xgterm as the terminal type
ds9 & --> starts DS9 and sets up the XPA connection that IRAF will use
xgterm & --> starts up xgterm which enables IRAF to show its graphics output
in xgterm: cl --> starts up IRAF
If you find any error while executing the command xgterm &
try dis....
yum install ncurses-libs.i686 libstdc++.i686 libgcc.i686
Your problem will be solved :)