I use LaTeX on a computer running Ubuntu Linux 14. To install the extension 'standalone', I can do
apt-get
I could determine that 'standalone' extension is included in the 'texlive-latex-extra' package by
apt-file search standalone.sty
texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/standalone/standalone.sty
and then
sudo apt-get install texlive-latext-extra
Or
- Use
tlmgr
Install the package using tlmgr:
tlmgr update --self --all
tlmgr install standalone
Is one method preferred than the other?
aptif you use your distro's package manager. Usetlmgronly if you really have to and understand the consequences. Vanilla is more straightforward, in my opinion, and a lot less trouble. – cfr Sep 14 '15 at 21:23tlmgrunder a TeX distribution provided by Debian will just install packages for the user and not system-wide. – egreg Sep 14 '15 at 21:40tlmgrin some recent Debian-like distro but then I did not mind because I was focused in removingtexlive*.debto install the vanilla version. But now I'm curious: Only 3 years ago Norbert Preining (maintlmgrdeveloper) whas reluctant to the idea of have two package managers (apt and tlmgr) working together. What has changed since then? – Fran Sep 15 '15 at 09:23tlmgris installed now by Debian packages. – Fran Sep 15 '15 at 18:24/usr/bin/tlmgrintexlive-basepackage in Debian stretch and Linux Mint 17.2 (Rafaela). Shorcut without install .deb packages:sudo apt-file list texlive-base | grep tlmgr– Fran Sep 15 '15 at 18:59