Currently my Tex Live directory is placed at /usr/share/texlive, but it is taking up about 2.1 GB of space. I would like to move it to an SD card that I use for semi-permanent storage in /run/media/${user}/sdcard. Is this possible?
Asked
Active
Viewed 1,357 times
1 Answers
1
Definitely possible. I would suggest the following:
- Copy the entire
texlivedirectory to its new directory - Once copying is complete, go into
/usr/share, dosudo rm -r texlive(or become root first if you have no sudo privileges) and create a symlink to the new directory: `ln -s /what/ever/texlive texlive
In this way, you don't need to tell TeX about the path change. Edit: good to know (as per David's comment) that TeX executables are self-locating. However, if you try to install additional LaTeX packages through your OS package manager for example, it is best to fake the original directory structure.
Michael Palmer
- 3,258
apparmorprevent the programs from accessing the new places. One example isevincewhen displayingdvifiles, at least in Debian and Ubuntu; see Tex Live installation, and a problem of getting evince to show dvi files for the required adjustments. – gernot Nov 02 '16 at 13:25