0

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.

7
1

I have found a solution to this problem. First copy the package files to \texlive\texmf-local\tex\latex folder. Then launch TeXLive Manager to update the database. For TeXLive after 2019, select from the Actions menu Regenerate filename database. For TeXLive before 2019, select from the Actions menu Update filename database.

1

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.

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.