Forrest logo
back to the tlmgr tool

tlmgr-remove:tldr:c2291

tlmgr-remove: Uninstall a package without its dependencies.
$ sudo tlmgr remove --no-depends ${package}
try on your machine

The command you provided is a Terminal command used in a Unix-like operating system, particularly in Linux distributions. Let's break down the components of this command:

  • sudo: It is a command that allows a user with administrative privileges to execute commands as a superuser. The subsequent command (tlmgr) requires elevated permissions, which is why sudo is used.

  • tlmgr: It is a command-line package manager for TeX Live, a widely-used typesetting system. This command allows you to manage packages within TeX Live, such as installing, updating, or removing packages.

  • remove: It is an action specified after tlmgr to remove a package.

  • --no-depends: It is an option provided to the remove action that prevents the removal of dependencies associated with the package being removed. Dependencies are packages that are required for the functioning of the main package being removed.

  • ${package}: It is a placeholder representing the name of the package you want to remove. You need to replace ${package} with the actual name of the package you wish to uninstall.

So, when you execute this command, with the appropriate package name in place of ${package}, it will remove the specified package from TeX Live without removing any packages that depend on it.

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