← 返回命令列表

Linux command

tlmgr-repository 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List repositories

tlmgr repository list

Add repository

tlmgr repository add [url] [tag]

Remove repository

tlmgr repository remove [url]

Set the entire repository list

tlmgr repository set [url#tag] [url#tag ...]

Check verification status

tlmgr repository status

说明

tlmgr repository manages the list of TeX Live package repositories. It allows configuring CTAN mirrors and additional package sources. One repository must always be tagged as main; operations will fail without it. Part of TeX Live Manager.

参数

list _path|url|tag_
List configured repositories and their tags. If a path, URL, or tag is given, initialize a TL database from that source and list its packages.
list --with-platforms
Additionally list available platforms for each package.
add _path_ _tag_
Add a repository, optionally attaching a tag for convenient reference.
remove _path|tag_
Remove a repository by full path/URL or by its tag.
set _path_#_tag_ _path_[#_tag_ ...]
Replace the entire repository list with the specified entries. One repository must be tagged as main.
status
Report verification status of loaded repositories (tag, URL, and verification status).

FAQ

What is the tlmgr-repository command used for?

tlmgr repository manages the list of TeX Live package repositories. It allows configuring CTAN mirrors and additional package sources. One repository must always be tagged as main; operations will fail without it. Part of TeX Live Manager.

How do I run a basic tlmgr-repository example?

Run `tlmgr repository list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list _path|url|tag_ do in tlmgr-repository?

List configured repositories and their tags. If a path, URL, or tag is given, initialize a TL database from that source and list its packages.