[Tex/LaTex] Install TeX live and package offline and without root access

installingpackages

I use a old red hat distribution offline (no internet connexion) and I don't have root privilege, only some repository that I can work with.

I would like to install a newer TeX live version and some extra package. How should I proceed ? Is there any way to re-compile the source like ./configure make make install ?

EDIT: My aim is to install some extra packages in this configuration

Best Answer

Answer partially provide by samcarter :

  1. Download last .iso first link of the page.
  2. Mount or extract the iso file in the dir DIR.
  3. Go in DIR/texlive20xx/.
  4. Run the script install-tl and follow the instructions. Install path and other stuff can be configure here. If your machine is offline untick "after install, use tlnet on CTAN for package updates" for obvious reasons.
  5. You can remove any downloaded and extracted file.

If final install or first run say that you need and do not have glibc-2.14 :

Methode 1:

Restart from step 3 and

  1. Follow this link and download the "binaries for x86_64-linux-glibc2.12" in the seconde item.
  2. Extract the .tar in /tmp/foobin.
  3. Run install-tl --custom-bin=/tmp/foobin.
  4. Add DIR/bin/custom to your PATH. The “/custom” there is literal.
  5. You can remove any downloaded and extracted file.

Methode 2:

I haven't tested this on :

Download the 2017 iso ftp://tug.org/historic/systems/texlive/2017/install-tl-unx.tar.gz and follow steps as normal. Solution suggested here.