[Tex/LaTex] Installing TeX Live from tug.org

installingtexliveUbuntu

I was trying to install TeX Live (on Ubuntu10.04) following the instructions contended in http://tug.org/texlive/quickinstall.html (c.f. thread Typesetting a document using Arabic script).

I've chosen scheme -> customised mostly to uncheck support for languages I will never need as well as music typesetting and advanced maths. Beside that I've left default.

After installation I wanted to run tlmgr -gui to install LaTeX and pdfLaTeX but it didn't work: command not found. I've checked .log installing file (/usr/local/texlive/2010/install-tl.log). I won't post it here entirely (unless somebody asks) – it's pretty long, but here is what I've found in it searching for error:

TLDownload::get_file: response error:
  404 File 'dprogress.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'draftcopy.doc.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'natbib.doc.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'placeins.doc.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'polski.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'placeins.doc.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'polski.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'preprint.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'txfontsb.source.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'xnewcommand.tar.xz' not found

TLDownload::get_file: response error:
  404 File 'active-conf.doc.tar.xz' not found

I have no idea where the problem may lay. I would be very greateful for any tips. If there is any further information I should provide, please ask.

P.S.

The default paths are:

<D> directories:
   TEXDIR (the main TeX directory):
     /usr/local/texlive/2010
   TEXMFLOCAL (directory for site-wide local files):
     /usr/local/texlive/texmf-local
   TEXMFSYSVAR (directory for variable and automatically generated data):
     /usr/local/texlive/2010/texmf-var
   TEXMFSYSCONFIG (directory for local config):
     /usr/local/texlive/2010/texmf-config
   TEXMFVAR (personal directory for variable and automatically generated data):
     ~/.texlive2010/texmf-var
   TEXMFCONFIG (personal directory for local config):
     ~/.texlive2010/texmf-config
   TEXMFHOME (directory for user-specific files):
     ~/texmf

I haven't change here anything.

UPDATE

It took me some time, but I've proceeded the installation once again. This time, no errors, but still nothing works.

I've run installation, than I've added to /etc/profile paths (PATH=/usr/local/texlive/2010/bin/i386-linux:$PATH; export PATH). When I try to check tex --version I get the message that:

'The program 'tex' is currently not installed. You can install it by typing: sudo apt-get install texlive-binaries.

I have no idea, what could I have done wrong but there should be something…

Best Answer

Two thinks I would check:

  1. did you adjust your $PATH to include the texlive bin directory? If you did not, your shell will not be able to find your binaries, and trying to run any of them will result in a command not found error.

    Note that if you runt tlmgr as root (using sudo) as you should (otherwise it will not be able to write to your texlive directories and therefore will not be able to update anything), you may need to change the root's path, too.

  2. the 404 errors are worrisome. It does look like the CTAN mirror that gets automatically chosen for your location is having problems. You could try to use a different mirror. Find another nearby mirror here and then use the -repository option with the chosen mirror's url when using install-tl. For more information look here, and read the section on -repository option.