Skip to content

Cannot set/change user binary dir on Linux #365

@salim-b

Description

@salim-b

I just installed tinytex for the first time on a Linux system (Ubuntu 20.04). First of all: Great project, thank you!

Now to my problem: While it's possible to customize the tinytex installation path (aka tinytex "root") via tinytex::install_tinytex()'s dir param, there doesn't seem to exist any means to set/customize the user bin folder where tinytex places the symlinks after successful installation. Instead of the default ~/bin I'd like to use ~/.local/bin (which is the default defined in the XDG Base Directory Specification).

This wouldn't be that much of a problem if I could just manually move the symlinks and forget about it. But tinytex regenerates the ~/bin dir with all symlinks everytime tinytex::tlmgr_install() is executed. Is there any environment variable I could set to avoid this? Or anything else I've missed?


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/tinytex').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions