Upgrade from TeX Live 2014 to 2015

By default, please get the new TL by doing a new installation instead of proceeding here.

That is, you should have a specific reason to do an upgrade (instead of a new install), and you should be familiar with Unix and TeX Live. If you have any doubts whatsoever, please do a new installation.

We do not provide a dedicated upgrade script. The procedure here is not bullet-proof, or recommended; consider it provided as-is, to be used at your own risk, if you want to do so, for reasons of your own. It's your responsibility to understand what is being done, etc. Failing any of that, please do a new installation.

These instructions say nothing about what is done as root or as a normal user; that's because TeX Live installations are done both ways (root is not required for anything in TL itself), and we can't know which you chose. You need to know. If you don't, do a new installation.

Unix

  1. Find the parent directory of the current installation; it's /usr/local/texlive by default.

  2. Copy the whole directory 2014 to 2015, preserving symbolic links; for example:
    cp -a 2014 2015
    If you don't understand this, stop here and do a regular installation.

  3. To save some space, you can exclude tlpkg/backups/* or remove them from the 2015/ directory afterwards. (Theoretically, you could rename 2014 to 2015, but we strongly advise against this, since you may lose your existing installation with no good way back.)

  4. If you installed symlinks in system directories (via the installer option or tlmgr path add), remove them now with tlmgr path remove.

  5. As needed, adjust your PATH in your startup files to point to .../2015/bin/platform instead of .../2014/....

  6. Log out and log in, and confirm that your PATH now has the 2015 directory. This is crucial. Your PATH must use the new location.

  7. cd to your top-level .../2015 directory.

  8. Download the latest update-tlmgr-latest.sh and run it like this:
    sh update-tlmgr-latest.sh -- --upgrade
    (The extra options try to prevent the upgrade from happening unintentionally.)

  9. If you don't want to use the default repository (that is, the automatic CTAN redirection) for downloading the new files, run as usual:
    tlmgr option repository yourrepo

  10. Run (with patience, it will be downloading all the new material):
    tlmgr update --self --all

  11. If you want symlinks in system directories (not recommended), run tlmgr path add.

  12. When you are happy with how the new TL is working, if you wish you can remove the old installation by running .../2014/.../tlmgr uninstall (full tlmgr doc). Not recommended, since you might always find a document that doesn't work with the new version, just at the wrong time …

Good luck, and to reiterate from the top, don't do any of this if it doesn't make sense to you. Just do a fresh installation.

Windows

There is no comparable upgrade procedure for Windows. Doing a normal new installation is necessary.


$Date: 2015/06/11 17:37:13 $; TeX Live;