-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tinytex should not assume in can write to /usr/local/bin on Linux #181
Comments
This comment has been minimized.
This comment has been minimized.
Oh wait a second; 8cdaffd doesn't seem to be enough to suppress the messages. Hold on. I'll look further into it. |
Should be fixed now. Thanks for the report! |
Hi, I have a same question. I used this way But errors happened, Thanks! Edit---------------------------------------- Thanks! |
…created by `tlmgr path add` (not 100% sure, but should be fairly sure under these conditions)
tinytex assumes it can write symlinks to
/usr/local/bin
. Issue #38 suggests that on MacOS, users typically have permissions to do so, and so perhaps this makes sense as the MacOS behavior. On Linux platforms, users don't typically have write permission to/usr/local/bin
and it is often not desirable for regular users to modify/usr/local/bin
.For a bit of context: on Ubuntu, I cannot get
tinytex
installation to work following the root/multi-user recipe we'd worked out on the debian rocker stack (and is documented in the tinytex faq). I did a clean minimal texlive with a custom texlive profile, rocker-org/rocker-versioned2#10, that also putstexlive
under/opt
and grants users permissions there. In this setup,tinytex
can still do it's magic of automatically installing necessary style files withtlmgr
onrmarkdown::render
, the only downside is we get a lot of 'false-alarm' error messages about not being able to write to `/usr/local/bin.By filing an issue to this repo, I promise that
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')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: