I found online a LaTeX template for a Chinese CV. There is a line of code:


The error is that cjk.sty not found.

So it seems that I need to install such package. However I am a beginner of Ubuntu and have no idea on how to install such font. Does anyone know how to install it?


3 Answers 3


sudo apt-get install latex-cjk-all can solve your problem

  • 3
    That uses 0.7GB of disk space. Surely there is a more specific answer?
    – CPBL
    Commented Jul 13, 2018 at 16:56

It seems that the code you use is wrong. Linux is a case-sensitive OS. You should use CJK package in uppercase:


And furthermore, CJK package has no adobefonts option. CJK package is a low-level package for CJK support. The adobefonts option belongs to ctex package. Say, the code you want is probably:


The previous question is helpful to you: How does one type Chinese in LaTeX?

  • Thanks. I tried to install texlive and then run the last option of your solution in the previous question. It worked. Now I am trying to add more Chinese fonts. Do you know how to do it?
    – kww
    Commented Aug 5, 2013 at 14:40
  • @kww: You should read the document of xeCJK. There're \setCJKfamilyfont, \CJKfamily, etc.
    – Leo Liu
    Commented Aug 5, 2013 at 15:29
  • Thanks. I input xelatex file_name in the terminal, then it works.
    – kww
    Commented Aug 12, 2013 at 16:14

How about using sudo apt-get install latex-cjk-chinese?

In my setting, it costs 59.1MB. See cjk-support-in-latex.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .