2

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

7
  • 2
    Why would you compile it manually? Much easier to rsync the entire tlnet repository from a mirror that supports rsync, to a PC with internet access. This repository data can then be copied to the RH box, and you can install from there. You do not need root access to install, just need the installation folder to be readable by you and that you afterwards know how to add the TL PATH to your normal PATH. – daleif Dec 21 '18 at 12:12
  • Why would you want to add a newer LaTeX to an old system that probably need to be replaced anyway? – daleif Dec 21 '18 at 12:13
  • @daleif what do you mean by "rsync the entire tlnet repository from a mirror that supports rsync" and where can I find such a mirror ? I'm ok with no recompile it manually and even keep my old version but I would like to add some extra packages and I don't know how to proceed in this situation – Welgriv Dec 21 '18 at 12:20
  • If I am not root you can guess that I am completely not able to replace the system. – Welgriv Dec 21 '18 at 12:20
  • 2
    @Welgriv You could download an .iso image tug.org/texlive/acquire-iso.html and install texlive from there. It should contain the full version, so no need to install extra packages. – samcarter_is_at_topanswers.xyz Dec 21 '18 at 12:25
0

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.

9
  • And remember: using the ISO dies not include all the fixes that has come since the iso was released back in May. Imo rsyncing a copy of the current installation tree is better – daleif Jan 2 '19 at 15:44
  • I get what you mean but you still not provide any explanation how to "rsyncing a copy of the current installation tree" as I asked before. – Welgriv Jan 2 '19 at 15:49
  • 1
    The rsync method for getting a newer repository are described here tug.org/texlive/acquire-mirror.html you would need to use say that to build a portable set on a web aware machine then port it on usb stick as repository for the dumb machine – user170109 Jan 2 '19 at 17:22
  • 1
    @hola You can use 7z or isoinfo depending on your system, see here: stackoverflow.com/questions/17817673/7zip-iso-extraction – Welgriv Dec 10 '20 at 14:53
  • 1
    I was not able to use the USB stick method because my organization forbid USB stick connections for security reasons, and moreover the machine is a distant server that I cannot physically access – Welgriv Dec 10 '20 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.