Linux command
tlmgr-remove 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Remove package
tlmgr remove [package]
Remove multiple packages
tlmgr remove [package1] [package2]
Force removal
tlmgr remove --force [package]
Dry run
tlmgr remove --dry-run [package]
说明
tlmgr remove uninstalls TeX Live packages, collections, or schemes. By default it prevents removal of packages required by other installed components, ensuring the integrity of the TeX Live installation, unless overridden with `--force`. When TeX Live is installed system-wide, root privileges are required.
参数
- --force
- Force removal even if other packages depend on it.
- --dry-run
- Show what would be removed.
- --no-depends
- Don't remove dependencies.
- --no-depends-at-all
- Even more aggressive: do not check for and remove dependent packages even from the same collection.
FAQ
What is the tlmgr-remove command used for?
tlmgr remove uninstalls TeX Live packages, collections, or schemes. By default it prevents removal of packages required by other installed components, ensuring the integrity of the TeX Live installation, unless overridden with `--force`. When TeX Live is installed system-wide, root privileges are required.
How do I run a basic tlmgr-remove example?
Run `tlmgr remove [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --force do in tlmgr-remove?
Force removal even if other packages depend on it.