tlbuild: tlmgr MULTIPLE REPOSITORIES
B.10 MULTIPLE REPOSITORIES
==========================
The main TeX Live repository contains a vast array of packages.
Nevertheless, additional local repositories can be useful to provide
locally-installed resources, such as proprietary fonts and house styles.
Also, alternative package repositories distribute packages that cannot
or should not be included in TeX Live, for whatever reason.
The simplest and most reliable method is to temporarily set the
installation source to any repository (with the '-repository' or 'option
repository' command line options), and perform your operations.
When you are using multiple repositories over a sustained length of
time, however, explicitly switching between them becomes inconvenient.
Thus, it's possible to tell 'tlmgr' about additional repositories you
want to use. The basic command is 'tlmgr repository add'. The rest of
this section explains further.
When using multiple repositories, one of them has to be set as the
main repository, which distributes most of the installed packages. When
you switch from a single repository installation to a multiple
repository installation, the previous sole repository will be set as the
main repository.
By default, even if multiple repositories are configured, packages
are _still_ _only_ installed from the main repository. Thus, simply
adding a second repository does not actually enable installation of
anything from there. You also have to specify which packages should be
taken from the new repository, by specifying so-called "pinning" rules,
described next.
Menu