install-tl-unx.tar.gz 파일을 다운로드하여 TexLive를 설치하려고 했습니다.여기추출한 후 sudo perl install-tl
다음을 실행하고 추가하십시오 /etc/profile
.
PATH=/usr/local/texlive/2014/bin/x86_64-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2014/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2014/texmf-dist/doc/info:$INFOPATH; export INFOPATH
이제 비슷한 테스트 명령을 실행할 때마다 latex small2e
정상적으로 작동합니다. 문제는 다음과 같은 프로그램을 설치하려고 할 때마다
sudo apt-get install wxmaxima
또한 "제안" 및 "권장" 패키지를 설치하고 싶습니다. texlive 및 모든 종속 패키지( tex-common
등)를 설치한다고 나와 있습니다.
TeX이 설치되어 있음을 어떻게 인식하게 할 수 있나요?
편집 1:출력 apt-cache showpkg texlive-binaries
:
Package: texlive-binaries
Versions:
2013.20130729.30972-2build3 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages
MD5: db16fecae335f49155c09b3c343347b1
Description Language: en
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
MD5: db16fecae335f49155c09b3c343347b1
Reverse Depends:
okular,texlive-binaries
cantor,texlive-binaries
active-documentviewer,texlive-binaries
zlib1g:i386,texlive-binaries 2009-12
texlive-binaries:i386,texlive-binaries
libkpathsea6:i386,texlive-binaries 2013
ptex-jtex,texlive-binaries 2011.20120410-1
xmltex,texlive-binaries
xdvik-ja,texlive-binaries 2011~
texlive-xetex,texlive-binaries 2013.20130512
texlive-science,texlive-binaries 2013.20130512
texlive-omega,texlive-binaries 2013.20130512
texlive-music,texlive-binaries 2013.20130512
texlive-metapost,texlive-binaries 2013.20130512
texlive-lang-polish,texlive-binaries 2013.20130512
texlive-lang-indic,texlive-binaries 2013.20130512
texlive-lang-greek,texlive-binaries 2013.20130512
texlive-lang-czechslovak,texlive-binaries 2013.20130512
texlive-lang-cyrillic,texlive-binaries 2013
texlive-lang-cyrillic,texlive-binaries 2013.20130512
texlive-lang-cjk,texlive-binaries 2013.20130512
texlive-games,texlive-binaries 2013.20130512
texlive-full,texlive-binaries 2013.20130512
texlive-formats-extra,texlive-binaries 2013.20130512
src2tex,texlive-binaries
pybtex,texlive-binaries 2009-5~
okular,texlive-binaries
ocamlweb,texlive-binaries
musixtex,texlive-binaries
multex-base,texlive-binaries
mc,texlive-binaries
liblatex-driver-perl,texlive-binaries
jtex-base,texlive-binaries
jlatex209-base,texlive-binaries
dvipsk-ja,texlive-binaries
cxref-doc,texlive-binaries
cxref,texlive-binaries
context,texlive-binaries
caspar,texlive-binaries
cantor,texlive-binaries
active-documentviewer,texlive-binaries
zlib1g,texlive-binaries 2009-12
texlive-pstricks,texlive-binaries 2013.20130512
texlive-pictures,texlive-binaries 2013.20130512
texlive-math-extra,texlive-binaries 2013.20130512
texlive-luatex,texlive-binaries 2013.20130512
texlive-latex-recommended,texlive-binaries 2013.20130512
texlive-latex-extra,texlive-binaries 2013.20130512
texlive-latex-base,texlive-binaries 2013.20130512
texlive-font-utils,texlive-binaries 2013
texlive-font-utils,texlive-binaries 2013.20130512
texlive-extra-utils,texlive-binaries 2013.20130512
texlive-bibtex-extra,texlive-binaries 2013.20130512
texlive-base,texlive-binaries 2013
texlive-base,texlive-binaries 2013.20130512
texlive-base,texlive-binaries 2013.20130512
libkpathsea6,texlive-binaries 2013
okular,texlive-binaries
cantor,texlive-binaries
active-documentviewer,texlive-binaries
Dependencies:
2013.20130729.30972-2build3 - libc6 (2 2.14) libcairo2 (2 1.12) libfontconfig1 (2 2.9.0) libfreetype6 (2 2.3.9) libgcc1 (2 1:4.1.1) libgraphite2-3 (2 1.2.2) libgs9 (2 8.61.dfsg.1) libharfbuzz0b (2 0.9.18-3) libicu52 (2 52~m1-1~) libkpathsea6 (0 (null)) libpng12-0 (2 1.2.13-4) libpoppler44 (2 0.24.5) libptexenc1 (0 (null)) libstdc++6 (2 4.6) libx11-6 (0 (null)) libxaw7 (0 (null)) libxmu6 (0 (null)) libxpm4 (0 (null)) libxt6 (0 (null)) zlib1g (2 1:1.1.4) tex-common (2 3) perl (0 (null)) dpkg (18 1.15.4) install-info (0 (null)) texlive-base (0 (null)) luatex (0 (null)) python (0 (null)) ruby (0 (null)) wish (0 (null)) jmpost (0 (null)) jmpost:i386 (0 (null)) makejvf (0 (null)) makejvf:i386 (0 (null)) mendexk (0 (null)) mendexk:i386 (0 (null)) jtex-bin (0 (null)) jtex-bin:i386 (0 (null)) multex-bin (0 (null)) multex-bin:i386 (0 (null)) texlive-base (3 2013) texlive-base:i386 (3 2013) jmpost (0 (null)) jmpost:i386 (0 (null)) mendexk (0 (null)) mendexk:i386 (0 (null)) ptex-bin (0 (null)) ptex-bin:i386 (0 (null)) texlive-base (3 2010) texlive-base:i386 (3 2010) texlive-metapost (3 2010) texlive-metapost:i386 (3 2010) texlive-binaries:i386 (0 (null))
Provides:
2013.20130729.30972-2build3 - texlive-base-bin mendexk makejvf jmpost
Reverse Provides:
texlive-local 2015-1
출력 apt-cache showpkg texlive-local
:
Package: texlive-local
Versions:
2015-1 (/var/lib/dpkg/status)
Description Language:
File: /var/lib/dpkg/status
MD5: e297a3a40b6f90f4b600b4e10741a4b7
Reverse Depends:
Dependencies:
2015-1 -
Provides:
2015-1 - xmltex xindy-rules xindy tipa-doc tipa thailatex texlive-xetex texlive-science-doc texlive-science texlive-publishers-doc texlive-publishers texlive-pstricks-doc texlive-pstricks texlive-plain-extra texlive-pictures-doc texlive-pictures texlive-omega texlive-music texlive-metapost-doc texlive-metapost texlive-math-extra texlive-luatex texlive-latex-recommended-doc texlive-latex-recommended texlive-latex-extra-doc texlive-latex-extra texlive-latex-base-doc texlive-latex-base texlive-lang-spanish texlive-lang-portuguese texlive-lang-polish texlive-lang-other texlive-lang-korean texlive-lang-japanese texlive-lang-italian texlive-lang-indic texlive-lang-greek texlive-lang-german texlive-lang-french texlive-lang-european texlive-lang-english texlive-lang-czechslovak texlive-lang-cyrillic texlive-lang-cjk texlive-lang-chinese texlive-lang-arabic texlive-lang-all texlive-lang-african texlive-humanities-doc texlive-humanities texlive-generic-recommended texlive-generic-extra texlive-games texlive-formats-extra texlive-fonts-recommended-doc texlive-fonts-recommended texlive-fonts-extra-doc texlive-fonts-extra texlive-font-utils texlive-extra-utils texlive-common texlive-binaries texlive-bibtex-extra texlive-base texlive tex4ht-common tex4ht tex-gyre t1utils purifyeps psutils ps2eps prosper preview-latex-style pgf passivetex musixtex luatex lmodern lcdf-typetools latexmk latexdiff latex-xcolor latex-sanskrit latex-cjk-thai latex-cjk-korean latex-cjk-japanese-wadalab latex-cjk-japanese latex-cjk-common latex-cjk-chinese-arphic-gkai00mp latex-cjk-chinese-arphic-gbsn00lp latex-cjk-chinese-arphic-bsmi00lp latex-cjk-chinese-arphic-bkai00mp latex-cjk-chinese latex-cjk-all latex-beamer lacheck jadetex fragmaster feynmf dvipng dvidvi context cm-super-minimal cm-super chktex biblatex-dw biblatex
Reverse Provides:
편집 2:출력 sudo apt-get install wxmaxima gnuplot-doc texmacs xmaxima maxima-emacs wish maxima-share ttf-jsmath
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'tk' instead of 'wish'
The following extra packages will be installed:
aglfn emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg
emacsen-common fonts-jsmath gnuplot-x11 groff guile-1.8-libs libm17n-0
libotf0 libptexenc1 libtcl8.6 libtk8.6 libwxbase2.8-0 libwxbase3.0-0
libwxgtk2.8-0 libwxgtk3.0-0 m17n-contrib m17n-db maxima maxima-doc
maxima-src maxima-test tcl tcl8.6 texlive-binaries texmacs-common tk8.6
Suggested packages:
emacs24-el m17n-docs wish tcl-tclreadline
Recommended packages:
netpbm ruby libjpeg-progs libjpeg-mmx-progs libtiff-tools ispell
librsvg2-bin xfig libgnomeprintui2.2-0
The following NEW packages will be installed:
aglfn emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg
emacsen-common fonts-jsmath gnuplot-doc gnuplot-x11 groff guile-1.8-libs
libm17n-0 libotf0 libptexenc1 libtcl8.6 libtk8.6 libwxbase2.8-0
libwxbase3.0-0 libwxgtk2.8-0 libwxgtk3.0-0 m17n-contrib m17n-db maxima
maxima-doc maxima-emacs maxima-share maxima-src maxima-test tcl tcl8.6
texlive-binaries texmacs texmacs-common tk tk8.6 ttf-jsmath wxmaxima xmaxima
0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
Need to get 78.5 MB of archives.
After this operation, 307 MB of additional disk space will be used.
Do you want to continue? [Y/n]
답변1
배포판에는 TeX Live 패키지가 있으므로 사용할 수 있습니다.
sudo apt-get install texlive
하기 싫으시면 보세요https://www.tug.org/texlive/debian.html, 특히 "Debian과 바닐라 TeX Live 통합" 섹션을 참조하세요.
문제는 TeX Live를 로컬에 설치했기 때문에 데비안 패키지 시스템을 사용하여 TeX를 설치하지 않았기 때문에 데비안 패키지 관리 시스템이 TeX가 설치되어 있다는 것을 모른다는 것입니다.
이 문제를 해결하기 위한 기본 아이디어는 Debian Equals 시스템을 사용하여 가상 TeX Live Debian 패키지(즉, 실제 소프트웨어 내용이 없는 패키지)를 만들어 패키지 관리 시스템이 필요한 Debian TeX 패키지가 설치되도록 하는 것입니다. 즉, 이러한 가상 패키지는 로컬에 설치된 TeX Live 소프트웨어의 프록시 역할을 합니다. 여기에 사용된 특정 유형의 가상 패키지는 다음과 같습니다.가상 패키지. 관련 부분은 아래에 전문으로 인용되어 있습니다.
Debian 패키지를 대체하기 위해 바닐라 TeX Live를 설치하려면 다음 단계를 따르세요.
시스템 전체에 바닐라 TeX Live를 루트로 설치합니다. 설치된 유일한 Debian TeX Live 패키지가 tex-common, texinfo 및 lmodern인지 확인하십시오. TeX Live의 bin 디렉토리를 /etc/login.defs의 ENV_PATH에 추가하십시오. Equivs를 사용하여 가상 패키지를 구축하여 TeX Live 설치에 대해 APT에 알립니다.
$ aptitude install equivs # as root mkdir /tmp/tl-equivs && cd /tmp/tl-equivs equivs-control texlive-local # edit texlive-local (see below) $ equivs-build texlive-local $ sudo dpkg -i texlive-local_2015-1_all.deb
"Edit texlive-local" 단계에서 필요에 따라 로컬 TeX Live 설치에서 제공하는 관리자 필드와 패키지 목록을 편집합니다. 권장대로 스키마 전체(collection-texinfo 제외)를 설치한 경우 파일은 TL 2015에 대한 다음 샘플 파일과 유사해야 합니다. 이전 버전의 경우 TL 2014의 경우, TL 2013의 경우, TL 2011의 경우 샘플 파일 중 하나를 사용하십시오.