Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.eso.org/sci/software/scisoft/INSTALL
Дата изменения: Thu Jan 29 11:40:19 2015
Дата индексирования: Sun Apr 10 19:53:41 2016
Кодировка:

Поисковые слова: http astrokuban.info astrokuban
Scisoft Installation

This document describes how to install and uninstall Scisoft 8 on
Fedora Core 20. 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.

Further information about Scisoft can be found at:

http://www.eso.org/scisoft.

The Scisoft Team, January 2015 (scihelp@eso.org)

Installing Scisoft 8 on Fedora Core 20
=======================================

There are two methods to install Scisoft 8; these are described
below in order of preference (best first), together with the pros
and cons of each method.

Allocate disk space for SCISOFT.
--------------------------------
Scisoft occupies 9Gbytes in disk. It will be installed in your system
in a directory called /scisoft. Make sure your root filesystem allocates this
diskspace, otherwise create a soft link to another free disk area. Example:
mkdir /mydisk/scisoft
ln -s /mydisk/scisoft /scisoft

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 20

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/scisoft8/linux/fedora/20/x86_64
gpgcheck=0
enabled=1

3) As root run:

yum clean all
yum install scisoft8-\*

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 20, or that some dependencies are
overridden using rpm's '--nodeps' option

Procedure:

1) Download all RPMs at
ftp://ftp.eso.org/scisoft/scisoft8/linux/fedora/20/x86_64/,
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


Uninstalling Scisoft 8 on Fedora Core 20
========================================

There are two methods to uninstall Scisoft 8; you should use the
method which corresponds with the method you chose for installing
Scisoft 8.

Method #1 Uninstalling using yum
--------------------------------

1) As root run:

yum remove scisoft8-\*

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


--