Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to provide a collection of packages/classes/fonts in a custom .deb package, i.e. that is not part of texlive.

Which directory should I choose for installing?

texlive tells me to use TEXMLOCAL for additional packages which is normally /usr/local/share/texmf. But debian says /usr/local is not allowed for deb-packages.

share|improve this question

closed as off-topic by Joseph Wright Aug 11 '13 at 10:44

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Put it in ~/texmf/. kpsewhich --var-value TEXMFHOME will tell you what the 'personal' base directory is. You may need to create it; you could do, e.g., mkdir -p ~/texmf/{bibtex,doc,fonts,tex,texdoc} (depending on your needs: you may require other directories -- just make it mimic the directory structure of your system texmf, including the subdirectories!). –  jon Mar 29 '13 at 1:08
    
A deb package that installs in ~ ? Not really ;). –  ejoerns Mar 29 '13 at 13:14
    
Sorry: you want to create a .deb package for Debian/etc.? And it will work regardless of what kind of TeX Live installation people have? I think this is the wrong approach. Make a .tds.zip file and let users decide where they want to install it. That way it is not a Debian-specific thing, but is useful to anyone who has a TDS-compliant TeX installation. –  jon Mar 29 '13 at 15:42
    
For instance, I would not want to use a .deb since I installed TeX Live from TUG, and I wouldn't want your file to install in /usr/local/share/texmf on my system. Also kpsewhich --var-value TEXMFLOCAL does not return that dir for me. –  jon Mar 29 '13 at 15:47
    
I'd like to have a .deb package because it also needs to install some fonts etc. and i wanted to make install as easy as possible. What about TEXMFMAIN? Btw. I also provide a .tds.zip and an install script. –  ejoerns Mar 29 '13 at 18:59