3

How to copy packages from old miktex 2.8 to new miktex 2.9. I want installing miktex2.9 but I can't download all packages by slow internet,thus I want to copy this packages from installed miktex. How to do this ? Thanks.

  • 3
    Welcome to TeX.SX! It's probably a very, very, very bad idea to copy old packages into a (partially) updated installation. There might be severe inconsistencies. My advice: Handle with care, my stronger advice: don't do it at all! – user31729 Aug 24 '14 at 20:49
  • I use the method described here and it works well for me. – user41974 Jan 27 '18 at 4:16
2

Install only the basic version of MikTeX 2.9. Then it will install on the fly only the needed packages.

  • I install new basic miktex on old miktex without unistalling it ? – Qasem Marzei Aug 24 '14 at 21:03
  • @QasemMarzei Yo should uninstall first the MikTeX 2.8 and later install cleanly the 2.9 version. As Herbert said install the basic MikTeX version, and install on the fly the packages as you need them. In this way you can work as before without wait centuries for the download. – Aradnix Aug 25 '14 at 4:33
  • @QasemMarzei: Delete the old installation and then install the new basic 2.9 – user2478 Aug 25 '14 at 4:45
1

You can use the command line version of the package manager with the --import-all switch. See http://docs.miktex.org/2.9/manual/mpm.html

Something like this:

mpm --repository=<path-to-miktex-2.8>  --import-all

If your miktex 2.8. was a multiuser installation it could be that your packages are in part in the USERINSTALL tree. I don't know if you can run --import-all on this tree too after you used it on the main tree.

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.