I'm using miktex 4.2.1 on Ubuntu 20.04. When I tried to texdoc ctex, it came out the following errors:

Info: Running Texdoc not installed in the current TEXMFMAIN. /usr/bin/texdoc:41: module 'texdoclib' not found: no field package.preload['texdoclib'] [kpse lua searcher] file not found: 'texdoclib' [kpse C searcher] file not found: 'texdoclib'

And I'm new to Ubuntu, and couldn't figure it out. Can anybody help me?

1 Answer 1


I don't have enough reputation to post a comment, but you may want to look at this other answer:

texdoc does not work anymore after Ubuntu upgrade

  • No, it doesn't work also, and I have given up using texdoc command. I can find the help documentation on ctan.org
    – Xu Wang
    Nov 8, 2021 at 5:54

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.