Forrest logo
back to the tlmgr tool

tlmgr-update:tldr:52bbe

tlmgr-update: Update all except a specific package.
$ sudo tlmgr update --all --exclude ${package}
try on your machine

This command is used in a Unix-like system with the package manager tool called "tlmgr" (TeX Live Manager), which is used for managing packages in TeX Live, a popular typesetting system.

Here's a breakdown of the command components:

  1. "sudo": It is a command used to execute another command with elevated privileges, typically as a superuser or administrator. Using "sudo" allows the user to perform system-level tasks.

  2. "tlmgr": It refers to the command-line tool "tlmgr" (TeX Live Manager) used for managing TeX Live packages. It handles package installation, removal, and updates.

  3. "update": This option instructs "tlmgr" to update the TeX Live distribution.

  4. "--all": This option tells "tlmgr" to update all installed packages to the latest available version.

  5. "--exclude ${package}": This option excludes a specific package from being updated. The placeholder "${package}" should be replaced with the name of the package to be excluded from the update. By specifying this option, the specified package will not be updated, even if a newer version is available.

Overall, this command updates all TeX Live packages, except for the one specified with "--exclude", and it should be executed with superuser privileges.

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