Skip to content

Instantly share code, notes, and snippets.

@aucker
Last active September 6, 2022 07:28
Show Gist options
  • Save aucker/4ad3b09c31982406b5137bf154d20270 to your computer and use it in GitHub Desktop.
Save aucker/4ad3b09c31982406b5137bf154d20270 to your computer and use it in GitHub Desktop.

I have a tex template, so I need to install latex on wsl ubuntu.

  1. install the texlive-latex-extra and texlive
sudo apt install texlive-latex-extra texlive
  1. ctexbook.cls not found, install texlive-lang-chinese
sudo apt install texlive-lang-chinese
  1. install some fonts including newtxtext.sty
sudo apt install texlive-science
sudo apt install texlive-fonts-extra
  1. install gbt-7714.sty
sudo apt install texlive-bibtex-extra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment