리눅스 TeX Live 설치

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 00:43 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>))

Logo TeX Live.svg

1 설치 실패

Ubuntu 10.04의 경우에는 texlive 2009 패키지가 포함되어 있어서 apt-get으로 간단히 설치된다고 한다.[1] CentOS release 5.7 (Final)의 yum repository에 texlive 패키지가 없다. apt-get은 아예 없다... <source lang='console'> [root@zetawiki ~]# yum info texlive Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

* base: rsync.atworks.co.jp
* extras: rsync.atworks.co.jp
* updates: rsync.atworks.co.jp

Error: No matching Packages to list </syntaxhighlight> <source lang='console'> [root@zetawiki ~]# apt-get install texlive bash: apt-get: command not found </syntaxhighlight>

2 다운로드 및 설치

설치본 압축파일을 다운로드 받는다. <source lang='console'> [root@zetawiki ~]# wget http://ftp.kaist.ac.kr/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz --2013-04-03 22:50:35-- http://ftp.kaist.ac.kr/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz Resolving ftp.kaist.ac.kr... 143.248.234.110 Connecting to ftp.kaist.ac.kr|143.248.234.110|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2533625 (2.4M) [text/plain] Saving to: `install-tl-unx.tar.gz'

100%[================================================>] 2,533,625 12.4M/s in 0.2s

2013-04-03 22:50:35 (12.4 MB/s) - `install-tl-unx.tar.gz' saved [2533625/2533625] </syntaxhighlight>

압축을 해제한다. <source lang='console'> [root@zetawiki ~]# tar xfvz install-tl-unx.tar.gz install-tl-20130402/ install-tl-20130402/readme-txt.dir/ install-tl-20130402/readme-txt.dir/README.RU-cp1251 ... (생략) install-tl-20130402/readme-html.dir/readme.ru.html install-tl-20130402/readme-html.dir/readme.de.html </syntaxhighlight> <source lang='console'> [root@zetawiki ~]# ./install-tl-20130402/install-tl Loading http://ftp.kaist.ac.kr/pub/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb Installing TeX Live 2012 from: http://ftp.kaist.ac.kr/pub/tex-archive/systems/texlive/tlnet ... (생략) Actions:

 start installation to hard disk
<H> help
 quit

Enter command: </syntaxhighlight>

→ i Enter를 눌러 설치를 시작하자.

<source lang='console'> Enter command: i Installing [0001/2636, time/total: ??:??/??:??]: 12many [376k] Installing [0002/2636, time/total: 00:00/00:00]: 2up [66k] Installing [0003/2636, time/total: 00:00/00:00]: Asana-Math [458k] ... (생략)

Welcome to TeX Live!

Logfile: /usr/local/texlive/2012/install-tl.log </syntaxhighlight>

3 설치 확인

주로 쓰는 명령어인 latex(pdftext), dvips는 /usr/local/texlive/2011/bin/x86_64-linux 에 있다. <source lang='console'> [root@zetawiki ~]# /usr/local/texlive/2012/bin/x86_64-linux/latex -v pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012) kpathsea version 6.1.0 ... (생략) Compiled with zlib 1.2.7; using zlib 1.2.7 Compiled with xpdf version 3.03 </syntaxhighlight> <source lang='console'> [root@zetawiki ~]# /usr/local/texlive/2012/bin/x86_64-linux/dvips -v This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com) </syntaxhighlight>

4 같이 보기

5 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}