Forrest logo
back to the tlmgr tool

tlmgr-update:tldr:c9d13

tlmgr-update: Update a specific package without updating its dependencies.
$ sudo tlmgr update --no-depends ${package}
try on your machine

This command is a terminal command used in Unix-like operating systems (e.g., Linux) to update a TeX Live package without installing any dependencies. Here's the breakdown of the command:

  • sudo: This is a command used to execute the following command with administrative privileges. It allows the user to perform actions that regular users are not authorized to do.

  • tlmgr: This is the command-line tool for managing TeX Live packages. TeX Live is a popular distribution of the TeX typesetting system used for creating documents.

  • update: This is the subcommand for updating packages in TeX Live.

  • --no-depends: This option informs tlmgr to only update the specified package without installing any dependencies.

  • ${package}: This is a placeholder referring to the name of the specific TeX Live package you want to update without installing its dependencies. You need to replace ${package} with the actual package name (e.g., texlive-latex-extra) while running the command.

So, running this command will update the specified TeX Live package, ensuring that its dependencies are not installed at the same time.

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