Forrest logo
back to the tlmgr tool

tlmgr-remove:tldr:15bfb

tlmgr-remove: Uninstall a package and back it up to a specific directory.
$ sudo tlmgr remove --backupdir ${path-to-directory} ${package}
try on your machine

This is a command to remove a TeX Live package using the TeX Live Manager (tlmgr) utility.

Here's a breakdown of the command:

  • sudo: It is a command that allows you to execute the following command with administrative privileges (root access). This is commonly used when modifying system files or performing system-wide changes.

  • tlmgr: It is the command-line package manager for TeX Live, which is a comprehensive distribution of the TeX typesetting system and related packages. tlmgr is used to install, update, and remove packages in a TeX Live installation.

  • remove: This is the action you want to perform with tlmgr, indicating that you want to remove a package.

  • --backupdir ${path-to-directory}: This is an option that specifies the directory where backups of the removed package files should be stored. The ${path-to-directory} is a placeholder that should be replaced with the actual path to the directory where you want the backups to be stored.

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

So, overall, the command is telling tlmgr to remove a package, specifying the backup directory for the removed files, and providing the name of the package to be removed.

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