I want to install the package undertilde.

When I try to install using method 1 as given in the answer to the question

How do I install an individual package on a Linux system?

i.e. using tlmgr - I get the following errors.

Cannot determine type of tlpdb from /home//texmf!

cannot setup TLPDB in /home/****/texmf at /usr/bin/tlmgr line 6424.

  • if your tex is the linux supplied one not installed directly from tug use your package manage yum or dnf or whatever you use for linux updates Nov 10, 2021 at 9:02
  • As David says, sadly the Linux fists cripple tlmgr so it can no longer install packages (their distribution system, their choice). If you're on a Debian/apt based system you can install apt-file and use it to ask Debian which Debian package provides the file undertilde.sty
    – daleif
    Nov 10, 2021 at 9:32
  • @daleif if you mean apt-file search undertilde.sty It yields nothing. Nov 10, 2021 at 11:18
  • @DavidCarlisle I am sorry, I do not understand. Could you please be more specific? Nov 10, 2021 at 11:20
  • Well given that CTAN lists that only MikTeX have undertilde (ctan.org/pkg/undertilde) that is not a surprise, then it is not available via Linux dists (as they use TeXLive) or via tlmgr (for whose using a tlmgr that works)
    – daleif
    Nov 10, 2021 at 11:25

1 Answer 1


After struggling a bit and with help of comments above, I came to the conclusion that using undertilde package itself is a problem. As @daleif noted that the package has not been updated since 2000. Therefore, the solution is to use some other package to obtain the functionality of the undertilde pacakge.

Specifically, I was using the \utilde command from the undertilde package. I was able to do that using \underset command. For example, if I needed a tilde beneath r, I will write \underset{\sim}{r} to substitute \utilde{r}.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.