TeX Live and MacTeXEasy Installation of TeX Live on Ubuntu

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Easy Installation of TeX Live on Ubuntu

Post by scottkosty »

The program "install-tl-ubuntu" is meant to ease the installation of TeX Live on Ubuntu versions 12.04 and later. To use it, simply run this on the terminal.

Code: Select all

sudo ./install-tl-ubuntu
It provides the following features:
  • installs TeX Live
  • notifies apt so that apt does not try to install the Ubuntu texlive-* packages as dependencies (e.g. if you do sudo apt-get install lyx)
  • installs (optionally) additional LaTeX files for common journals that are not included in TeX Live
  • 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
It can be downloaded from here: https://github.com/scottkosty/install-tl-ubuntu

Any comments and suggestions are welcome.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Leo Burckhardt
Posts: 2
Joined: Thu Sep 05, 2013 6:23 pm

Re: Easy Installation of TeX Live 2013 on Ubuntu

Post by Leo Burckhardt »

Hi when I try to install Texlive through this way, I receive the answer "install-tl-ubuntu: command not found" in my terminal.

But I can't install texlive with an ISO image or though the online server neither... Any idea of what could be the problem ?

I have ubuntu 12.04 (64 bits)
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Easy Installation of TeX Live on Ubuntu

Post by Johannes_B »

Did you really follow the instructions above? Download the zip, change in the folder containing the zip (Downloads?), unzip and cd into install-tl-ubuntu-master and type:

Code: Select all

sudo ./install-tl-ubuntu
This should work


Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Leo Burckhardt
Posts: 2
Joined: Thu Sep 05, 2013 6:23 pm

Re: Easy Installation of TeX Live 2013 on Ubuntu

Post by Leo Burckhardt »

Thank you very much for the answer, It worked indeed !
juanuni
Posts: 3
Joined: Thu Oct 03, 2013 7:03 pm

Easy Installation of TeX Live on Ubuntu

Post by juanuni »

Hi, I have a problem. When I do the instructions appears:

Code: Select all

install-tl-ubuntu: no repository was specified so     using the following:
 http://mirror.utexas.edu/ctan/systems/texlive/tlnet
install-tl-ubuntu: running apt and dpkg commands...
install-tl-ubuntu: downloading and extracting install-tl for time number 1...
install-tl-ubuntu: install-tl downloaded and extracted successfully.
./install-tl-ubuntu: línea 332: cd: install-tl-1.log: No es un directorio
install-tl-ubuntu: ERROR: cannot cd into dir.
what happend?. Sorry for my bad English. Thanks for you response.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Easy Installation of TeX Live 2013 on Ubuntu

Post by Johannes_B »

There is a logfile with the same name. Right now i am not sure, if this file has been generated by the installscript or something else. Delete (or rename) this file and try again would be my first suggestion.

Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
juanuni
Posts: 3
Joined: Thu Oct 03, 2013 7:03 pm

Easy Installation of TeX Live on Ubuntu

Post by juanuni »

Johannes_B wrote:There is a logfile with the same name. Right now i am not sure, if this file has been generated by the installscript or something else. Delete (or rename) this file and try again would be my first suggestion.

Best regards
Johannes
Thanks. I have troubles with my O.S., but I solved this and I installed \TeXLive 2013 again without problems. Now, I have a litle problem. I use \TeXStudio like a \LaTeX editor, but I can't compile any LaTeX code.

I saw that I installed \TeXLive 2013 in /usr/local file. I suppose I should tell \TeXStudio the path for this to compile using \TeXLive 2013. How do I do that?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Easy Installation of TeX Live on Ubuntu

Post by Johannes_B »

The installation script should have added the binaries to your $PATH, making it accesible.
Please open a terminal and type

Code: Select all

latex --version
If the system cannot find anythiing, have a look at TeX Live - Quick install -> Post-install: setting PATH.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
juanuni
Posts: 3
Joined: Thu Oct 03, 2013 7:03 pm

Easy Installation of TeX Live on Ubuntu

Post by juanuni »

Johannes_B wrote:The installation script should have added the binaries to your $PATH, making it accesible.
Please open a terminal and type

Code: Select all

latex --version
If the system cannot find anythiing, have a look at TeX Live - Quick install -> Post-install: setting PATH.
Hi the output is

Code: Select all

latex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
kpathsea version 6.1.1
Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.5.16; using libpng 1.5.16
Compiled with zlib 1.2.7; using zlib 1.2.7
Compiled with xpdf version 3.03
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Easy Installation of TeX Live on Ubuntu

Post by scottkosty »

Dear juanuni,

My apologies for not responding. I thought that I would receive notifications through email if this thread was responded to but I guess I did not check the box.
juanuni wrote:Hi, I have a problem. When I do the instructions appears:

Code: Select all

install-tl-ubuntu: no repository was specified so     using the following:
 http://mirror.utexas.edu/ctan/systems/texlive/tlnet
install-tl-ubuntu: running apt and dpkg commands...
install-tl-ubuntu: downloading and extracting install-tl for time number 1...
install-tl-ubuntu: install-tl downloaded and extracted successfully.
./install-tl-ubuntu: línea 332: cd: install-tl-1.log: No es un directorio
install-tl-ubuntu: ERROR: cannot cd into dir.
what happend?. Sorry for my bad English. Thanks for you response.
This was my fault. The bug is now fixed.
Post Reply