LinuxCommandLibrary

tlmgr-arch

Switch TeX Live architecture

TLDR

View documentation for the original command

$ tldr tlmgr platform
copy

SYNOPSIS

tlmgr arch [action] [architecture]

PARAMETERS

add architecture
    Add the specified architecture to the TeX Live installation.

remove architecture
    Remove the specified architecture from the TeX Live installation.

list
    List the currently installed architectures.

DESCRIPTION

The `tlmgr-arch` command is a part of the TeX Live package manager (`tlmgr`) and is used to manage the architectures (CPU architectures and operating systems) supported by the TeX Live installation. It allows you to add, remove, and list the architectures for which TeX Live binaries are installed. This is useful in multi-architecture environments or when space is limited.

By default, TeX Live installs binaries for the architecture on which it is installed. The `tlmgr-arch` command allows you to manage binaries for other architectures if needed, such as when compiling code for other platforms or running TeX Live on mixed architecture systems. Note: Using this command incorrectly can lead to a broken TeX Live installation, so it's crucial to understand the effects before making changes.

CAVEATS

Incorrect use can lead to a broken TeX Live installation. Ensure you have sufficient disk space before adding architectures. Be aware of dependencies when removing architectures. Some packages might be dependent on specific architectures.

ARCHITECTURE NAMES

Architecture names are system-specific and can be obtained using `tlmgr platform show`. Example names include `x86_64-linux`, `i386-linux`, `win32`, and `win64`.

SEE ALSO

tlmgr(1), tex(1), latex(1)

Copied to clipboard