Forrest logo
back to the tlmgr tool

tlmgr-restore:tldr:3121d

tlmgr-restore: Restore a package from a custom backup directory.
$ tlmgr restore ${package} ${revision} --backupdir ${path-to-backup_directory}
try on your machine

The command tlmgr restore ${package} ${revision} --backupdir ${path-to-backup_directory} is used in TeX Live Manager (tlmgr) to restore a specific version of a package from a backup directory.

Here are the components of the command:

  • ${package}: This is the name of the package you want to restore. Replace ${package} with the actual package name.

  • ${revision}: This specifies the revision number of the package you want to restore. It represents the version of the package that was previously backed up. Replace ${revision} with the desired revision number.

  • --backupdir ${path-to-backup_directory}: This option specifies the directory where the backup of the package is stored. Replace ${path-to-backup_directory} with the actual path to the backup directory.

By running this command, TeX Live Manager will restore the specified version of the package from the backup directory and replace the currently installed version with the restored one.

Note: This command assumes you have TeX Live Manager (tlmgr) installed and properly configured on your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the tlmgr tool