Before install chitex: You need to install some packges. *(Install tetex or texlive. New package of linux contains texlive as default.) (0) For Fedora: Fedora 9-13 include package texlive. If you are in Fedora 9-12, you should first install: 軟體開發 (安裝 Fedora 時 安裝) (或安裝 Fedora 後安裝 gcc 及 dvipdfmx) 及 texlive-2007-30.fc9(i386), texlive-2007-35.fc10(i386), texlive-2007-42.fc11(i386),or texlive-2007-43.fc12(i386)) (texlive 的安裝: (1) Fedora9-10 可在安裝 Fedora 時或之後 安裝 安裝 Fedora 時: 應用程式中選 "編寫與出版" (2) 若為 Fedora 11-12, 安裝 Fedora 之後安裝 用新增/移除軟體, 用 Find 鍵入 "texlive" 然後全選 各項 後 "套用") (3) 若為 Fedora 13-14, 安裝 Fedora 之後安裝 用新增/移除軟體, 用 Find 鍵入 "texlive" 然後 (a) 全選各項 後 "套用") 或 (b) 選;(i) Binaries for the TeX formatting setting... (ii) A Dvi to Postscript converter for ... (iii) Texmf files needed for texlive-afm (vi) Texmf files needed for texliv-latex (v) Texmf files needed for texliv-xetex (vi) TexmfTypesetting engine using unicode with opentype ... 及安裝: cernlib-static 2006-34.fc13 (Fedora 13 要安裝) 其他要安裝的: (a) gcc, xdvi (安裝 Fedora 之後安裝) (b) xdvipdfmx (Fedora9-12,14 安裝 Fedora 之後安裝, Fedora 11,13 不須安裝) (c) 若為 Fedora 11, 要再安裝: kpathsea-devel-2007-42.fc11 (1) Debian: Debian 4.0-5.0 include package texlive-full If you are in Debian 4.0, you should install: gcc, gawk, texlive-full, MATHLIB(libmathlib2-dev) (一定要安裝) dvipdfmx, xdvi and freetype1-tools(for 4.0) If you are in Debian 5.0, you should install: gcc, gawk, texlive-full, MATHLIB(libmathlib2-dev) (一定要安裝) make (一定要安裝) (2) Ubuntu: Ubuntu 8.04-10.10 include package texlive-full If you are in Ubuntu 8.04, you should install: gcc, gawk, texlive-full, MATHLIB(libmathlib2-dev) (一定要安裝) dvipdfmx, xdvi and freetype1-tools If you are in Ubuntu 8.10, you should install: gawk, texlive, MATHLIB(libmathlib2-dev) (一定要安裝) If you are in Ubuntu 9.04-9.10, you should install: gawk, texlive-full, MATHLIB(libmathlib2-dev) (一定要安裝) freetype1-tools (For Ubuntu 9.04) If you are in Ubuntu 10.04: (a) you should install: texlive-full, texlive-omega, MATHLIB(libmathlib2-dev) (一定要安裝) (b) 要安裝 chitex 要以 root 身份來安裝. Ubuntu 10.04 要下指令: sudo passwd root 來設定 root 的密碼. 之後再改變 user 為 root 登入後 才能安裝 chitex (請再參見下面 How to Install) If you are in Ubuntu 10.10: (a) you should install: gawk, texlive-full, MATHLIB(libmathlib2-dev) (一定要安裝) (b) 要安裝 chitex 要以 root 身份來安裝可如: sudo su - (3) FreeBSD: If you are in FreeBSD 7.1 you should install: Developer (安裝系統時選取, 或之後補選取安裝) cjklatex If you are in FreeBSD 7.2 you should install: Developer (安裝系統時選取, 或之後補選取安裝) gawk, cjklatex If you are in FreeBSD 8.0 you should install: Developer teTeX-base, teTeX-texmf, xdvi gawk, Freetype-tool (or cjklatex) If you are in FreeBSD 8.1 you should install: Developer (if it has not gcc ) teTeX-base, teTeX-texmf, dvipdfmx gawk (if it has not gawk) Freetype-tool(or cjklatex) (if it has not ttf2tfm) (4) 自行抓取 texlive 安裝 tex 者, 需重整 path : 在 texlive/2010 (例如) 目錄中: Give command: ./install-tl 之後, 出現 "Enter command:" 後 鍵入 D 如下: Enter command: D 之後出現: <1> TEXDIR: /usr/local/texlive/2010 support tree: /usr/local/texlive/2010/texmf <2> TEXMFLOCAL: /usr/local/texlive/texmf-local <3> TEXMFSYSVAR: /usr/local/texlive/2010/texmf-var <4> TEXMFSYSCONFIG: /usr/local/texlive/2010/texmf-config 鍵入 1 修改 TEXDIR 如下: Enter command: 1 New value for TEXDIR [/usr/local/texlive/2010]: /usr/share 之後, 鍵入 2 修改 TEXMFLOCAL 如下: Enter command: 2 New value for TEXMFLOCAL [/usr/share/texmf-local]: /usr/share/texmf 之後, 鍵入 3 修改 TEXMFSYSVAR 如下: Enter command: 3 New value for TEXMFSYSCONFIG [/usr/share/texmf-var]: /usr/share/texmf 之後, 鍵入 3 修改 TEXMFSYSVAR 如下: Enter command: 4 New value for TEXMFSYSCONFIG [/usr/share/texmf-config]: /usr/share/texmf 之後, 鍵入 R 回 Main Menu 如下: Enter command: R 再鍵入 O 修改 options 如下: Enter command: O 之後, 鍵入 L 修改 binary directory 為 /usr/bin (重要一定要做) 如下: Enter command: L New value for binary directory [/usr/local/bin]: /usr/bin 之後, 鍵入 R 回 Main Menu 如下: Enter command: R 再鍵入 I 已安裝到 hard disk 如下: Enter command: I 完成上面之後, 再依照 unix 的系統為 Fedora, Debian, Ububtu 或 FreeBSD 參見上面 (0) Fedora (1) Debian (2) Ububtu (3) FreeBSD 之說明 看是否需安裝必要的 package Install chitex: In this page (directory), download file "chitexu_15a61.tgz". Give command: zcat chitexu_15a63.tgz|tar xvf - to have a directory "6.1.2p15a63". Then in this directory, give command chmod +x setup and run: ./setup to install chitex. Other site which has package of chitex (unix): ftp://ftp.math.ncu.edu.tw/chitex/unix