use*_*001 8 package-management latex repository
我正在搜索特定的 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
Run Code Online (Sandbox Code Playgroud)
我正在搜索的特定 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
Run Code Online (Sandbox Code Playgroud)
我明白了texlive-latex3: /usr/share/texmf-texlive/tex/latex/mh/breqn.sty,所以...
sudo apt-get install texlive-latex3
Run Code Online (Sandbox Code Playgroud)
另见http://www.debuntu.org/how-to-find-missing-packages-with-apt-file
| 归档时间: |
|
| 查看次数: |
2816 次 |
| 最近记录: |