I'm new to LaTeX. I'm trying to use the package moderncv
, but have trouble compiling. I get an error about missing etoolbox.sty
, and from what I can read, I need to install a package texlive-latex-extra
. So I try to install that with tlmgr
but get the following error.
velle@velle-s200e:~/Downloads/moderncv/examples$ tlmgr install texlive-latex-extra
(running on Debian, switching to user mode!)
tlmgr: package repository http://ftp.snt.utwente.nl/pub/software/tex/systems/texlive/tlnet
package texlive-latex-extra not present in package repository.
I installed texlive with Ubuntu apt-get
.
Should it not be in the repository, and if not, why?
What do I do from here on?
Best Answer
For Debian/Ubuntu there are two options to install TeX Live, with slightly different naming:
Debian's packages: these are perfectly integrated into the Debian environment, preserve configurations over updates, automatically activate fonts and hyphenation patterns and formats, depending on the set of installed packages, and provide the correct dependencies for other packages. You can install them with
apt-get
oraptitude
. Management of the packages is not done withtlmgr
but withapt-get
(for installation) and some configuration files in/etc/texmf
.Naming of the packages is slighlty different in Debian, but can be deduced from the TeX Live collection names by replacing
collection
withtexlive
and adding some separating-
between different words.As example:
collection-fontsextra
becomestexlive-fonts-extra
, andcollection-langkorean
becomestexlive-lang-korean
and so on.original TeX Live: these have all the above properties, can be installed by normal users without
root
access, and are managed bytlmgr
. Furthermore, they do not satisfy dependency requirements from other packages (but this can be achieved usingequivs
).So in your case you should ask your admin to install
texlive-latex-extra
, or if you havesudo
access, runsudo apt-get install texlive-latex-extra
.