最終更新 : Oct 7, 2011.
FreeBSD 8.0-RELEASE (amd64) + IRAF 2.14.1 FreeBSD版
as.pcix.gen.gz, ib.fbsd.x86.gz, nb.fbsd.x86.gz を /tmp/ にダウンロード
% su # adduser Username: iraf Full name: IRAF administrator Uid (Leave empty for default): Login group [iraf2]: users Login group is users. Invite iraf2 into other groups? []: Login class [default]: Shell (sh csh tcsh bash rbash zsh rzsh nologin) [sh]: tcsh Home directory [/home/iraf2]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: Enter password again: Lock out the account after creation? [no]: Username : iraf Password : ***** Full Name : IRAF administrator Uid : 9999 Class : Groups : users Home : /home/iraf Home Mode : Shell : /bin/tcsh Locked : no OK? (yes/no): yes adduser: INFO: Successfully added (iraf2) to the user database. # vipw (user irafのホームディレクトリを /iraf/iraf/unix/hlib/local に変更) # cat /etc/passwd | grep iraf iraf:*:50001:200:IRAF administer:/iraf/iraf/unix/hlib/local:/bin/tcsh
% su # mkdir /usr/local/iraf # chmod iraf:users /usr/local/iraf # irafディレクトリの所有者をirafに。 # ln -s /usr/local/iraf /iraf
csh系を使用
% tcsh
% su iraf % mkdir /iraf/iraf % setenv iraf /iraf/iraf/ % cd $iraf % tar xvfz /tmp/as.pcix.gen.gz % cd /iraf/ % mkdir irafbin % mkdir irafbin/bin.freebsd % mkdir irafbin/noao.bin.freebsd/ % cd $iraf/bin.freebsd/ % tar xvfz /tmp/ib.fbsd.x86.gz % cd $iraf/noao/bin.freebsd/ % tar xvfz /tmp/nb.fbsd.x86.gz % cd $iraf/unix/hlib % source irafuser.csh % ./install -n
% su # cd /tmp/ # mkfifo imt1o # mkfifo imt1i # cd /dev # ln -s /tmp/imt1o . # ln -s /tmp/imt1i .
# cd $iraf/unix/hlib/ # ./install以上