Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to use the algorithm, algorithmicx, and caption environment. In the log file I have

Release 2.5 -- March 13 1995 --

and I have compiling errors which other people don't have. So I would like to update the distribution, and the packages. On Linux, how do I do this? From the synaptic package manager I cannot find a suitable listing.

share|improve this question
1  
It would be very helpful if you would tell us which Linux Distribution you are using (The reference to synaptic package points to either Debian or Debian-derived Linux like Ubuntu) and in which version. Also which LaTeX distribution are you using? (Most likely TeXLive, but older Linuxes might still run tetex). –  Martin Scharrer Apr 4 '11 at 15:02
1  
    
I just posted an answer to your question on superuser.com (superuser.com/questions/266426/updating-tex-on-linux) –  Jan Hlavacek Apr 4 '11 at 15:13
add comment

2 Answers

up vote 9 down vote accepted

I strongly recommend installing TeX Live using its own installer and not as Linux package of your Linux distribution.

To do so following the instructions at http://tug.org/texlive/quickinstall.html.

Basically get the latest installer from http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz, unzip it and run the included install-tl script. You can then select the collections/packages you want to install using a ASCII-based GUI. If you don't mind the ~2.8GB HD space I would recommend you to install the full TeX Live to avoid any problems with missing package or fonts in future documents.

You can then update your TeX Live installation using tlmgr update --self --all (normally as root, e.g. via sudo). This is not possible if you use the TeXLive packages from Debian or Ubuntu. They do not ship tlmgr and do not update their packages very often. AFAIK Ubuntu still ships TeX Live 2009.

share|improve this answer
3  
But there are also some downsides to manual installation: it might do things differently and/or not in a way expected by the OS, and you have to remember to periodically run the update command. Also if you tell the OS's package manager to install any package dependent on TeX, the system version of TeX will still be pulled. –  Andrey Vihrov Apr 4 '11 at 15:42
1  
Here can be found an analysis of the pros and cons of each type of installation. –  pmav99 Apr 4 '11 at 15:45
1  
@Andrey: Indeed, stopping the OS from installing its outdated packages is a pain. You can install first all packages from the OS and then install TeXLive manually to avoid most of the pain. –  Martin Scharrer Apr 4 '11 at 15:47
add comment

If you're using Debian or a Debian-based distribution like Ubuntu, then you should check out the additional instructions on http://www.tug.org/texlive/debian.html to manually install TexLive on your system.

Moreover, guidelines are provided on how to setup dummy packages with equivs to inform APT about your manual TeX installation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.