Forrest logo
back to the tlmgr tool

tlmgr-install:tldr:c877c

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

The command sudo tlmgr install --no-depends ${package} is used to install a package using the TeX Live package manager (tlmgr) with administrative privileges (sudo) and without installing its dependencies (--no-depends).

Here's a breakdown of each component:

  • sudo: This command is used to execute the following command with root/administrator privileges. It prompts the user for their password before executing the command.

  • tlmgr: This is the command-line tool for managing packages in a TeX Live installation. It allows you to install, update, and remove packages.

  • install: This is an argument passed to tlmgr to specify that a package should be installed.

  • --no-depends: This is an option for tlmgr that tells it not to automatically install any dependencies required by the package. By default, tlmgr installs all necessary dependencies for a package, but this option allows you to skip that step.

  • ${package}: This is a placeholder for the name of the package you want to install. You need to replace ${package} with the actual name of the package you want to install.

Overall, the command allows you to install a specific package in TeX Live without automatically installing its dependencies.

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