-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiraf_step_by_step_installation_ubuntu
More file actions
109 lines (59 loc) · 2.72 KB
/
iraf_step_by_step_installation_ubuntu
File metadata and controls
109 lines (59 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
= IRAF Setup on Ubuntu/Debian Linux =
This page describes how to setup IRAF on a 32-bit Ubuntu/Debian machine.
Installation of X11IRAF, DS9 and key packages are also included.
It will be easiest if you just copy-paste the instructions one by one except
for the parts in [[ ]].
For 64-bit installation, please see -
http://www.astronomy.ohio-state.edu/~khan/iraf/iraf_step_by_step_installation_64bit
An excellent and easy alternative installation option is provided by the Ureka project -
http://ssb.stsci.edu/ureka/
- Rubab Khan
---------------------------------------------------------------------------------------
sudo apt-get install tcsh libxss1 libncurses5 libXmu6:i386
wget ftp://iraf.noao.edu/iraf/v216/PCIX/iraf.lnux.x86.tar.gz
[[If the prompt does not return after 100% then hit ctrl+c and proceed]]
sudo mkdir /iraf
sudo mkdir /iraf/iraf
sudo mv iraf.lnux.x86.tar.gz /iraf/iraf/.
cd /iraf/iraf
sudo tar -zxf iraf.lnux.x86.tar.gz
sudo rm iraf.lnux.x86.tar.gz
sudo ./install
[[Keep hitting Enter for all prompts]]
sudo mkdir /iraf/x11iraf
cd /iraf/x11iraf
sudo wget http://iraf.noao.edu/iraf/ftp/iraf/x11iraf/x11iraf-v2.0BETA-bin.linux.tar.gz
sudo tar -zxf x11iraf-v2.0BETA-bin.linux.tar.gz
sudo rm x11iraf-v2.0BETA-bin.linux.tar.gz
sudo ./install
[[Keep hitting Enter for all prompts]]
sudo wget http://ds9.si.edu/archive/linux/ds9.linux.7.2.tar.gz
sudo tar -zxf ds9.linux.7.2.tar.gz
sudo rm ds9.linux.7.2.tar.gz
sudo mv ds9 /usr/local/bin/.
cd
wget http://www.astronomy.ohio-state.edu/~khan/iraf/iraf
sudo chmod u=rwx iraf
mkdir IRAF
cd IRAF
mkiraf
[[Select "xgterm" as your IRAF shell when prompted]]
exit
----------------------------------------------------------------------------------------------
The command ./iraf from home directory will now launch a complete IRAF session containing DS9,
xgterm and ecl, based in the IRAF direcory. Alternately, start "xgterm' (typing xgterm),
cd into the directory where you did "mkiraf", type "ecl" for enhanced IRAF or
"cl" for VO IRAF, and "ds9" for standalone DS9 launch.
The following steps show how to add external packages. If you don't need extra packages,
then you are done already.
----------------------------------------------------------------------------------------------
cd /iraf/iraf/extern
sudo ./configure
[[The next two lines will take some time to complete, even with fast internet. Be patient.]]
sudo make adccdrom ctio cfh12k esowfi mscdb mscred stsdas nfextern optic
sudo make deitab euv mem0 mtools rvsao song sqiid stecf ucsclris upsqiid xdimsum
exit
----------------------------------------------------------------------------------------------
Next time you start IRAF, the available packages will be listed.
= END =