Generalhow to backup and restore packages?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

how to backup and restore packages?

Post by azizever83 »

Hello,
I want to find out how to back up and restore packages installed in my Pc and use it in another Pc. The reason is that I don't have fast internet to reinstall all the packages and the Internet costs a lot in my place.
Thanks a lot in advanced....

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10361
Joined: Mon Mar 10, 2008 9:44 pm

Re: how to backup and restore packages?

Post by Stefan Kottwitz »

You can take the package file or the package directory, and copy the file(s) to the same directory on the other PC. Then, you need to refresh the file name database. With TeX Live, run the texhash command in a terminal window. With MiKTeX, open the MiKTeX settings program and click the button "Refresh FNDB".

Though there are package managers with automated installation and updating, there's no "copy" feature. This needs to be done with your operating system tools.

And if one PC has Windows and the other PC has Linux or is a Mac, there are differences in the location of the TeX software.

While it's not hard to transfer one or two packages, doing a lot can be a bit laborious, much manual work. Perhaps try to get a TeX Live DVD, so you don't need an Internet connection but have a complete TeX.

Stefan
LaTeX.org admin
Post Reply