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.


3 Answers 3


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 TeX Live 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.

  • 4
    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. Apr 4, 2011 at 15:42
  • 3
    Here can be found an analysis of the pros and cons of each type of installation.
    – pmav99
    Apr 4, 2011 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. Apr 4, 2011 at 15:47

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 TeX Live on your system.

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


If you are on a Ubuntu or Ubuntu derivate machine you can simply add the PPA to your system and install and update TeX Live with your package manager.

sudo add-apt-repository ppa:jonathonf/texlive-2019
sudo apt install texlive

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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