Note: this question is very similar to mine, but the answer states
I would recommend you to install the full TeXLive manually (i.e. not using the Ubuntu packages) with both Linux and Windows binaries to the shared drive.
and I'm after more detail on how to do this on my Windows 7/Ubuntu 14.04 installation.
I have a Windows 7 system with TeXLive installed at TEXDIR = C:/texlive/2014.
I now want to install TeXLive on Ubuntu, using the existing Windows texlive installation, and without having to redownload the packages and duplicate hard drive space. (Of course things like binaries will not be shared with Windows; this is fine. But I would think that most of the packages are the same between Windows and Linux and hence don't need to be downloaded twice).
My Windows C: drive is mounted at
/windows on the Linux side.
I ran the Linux installer and set my TEXDIR to point to
/windows/texlive/2014 and verified that the other directories are all pointing to the existing install.
However, when I proceed with the installation, it appears that all the package files are being redownloaded: I can verify this by watching
iftop, and I can see that package files
*.tar.xz are being downloaded into
For now the installation process is aborted in the download stage (I don't have reliable enough internet to do the downloads, or enough quota), so I am not sure if the packages are actually installed twice, as opposed to being downloaded and then the installer says "oh, the package is already installed, I won't reinstall".
So, how can I tell texlive to not re-download/re-install packages if they already exist in my Windows texlive installation?
(Or is /nothing/ shared between a Windows and Linux texlive installation? I assumed that at least most of the packages would be).
Update: had a look at the
--no-depends-at-all option from the
Normally, when you install a package which ships binary files the respective binary package will also be installed. That is, for a package foo, the package foo.i386-linux will also be installed on an i386-linux system. ...
So it looks like what I want is the reverse: I want to install
foo.i386-linux but not
foo (because I already have it); is this possible or do I misunderstand how the packages work (quite likely)?
tlmgrto install the binaries for GNU/Linux. Just make sure that you get 32 or 64 bit as appropriate. Then when you boot into GNU/Linux, adjust your
PATHand you should be good to go.
/tmpor other directory with write access even for normal users within
texmftree and that fonts are cleaned up/stored in the correct directory on next rehash. Thanks for keeping me informed.
tlmgr platform listwill show you which platforms are supported and which are installed.
tlmgr platform add x86_64-linuxwould add the binaries for 64 bit GNU/Linux. Note that I do not have a dual boot system so this is based on a theoretical understanding based on the documentation. (That is, it is untested.) When initially installing TL, you can choose the platforms you want installed. However, that will re-download everything. Adding an additional platform with
tlmgrwill not do that. Note this may not work on NTFS since it does not support symbolic links which GNU/Linux uses.