LaTeX forum ⇒ TeX Live and MacTeXEasy Installation of TeX Live on Ubuntu Topic is solved

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: 531
Joined: Sat Sep 01, 2012 6:38 am

Easy Installation of TeX Live on Ubuntu

Postby scottkosty » Mon Aug 26, 2013 7:14 am

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.

  1. 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.

Tags:

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

Postby Leo Burckhardt » Thu Sep 05, 2013 6:31 pm

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: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Sep 05, 2013 7:04 pm

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:
  1. 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

Postby Leo Burckhardt » Mon Sep 09, 2013 10:42 am

Thank you very much for the answer, It worked indeed !

juanuni
Posts: 3
Joined: Thu Oct 03, 2013 7:03 pm

Postby juanuni » Thu Oct 03, 2013 7:13 pm

Hi, I have a problem. When I do the instructions appears:
  1. install-tl-ubuntu: no repository was specified so using the following:
  2. http://mirror.utexas.edu/ctan/systems/texlive/tlnet
  3. install-tl-ubuntu: running apt and dpkg commands...
  4. install-tl-ubuntu: downloading and extracting install-tl for time number 1...
  5. install-tl-ubuntu: install-tl downloaded and extracted successfully.
  6. ./install-tl-ubuntu: línea 332: cd: install-tl-1.log: No es un directorio
  7. 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: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Oct 04, 2013 11:12 am

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

Postby juanuni » Tue Nov 05, 2013 12:17 am

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: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Nov 05, 2013 10:40 am

The installation script should have added the binaries to your $PATH, making it accesible.
Please open a terminal and type
  1. 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

Postby juanuni » Wed Nov 06, 2013 9:23 pm

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


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


Hi the output is

  1. latex --version
  2. pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
  3. kpathsea version 6.1.1
  4. Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
  5. There is NO warranty. Redistribution of this software is
  6. covered by the terms of both the pdfTeX copyright and
  7. the Lesser GNU General Public License.
  8. For more information about these matters, see the file
  9. named COPYING and the pdfTeX source.
  10. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
  11. Compiled with libpng 1.5.16; using libpng 1.5.16
  12. Compiled with zlib 1.2.7; using zlib 1.2.7
  13. Compiled with xpdf version 3.03

scottkosty
Site Moderator
Posts: 531
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Mon Nov 11, 2013 7:27 am

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:
  1. install-tl-ubuntu: no repository was specified so using the following:
  2. http://mirror.utexas.edu/ctan/systems/texlive/tlnet
  3. install-tl-ubuntu: running apt and dpkg commands...
  4. install-tl-ubuntu: downloading and extracting install-tl for time number 1...
  5. install-tl-ubuntu: install-tl downloaded and extracted successfully.
  6. ./install-tl-ubuntu: línea 332: cd: install-tl-1.log: No es un directorio
  7. 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.


Return to “TeX Live and MacTeX”

Who is online

Users browsing this forum: No registered users and 4 guests