I use Texlive 2018 on Ubuntu 18.04 LTS. I wanted to change my TEXMFHOME directory to hide it. I did it just creating a usertree in "~/.texmf"

I've tried if [ -d ~/.texmf ] ; then export TEXMFHOME=~/.texmf; fi to change TEXMFHOME value and then I tried to install a package to check if it was working:

 sudo tlmgr install doublestroke

And i got the following error:

(running on Debian, switching to user mode!)
Cannot determine type of tlpdb from /home/username/texmf!
cannot setup TLPDB in /home/username/texmf at /usr/bin/tlmgr line 6424.

I'd tried a lot of solutions presented here, including checking the values in my 'texmf.cnf' file, but none of them worked. The point is I don't know why my tlmgr insists to seach my .tlpdb file in the wrong directory.

I simply want a tlmgr with all my directories in $HOME hidden. By the way, I said this when i ran "install-tl" to install it because I changed my TEXMFHOME directory during the installation(but seems it ignored).

Thanks for any help

  • Welcome to TeX.SX! You have run install-tl (which sounds like the vanilla TeX Live install script), but are running a Debian packaged TeX Live tlmgr? What kind of installation are we talking about? – TeXnician Oct 30 '18 at 15:52
  • I just downloaded, unpacked the install-tl-unx.tar.gz (tug.org/texlive/acquire-netinstall.html) and ran it '$ sudo perl install-tl'. It wasnt a .deb file or none of this kinda, just a perl script. As I said, while I was setting it up I chose my TEXMFHOME to be a hidden one. – Yuri Santos Oct 30 '18 at 18:16
  • What is the output of echo $TEXMFHOME? Add your texlive variables to your question, it can help. – sztruks Oct 30 '18 at 18:46
  • @sztruks the output is /home/username/.texmf after the command export TEXMFHOME=~/.texmf – Yuri Santos Oct 30 '18 at 19:56
  • @TeXnician which tlmgr returned /usr/bin/tlmgr. I guess thats nothing wrong with this output. – Yuri Santos Oct 30 '18 at 20:02

Your Answer

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

Browse other questions tagged or ask your own question.