"리눅스 TeX Live 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(사용자 2명의 중간 판 29개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{테스트|CentOS release 5.7 (Final)}}
{{테스트|TeX Live 2012 + CentOS 5.7}}
 
*TeX Live, texlive 2011
[[File:Logo TeX Live.svg|150px]]
[[File:Logo TeX Live.svg|150px]]


==설치 실패==
==설치 실패==
CentOS release 5.7 (Final)를 설치하였는데 yum repository에 texlive 패키지가 없다. apt-get은 아예 없다...
Ubuntu 10.04의 경우에는 texlive 2009 패키지가 포함되어 있어서 apt-get으로 간단히 설치된다고 한다.<ref>http://ktug.kldp.net/jsboard/read.php?table=contrib&no=5299</ref>
<source lang='dos'>
CentOS release 5.7 (Final)yum repository에 texlive 패키지가 없다. apt-get은 아예 없다...
[root@localhost ~]# yum info texlive
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum info texlive
Loaded plugins: fastestmirror
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
14번째 줄: 13번째 줄:
  * updates: rsync.atworks.co.jp
  * updates: rsync.atworks.co.jp
Error: No matching Packages to list
Error: No matching Packages to list
</source>
</syntaxhighlight>
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@localhost ~]# apt-get install texlive
[root@zetawiki ~]# apt-get install texlive
bash: apt-get: command not found
bash: apt-get: command not found
</source>
</syntaxhighlight>
한편 Ubuntu 10.04의 경우에는 texlive 2009 패키지가 포함되어 있어서 apt-get으로 간단히 설치된다고 한다.<ref>http://ktug.kldp.net/jsboard/read.php?table=contrib&no=5299</ref>


==다운로드 및 설치==
==다운로드 및 설치==
*이 문단은 http://www.tug.org/texlive/quickinstall.html 를 참고하여 작성되었다.
설치본 압축파일을 다운로드 받는다.
 
<syntaxhighlight lang='console'>
===명령어===
[root@zetawiki ~]# wget http://ftp.kaist.ac.kr/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz
<source lang='bash'>
--2013-04-03 22:50:35--  http://ftp.kaist.ac.kr/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
Resolving ftp.kaist.ac.kr... 143.248.234.110
tar xvfz install-tl-unx.tar.gz
Connecting to ftp.kaist.ac.kr|143.248.234.110|:80... connected.
./install-tl-20120211/install-tl
</source>
 
===실행예시===
<source lang='dos'>
[root@localhost ~]# wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
--2012-02-12 05:27:27--  http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
...(생략)
--2012-02-12 05:27:29--  http://ftp.kaist.ac.kr/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz
Reusing existing connection to ftp.kaist.ac.kr:80.
HTTP request sent, awaiting response... 200 OK
HTTP request sent, awaiting response... 200 OK
Length: 2576153 (2.5M) [text/plain]
Length: 2533625 (2.4M) [text/plain]
Saving to: `install-tl-unx.tar.gz'
Saving to: `install-tl-unx.tar.gz'


100%[========================================================================================>] 2,576,153    619K/s  in 4.1s    
100%[================================================>] 2,533,625  12.4M/s  in 0.2s    


2012-02-12 05:27:33 (619 KB/s) - `install-tl-unx.tar.gz' saved [2576153/2576153]
2013-04-03 22:50:35 (12.4 MB/s) - `install-tl-unx.tar.gz' saved [2533625/2533625]
</source>
</syntaxhighlight>
<source lang='dos'>
[root@localhost ~]# tar xvfz install-tl-unx.tar.gz
install-tl-20120211/
...(생략)
</source>
<source lang='dos'>
[root@localhost ~]# ./install-tl-20120211/install-tl
Loading http://ftp.ktug.or.kr/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2011 from: http://ftp.ktug.or.kr/tex-archive/systems/texlive/tlnet
Platform: x86_64-linux => 'x86_64 with GNU/Linux'
Distribution: net  (downloading)
...(생략)


압축을 해제한다.
<syntaxhighlight 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>
<syntaxhighlight 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:
Actions:
  <I> start installation to hard disk
  <I> start installation to hard disk
64번째 줄: 55번째 줄:
  <Q> quit
  <Q> quit


Enter command:  
Enter command:
</source>
</syntaxhighlight>
*i 엔터키를 눌러 설치를 시작하자.
:→ i {{Enter}}를 눌러 설치를 시작하자.
<source lang='dos'>
<syntaxhighlight lang='console'>
Enter command: i
Enter command: i
Installing to: /usr/local/texlive/2011
Installing [0001/2636, time/total: ??:??/??:??]: 12many [376k]
Installing [0001/2410, time/total: ??:??/??:??]: 12many [376k]
Installing [0002/2636, time/total: 00:00/00:00]: 2up [66k]
Installing [0002/2410, time/total: 00:02/02:04:18]: 2up [66k]
Installing [0003/2636, time/total: 00:00/00:00]: Asana-Math [458k]
Installing [0003/2410, time/total: 00:03/02:38:51]: ANUfinalexam [3k]
... (생략)
...(생략)
Installing [2410/2410, time/total: 43:13/43:14]: zwpagelayout [583k]
Time used for installing the packages: 43:14
running mktexlsr /usr/local/texlive/2011/texmf-dist /usr/local/texlive/2011/texmf...
mktexlsr: Updating /usr/local/texlive/2011/texmf/ls-R...
...(생략)
  Welcome to TeX Live!
  Welcome to TeX Live!
Logfile: /usr/local/texlive/2012/install-tl.log
</syntaxhighlight>


Logfile: /usr/local/texlive/2011/install-tl.log
==설치 확인==
</source>
주로 쓰는 명령어인 latex(pdftext), dvips는 /usr/local/texlive/2011/bin/x86_64-linux 에 있다.
<syntaxhighlight 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>
<syntaxhighlight 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>


</source>
==같이 보기==
*[[ImageMagick 설치하기]] (/usr/bin/convert 포함)
*[[윈도우 TeXLive 설치]]
*[[TeXLive 한글 출력]]
*[[TeX]]


==주석==
==참고==
<references/>
*http://www.tug.org/texlive/quickinstall.html


[[분류:리눅스]]
[[분류:리눅스]]
[[분류:TeX]]
[[분류:TeX Live]]
[[분류:설치]]
[[분류: /usr/local/texlive]]

2020년 11월 2일 (월) 00:56 기준 최신판

Logo TeX Live.svg

1 설치 실패[ | ]

Ubuntu 10.04의 경우에는 texlive 2009 패키지가 포함되어 있어서 apt-get으로 간단히 설치된다고 한다.[1] CentOS release 5.7 (Final)의 yum repository에 texlive 패키지가 없다. apt-get은 아예 없다...

[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
[root@zetawiki ~]# apt-get install texlive
bash: apt-get: command not found

2 다운로드 및 설치[ | ]

설치본 압축파일을 다운로드 받는다.

[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]

압축을 해제한다.

[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
[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:
 <I> start installation to hard disk
 <H> help
 <Q> quit

Enter command:
→ i Enter를 눌러 설치를 시작하자.
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

3 설치 확인[ | ]

주로 쓰는 명령어인 latex(pdftext), dvips는 /usr/local/texlive/2011/bin/x86_64-linux 에 있다.

[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
[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)

4 같이 보기[ | ]

5 참고[ | ]

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