Skip to content

[Feature Request]: Document how to install into a custom prefix #139

Open

Description

@xry111

Feature Description / 功能描述

Currently README mentions to build the package with latxbuild/build-release.sh, but it creates a tarball which extracts into /usr. Installing via the tarball will conflict with the distro package manager and potentially break the system if the distro already provides a package for LATX, and there is generally no way for the distro maintainers to help them to salvage it.

Due to the potential capability of LATX to run $RANDOM_ENTERTAINMENT_SOFTWARES, there will be likely end users who don't understand how a Linux distro really works and believe "hey the latest LATX must work better than the version provided by the distro maintainers" (with no valid reason) building and installing LATX on their own.

I tried to argue with those users but @MingcongBai told me "such an argument is just futile." Thus IMO we need to provide a guideline for them to install LATX into a custom prefix to avoid a conflict with the distro.

Use Case / 使用场景

No response

Alternatives Considered / 替代方案

No response

Priority Level / 优先级

Low / 低

Activity

  1. added
    enhancement
    on Nov 9, 2025
  2. luzeng87 commented on Nov 10, 2025

    @luzeng87
    Contributor
  3. xry111 commented on Nov 10, 2025

    @xry111
    Author

    Conventionally the user should never install anything into /usr/bin. It's solely reserved for the distro.

    Alternatives mechanism is not a magic. It's just some symlinks and it cannot work if the user directly operates on the symlink w/o invoking update-alternatives. And not all distros support alternatives.

  4. luzeng87 commented on Nov 10, 2025

    @luzeng87
    Contributor

    Conventionally the user should never install anything into /usr/bin. It's solely reserved for the distro.

    Alternatives mechanism is not a magic. It's just some symlinks and it cannot work if the user directly operates on the symlink w/o invoking update-alternatives. And not all distros support alternatives.

    LATX is open to the community for contributions. Any ideas for improving performance/compatibility/usage is welcomed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions