태그 보관물: repository

repository

내용으로 패키지 리포지토리 검색 – TeX Live:

특정 LaTeX 입력 파일을 찾고 있는데 저장소에서 찾을 수 없습니다.

다음 명령 (LaTeX 입력 파일 검색 amsmath.sty)이 성공 했기 때문에 내용으로 저장소를 검색 할 수 있다고 확신합니다 .

# apt-cache search amsmath
texlive-latex-base - TeX Live: Basic LaTeX packages
texlive-doc-it - TeX Live: Italian documentation
texlive-latex-extra - TeX Live: LaTeX supplementary packages
texlive-math-extra - TeX Live: Advanced math typesetting

검색중인 특정 TeX 입력 파일은 결과 ( apt-cache search breqn) 를 반환하지 않습니다 . breqn.sty저장소의 패키지에없는 것으로 가정 하여 다른 수단 (예 : CTAN)을 통해 검색 할 수 있습니까? 아니면 패키지 내용을 검색하는 다른 방법이 있습니까?



답변

apt-file을 사용하여 패키지 내의 파일을 검색 할 수 있습니다

sudo apt-get install apt-file

# Update database
sudo apt-file update

# Search for files
apt-file search foo

# or in your case
apt-file search breqn.sty

나는 texlive-latex3: /usr/share/texmf-texlive/tex/latex/mh/breqn.sty, 그래서 …

sudo apt-get install texlive-latex3

참조 http://www.debuntu.org/how-to-find-missing-packages-with-apt-file


답변

찾고 있습니다 texlive-latex3. apt-file 을 설치 apt 파일 설치하고 다음과 같이 사용하여 이것을 알았 습니다.

apt-file update
apt-file search breqn.sty
texlive-latex3: /usr/share/texmf-texlive/tex/latex/mh/breqn.sty

패키지 이름과 파일을 제공합니다.


답변