TeX Live and MacTeX ⇒ update texlive packages offline?
update texlive packages offline?
And the update does no effect, either.
My system is TexLive 2014 on Ubuntu 14.10, which was installed fully online under the default settings.
Does tlmgr support update offline? and how?
Thank you very much.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
update texlive packages offline?
Do you have
tlpkg/texlive.tlpdb
which can be accessed? I guess some repository information is still missing. --repository localpath
should work. Try without file://
, such as --repository /home/tlnet
, this is a documented way. I did not use a local repository though.If it doesn't work and you would need certain newer packages, you could easily install them in TDS format. Such as for pgf to your local TeX dir:
unzip -d `kpsewhich --var-value TEXMFLOCAL` pgf.tds.zip
The backticks
``
execute kpsewhich
to return the path which is then used for unzip
. But of course you can do it by hand.Stefan
Re: update texlive packages offline?
I tried your first suggestion, that is, remove the prefix 'file://', and it can find the files rightly.
But there's another question, how to change the referring path, such as TEXMFHOME? In the texmf.cnf file, I have changed it to the real path my texlive installed, but it still shows the path '$HOME/texmf' when I use command: kpsewhich -var TEXMFHOME.
The path problem really confuse me much.
Re: update texlive packages offline?
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: update texlive packages offline?
Under normal circumstances, TeX directory variables don't need to be changed. Instead, files should be placed at the intended path.
Stefan