Tlmgr / List Packages In Repository
List Packages In Repository
Tlmgr command syntax to list packages in repository. Copyable examples, output expectations, and common mistakes.
$
Terminal tlmgr repository list <path|url|tag> tlmgr repository list <path|url|tag> #!/bin/bash
# List Packages In Repository
tlmgr repository list {{path|url|tag}} import subprocess
# List Packages In Repository
# Make sure to replace <placeholders> with actual values
def run_command():
cmd = [
"tlmgr",
"repository",
"list",
"<path|url|tag>"
]
try:
print(f"Executing: {' '.join(cmd)}")
subprocess.run(cmd, check=True)
except subprocess.CalledProcessError as e:
print(f"Error: {e}")
except FileNotFoundError:
print("Error: tlmgr not found. Please install it first.")
if __name__ == "__main__":
run_command() Command Breakdown
What each part is doing
-
tlmgr - Base Command
- The executable that performs this operation. Here it runs Tlmgr before the shell applies any redirect operators.
-
<path|url|tag> - path|url|tag
- The URL supplied to this command.
Alternative Approaches
Comparable commands in other tools
Alternative version control tools for the same job.
Git / Write Commit Graph For Packed Commits
git commit-graph write Gbp / Build Package Pbuilder Debian Bullseye DIST=<bullseye> ARCH=<amd64> gbp buildpackage -jauto -us -uc --git-builder=<git-pbuilder> Git / Create Zip Archive With Progress git archive -v --format zip HEAD Git / Archive With Prefix Path git archive -o <path/to/file.tar> --prefix <path/to/prepend>/ HEAD Git / Launch Git Daemon Verbose With Receive Pack git daemon <path/to/directory> --enable=receive-pack --informative-errors --verbose