EDRSPIHCRSSRSS

Linux Install2014

last modified: 2015-06-19 08:15:13 Contributors

:
KTUG 홈페이지 메뉴에서 연결된 Linux Install 페이지를 업데이트하고 원래 있던 내용을 이곳으로 옮김
2013년 11월 이후 TeXLive 2013에 한글 텍을 사용하기 위한 kotex 패키지들이 포함되었습니다. ktug 저장소를 등록하거나 하는 것은 필요없습니다.

TeXLive 설치하기

네트워크 설치

  1. http://tug.org/texlive/acquire-netinstall.html 에서 install-tl-unx.tar.gz 를 다운로드
  2. 터미널에서 다음 명령을 실행
    1. $ tar xvfz install-tl-unx.tar.gz
    2. $ cd install-tl-날짜
    3. $ sudo ./install-tl
    4. 설치 옵션 대화상자에서 설정을 변경할 수 있다. scheme에 대해서는 아래와 같은 선택사항이 있다. full-scheme으로 설치한 경우에만 koTeX이 함께 설치된다.
 a [X] full scheme (everything)
 b [ ] medium scheme (small + more packages and languages)
 c [ ] small scheme (basic + xetex, metapost, a few languages)
 d [ ] basic scheme (plain and latex)
 e [ ] minimal scheme (plain only)
 f [ ] ConTeXt scheme
 g [ ] GUST TeX Live scheme
 h [ ] teTeX scheme (more than medium, but nowhere near full)
 i [ ] XML scheme
 j [ ] custom selection of collections

TeXLive 설정

  1. 심볼릭 링크
    $ sudo ln -s /usr/local/texlive/2014/bin/아키텍쳐이름/ /usr/texbin
    
  2. 홈디렉토리/.bash_profile에 다음을 추가
    PATH=/usr/texbin:$PATH
    MANPATH=/usr/local/texlive/2014/texmf-dist/doc/man:$MANPATH
    INFOPATH=/usr/local/texlive/2014/texmf-dist/doc/info:$INFOPATH
    
  3. 추가한 내용을 적용하기 위해 다음 명령 실행
    $ source ~/.bash_profile
    
  4. sudo tlmgr 명령시 command not found라고 나오면 다음 명령을 실행
    $ sudo env PATH="$PATH" tlmgr path add
    
  5. 잘 되는지 확인하기 위해 아래 명령을 실행한다.
    $ sudo tlmgr update --all --self
    



한글 환경

scheme-full로 설치한 경우

  • 바로 한글 문서를 작성할 수 있다.
    \usepackage{kotex}
    

scheme-full로 설치하지 않은 경우

  • ko.TeX 관련 패키지를 설치한다.
    $ sudo tlmgr install nanumtype1 cjk cjk-ko uhc kotex-utf kotex-plain kotex-oblivoir kotex-utils
    
  • TeX Live 2014 이후, 위의 명령은 다음과 동일하다.
    $ sudo tlmgr install collection-langkorean
    


기타