Tlmgr / List All Tex Live Packages
List All Tex Live Packages
Tlmgr command syntax to list all tex live packages. Copyable examples, output expectations, and common mistakes.
$
Terminal tlmgr info tlmgr info #!/bin/bash
# List All Tex Live Packages
tlmgr info import subprocess
# List All Tex Live Packages
# Make sure to replace <placeholders> with actual values
def run_command():
cmd = [
"tlmgr",
"info"
]
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.
Alternative Approaches
Comparable commands in other tools
Alternative tools that share the "compress" operation intent.