IRAF: iraf-64-bit_step_by_step_installation

File iraf-64-bit_step_by_step_installation, 4.0 KB (added by rubab@…, 19 years ago)

Installation of IRAF along with X11IRAF, DS9, Tables, and STSDAS on 64-bit Ubuntu/Debian

Line 
1
2= IRAF Setup on Ubuntu/Debian =
3
4This page describes how to setup IRAF on a 64-bit Ubuntu/Debian machine.
5Installation of X11IRAF, DS9, Tables, and STSDAS are also included.
6
7It will be easiest if you just copy-paste the instructions one by one.
8Please be sure to read and implement the instructions in [[brackets]] as well.
9
10(For 32-bit installation, use
11 http://geco.phys.columbia.edu/~rubab/iraf/iraf_step_by_step_installation )
12
13Please send questions or comments to:
14rubab@astro.columbia.edu
15
16--------------------------------------------------------------------------------------------------------------------------------
17
18sudo apt-get install tcsh
19
20sudo apt-get install ia32-libs ia32-libs-gtk linux32
21
22wget http://geco.phys.columbia.edu/~rubab/iraf/ldso_1.9.11-15_i386.deb
23
24sudo dpkg --force-architecture -i ldso_1.9.11-15_i386.deb
25
26wget http://geco.phys.columbia.edu/~rubab/iraf/libc5_5.4.46-15_i386.deb
27
28sudo dpkg --force-architecture -i libc5_5.4.46-15_i386.deb
29
30wget http://geco.phys.columbia.edu/~rubab/iraf/termcap-compat_1.2.3_i386.deb
31
32sudo dpkg --force-architecture -i termcap-compat_1.2.3_i386.deb
33
34[[Use System>Administration>Users and Groups to create an account with username "iraf",
35real name "IRAF Maintenance", home directory "/iraf/iraf/local", shell "/bin/tcsh",
36and a secure password. For sudo commands here on, use this password.]]
37
38sudo chown -R iraf:iraf /iraf
39
40su iraf
41
42mkdir /iraf/irafbin
43
44mkdir /iraf/irafbin/bin.linux
45
46mkdir /iraf/irafbin/noao.bin.linux
47
48mkdir /iraf/x11iraf
49
50mkdir /iraf/extern
51
52cd /iraf/iraf
53
54wget http://iraf.net/ftp/iraf/V2.13-BETA/as.pcix.gen.gz
55
56tar -zxf as.pcix.gen.gz
57
58rm as.pcix.gen.gz
59
60cd /iraf/iraf/unix/bin.redhat/
61
62mv * ../bin.linux/
63
64cd /iraf/irafbin/bin.linux
65
66wget http://iraf.net/ftp/iraf/V2.13-BETA/ib.rhux.x86.gz
67
68tar -zxpf ib.rhux.x86.gz
69
70rm ib.rhux.x86.gz
71
72cd /iraf/irafbin/noao.bin.linux
73
74wget http://iraf.net/ftp/iraf/V2.13-BETA/nb.rhux.x86.gz
75
76tar -zxpf nb.rhux.x86.gz
77
78rm nb.rhux.x86.gz
79
80setenv iraf /iraf/iraf/
81
82cd $iraf/unix/hlib
83
84source irafuser.csh
85
86[[Choose default paths as will be shown in on-screen prompt parentheses.
87Type "y" only where "yes" returns "huh?".]]
88
89sudo ./install
90
91sudo apt-get install libncurses4
92
93cd /iraf/x11iraf/
94
95wget http://iraf.noao.edu/iraf/ftp/iraf/x11iraf/x11iraf-v1.3.1-bin.redhat.tar.gz
96
97tar -zxf x11iraf-v1.3.1-bin.redhat.tar.gz
98
99mv lib.redhat lib.linux
100
101mv bin.redhat bin.linux
102
103sudo ./install
104
105rm x11iraf-v1.3.1-bin.redhat.tar.gz
106
107wget http://hea-www.harvard.edu/saord/download/ds9/linux/ds9.linux.5.0.tar.gz
108
109tar -zxf ds9.linux.5.0.tar.gz
110
111rm ds9.linux.5.0.tar.gz
112
113sudo mv ds9 /usr/local/bin/
114
115cd /iraf/extern/
116
117mkdir tables stsdas
118
119cd /iraf/extern/tables/
120
121wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/source/tables37.tar.gz
122
123tar -zxf tables37.tar.gz
124
125rm tables37.tar.gz
126
127cd bin.linux/
128
129wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/binaries/tables37.bin.redhat.tar.gz
130
131tar -zxf tables37.bin.redhat.tar.gz
132
133rm tables37.bin.redhat.tar.gz
134
135cd /iraf/extern/stsdas
136
137wget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/source/stsdas37.tar.gz
138
139tar -zxf stsdas37.tar.gz
140
141rm stsdas37.tar.gz
142
143cd bin.linux
144
145wget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/binaries/stsdas37.bin.redhat.tar.gz
146
147tar -zxf stsdas37.bin.redhat.tar.gz
148
149rm stsdas37.bin.redhat.tar.gz
150
151cd /iraf/extern/stsdas
152
153python python/compileall.py ./python
154
155python python/compileall.py ./python/*
156
157exit
158
159cd
160
161wget http://geco.phys.columbia.edu/~rubab/iraf/iraf
162
163sudo chmod u=rwx iraf
164
165mkdir ~/IRAF
166
167cd ~/IRAF
168
169mkiraf
170
171[[Select "xgterm" as your IRAF shell when prompted.]]
172
173-----------------------------------------------------------------------------------------------------------------------------------------------
174
175The command ./iraf will now launch a complete IRAF session containing DS9,
176xgterm and ecl, based in ~/IRAF. Alternately, type "ecl" for enhanced IRAF, "cl"
177for regular IRAF, and "ds9" for standalone DS9 launch. Please note that "tables"
178and "stsdas" can only be used within IRAF.
179
180Repeat the last 5 steps for each user as needed.
181
182= END =
183