I tried installing a package automatically from the MiKTeX console, but it keeps showing this error message
a connection to mirrors.hit.edu.cn could not be established
What is the solution to this problem as manual installation is hectic?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI tried installing a package automatically from the MiKTeX console, but it keeps showing this error message
a connection to mirrors.hit.edu.cn could not be established
What is the solution to this problem as manual installation is hectic?
If it is not working because of strict corporate firewall policy, etc., but you can download manually the package archive file from a mirror (usually packagename.tar.lzma
, and they could be found on the next path on mirrors: /ctan/systems/win32/miktex/tm/packages/
), you can do the next (manual package installation):
texmf
directory in it with one or more of the next subdirectories: doc
, source
, tex
, tpm
.texmfs\install\
, but this maybe varies from system to system.initexmf --update-fndb
.Unpack the package archive somewhere. usually there is a texmf directory in it with one or more of the next subdirectories: doc, source, tex, tpm.