Need help with install-tl-ubuntu?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

439 Stars 53 Forks GNU General Public License v2.0 119 Commits 19 Opened issues


Install script for TeX Live on Ubuntu

Services available


Need anything else?

Contributors list

# 200,812
119 commits



sudo ./install-tl-ubuntu [OPTIONS]

Quick download

I recommend using

git clone
but I've learned that many Github users don't have Git. In these cases, you can download directly as follows:
wget && chmod +x ./install-tl-ubuntu


  • installs the latest version of TeX Live (as of writing, TeX Live 2019)
    • automatically finds the fastest repository
    • gives updated progress of the install
    • restarts automatically if install fails
  • tlmgr can then be used to keep your install up-to-date
  • notifies apt so that apt does not try to install the Ubuntu
    packages as dependencies (e.g. if you do
    sudo apt-get install lyx
  • links to the folder where Ubuntu installs TeX files so that when you install Ubuntu packages (e.g. FoilTeX and noweb) with LaTeX files, they will be available
  • adds TeX Live fonts to be used system-wide
  • other font-related conveniences
    • tells AppArmor to allow Evince to access the TeX Live fonts
    • can install TrueType fonts that user provides (--truetype-dir)
    • can install culmus Hebrew fonts (--hebrew)
  • optionally installs additional LaTeX files for common journals that are not included in TeX Live 2016 (--more-tex)
  • works non-interactively and thus can be added to a batch install script
  • tlmgr can be run from the desktop menu (if 'gksu' package is installed)
  • install can be done from an ISO file (--iso)
  • optionally installs TeX Live pretest instead, when it is available (--pretest)

For more details, see

./install-tl-ubuntu --help


This script uses the TeX Live 2016 installer to install TeX Live so that LaTeX packages can be updated through CTAN with tlmgr. To do this, the official TeX Live 2016 installer is downloaded and used and apt is informed that TeX dependencies are satisfied. Thus, when you want to install a program with apt-get that depends on TeX Live, apt will not try to install the TeX Live packages from the Ubuntu repositories.

This script automates many of the instructions that were posted in the 25 Jan 2013 answer by Silex here. TeX Live installation documentation can be found in the Quick install and the The TeX Live Guide. Information on TeX Live's install script arguments is here. The

Net::LWP Perl module
(Ubuntu package
) is recommended, but not necessary. See the "persistent-downloads" section of the install-tl documenation.

Progress and profiling are logged to

. Important errors are logged to
. Annoying
messages are redirected to a file descriptor (which is connected to the file
by default) in case they are useful for debugging.

Ubuntu versions 12.04 and later are supported.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.