[Tex/LaTex] How to install packages in TeXLive on Windows 10

installingpackagestexlive

I tried to install packages like numinsec.sty to Texlive on Windows 10 by copying the files in ‪C:\texlive\texmf-local\tex\latex\numinsec.sty. But Texlive can not find it when compiling. What is the problem?

Is the installation of packages on TeXLive similar to MiKTex in which you just copy files into a localTexmf folder and add that folder to MiKTex directory? Thanks.

Best Answer

You can also:

  • Press Win-X
  • Select Windows Powershell (Admin)
  • (If you’re wondering where to put the packages) At the command prompt, run kpsewhich -var-value=TEXMFLOCAL to find the directory to put your downloaded files in.
  • Run texhash

You can run any other command-line utilities you want this way. For example, tlmgr update --self --all, updmap-sys or luaotfload-tool -u -p -v.