Tlmgr / List All Available Schemes
List All Available Schemes
Lists all available TeX Live schemes and their details.
tlmgr info scheme tlmgr info scheme #!/bin/bash
# List All Available Schemes
tlmgr info scheme import subprocess
# List All Available Schemes
# Make sure to replace <placeholders> with actual values
def run_command():
cmd = [
"tlmgr",
"info",
"scheme"
]
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() When To Use
When deciding which TeX Live installation scheme aligns with project requirements or disk usage constraints.
Pro Tip
Review the scheme descriptions for understanding functionality versus size trade-offs.
Anatomy of Output
Understanding the result
Scheme: full Available Scheme A comprehensive installation for maximum package availability.
Size: 3.5 GB Scheme Size Disk space required for full installation.
Scheme: small Available Scheme A lightweight alternative with minimal packages.
Size: 1.0 GB Scheme Size Disk space required for small installation.
Power User Variants
Optimized versions
tlmgr info scheme --all Get detailed information about all schemes.
tlmgr info scheme --verify Check the installed schemes against the repository.
Troubleshooting
Common pitfalls
No schemes found
Solution: Update your tlmgr database with tlmgr update.
Insufficient permissions to list schemes
Solution: Run command with sudo.
Failed to retrieve scheme information
Solution: Check your network connection or repository settings.
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 package management tools for the same job.