显然我正在使用Tex Live作为我的LaTeX发行版。
我想使用这个指南来安装额外的软件包。
他们说:
但是当我尝试的时候:
我明白。
我似乎也没有一个`~/texmf`文件夹,只有一个`~/.texmf-var`文件夹。是我的安装损坏了还是我做错了什么?
文件夹。
martin@martin-XPS-8300:~$ pdflatex -v
pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) kpathsea version
6.1.0 Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and the Lesser GNU
General Public License. For more information about these matters, see
the file named COPYING and the pdfTeX source. Primary author of
pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled
with libpng 1.2.49; using libpng 1.2.49 Compiled with zlib 1.2.7;
using zlib 1.2.7 Compiled with poppler version 0.20.5
我想使用这个指南来安装额外的软件包。
他们说:
如果手动安装了TeX Live,可以使用tlmgr来单独管理软件包。
tlmgr install <package1> <package2> ...
tlmgr remove <package1> <package2> ...
但是当我尝试的时候:
tlmgr install algorithm2e
我明白。
tlmgr: command not found
我似乎也没有一个`~/texmf`文件夹,只有一个`~/.texmf-var`文件夹。是我的安装损坏了还是我做错了什么?
/usr/local/share/texmf
编辑2:
指令:
apt-cache policy texlive
结果为:
texlive:
Installed: 2012.20120611-5
Candidate: 2012.20120611-5
Version table:
*** 2012.20120611-5 0
500 http://jp.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status
文件夹。
apt-cache policy texlive
的输出是什么? - Braiam/usr/local/share/texmf
目录下,应该也能行。然后运行sudo texhash
命令。 - Minos~/texmf/tex/latex/commonstuff
目录下,它就可以工作了。甚至不需要运行texhash
。 - Martin Drozdik