当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 请教:tar.gz文件安装中遇到的问题
帖子发表于 : 2009-06-29 11:40 

注册: 2009-05-29 0:16
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
软件包是tar.gz格式的

它有自己的安装介绍(见后面),我按照它的要求,复制文件到/usr/local/src,然后tar -xzvf,然后把./bin/Setup.bash加入PATH

但是这样以后怎么运行软件呢?我照它的例子,在终端输入 pyraf,可是终端告诉我这个命令不存在。

我在论坛里搜索了安装tar.gz软件包的方法,可是里面都说是用make,可我解压后没有Makefile文件啊,请问怎么办呢?非常感谢!!

我是菜鸟。。。呜呜。。。

=============================
INSTALL文件
=============================
Scisoft Installation

This document describes how to install and uninstall Scisoft 7.0 on
Fedora Core 6. 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, June 2007 (scihelp@eso.org)

Installing Scisoft 7.0 on Fedora Core 6
=======================================

There are three methods to install Scisoft 7.0; 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 6

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

Procedure:

1) Download all RPMs at
ftp://ftp.eso.org/scisoft/scisoft7/linux/fedora6/RPMs/,
or copy them from the Scisoft DVD
and save them to a directory, which we will call
<scisoft-save-dir>.

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 <scisoft-save-dir>/*.rpm

Method #3 Installing from tar.gz
--------------------------------

Pros:

* May mean you can get Scisoft 7.0 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/linux/fedora6/tar/,
or copy them from the Scisoft DVD
and save it to a directory, which we will call
<scisoft-save-dir>.

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-save-dir>/scisoft-*.tar.gz

Problems with SELinux and FC6
-----------------------------
Some software in Scisoft 7.0 such as inmidas conflict with SELinux
which is installed by default on Fedora Core 6.
For more information see:
http://www.eso.org/sci/data-processing/ ... q.html#q25

Uninstalling Scisoft 7.0 on Fedora Core 6
========================================

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

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


--


=====================
README_USERS 文件
=====================
Using the ESO Scientific Software Collection (Scisoft)

If the Scisoft software collection has been installed on your computer,
or an accessible server machine it is essential for all users to
source a shell script to configure their environment. What needs to
be done depends on the user's shell:

"csh" and "tcsh" users should invoke the command:

source /scisoft/bin/Setup.csh

and users of the "bash" shell should use:

. /scisoft/bin/Setup.bash

These commands may be conveniently added to an appropriate startup
file such as .cshrc or .tcshrc (for csh and tcsh) and .profile (for bash)
or the system-wide equivalents.

If you are unsure which shell you are using type:

echo $SHELL

Once the setup script has been sourced all the Scisoft packages will be
available without further action. So, for example you can start PyRAF
by just typing "pyraf".

If you have difficulties please contact us.

The Scisoft Team, June 2007 (scihelp@eso.org)


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 请教:tar.gz文件安装中遇到的问题
帖子发表于 : 2009-06-29 12:37 
头像

注册: 2009-02-25 18:18
帖子: 2229
送出感谢: 0 次
接收感谢: 0 次
引用:
Method #3 Installing from tar.gz
--------------------------------

Pros:

* May mean you can get Scisoft 7.0 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/linux/fedora6/tar/,
or copy them from the Scisoft DVD
and save it to a directory, which we will call
<scisoft-save-dir>.

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-save-dir>/scisoft-*.tar.gz

似乎是解开就能用【好像好多个,要下全】,你找找Setup.bash,然后双击,在终端中运行,不行的话把软件目录和里面的文件的权限都改成777
ps:没用过,没听说过,没安装过,纯看readme和经验 :em06


_________________
在中国搞IT的谁不知道Ctrl+C,Ctrl+V啊~


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Bing [Bot], muzixin 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译