Skip to content
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

Feature request: Non-interactive installation of juliaup without side effects for usage in automated installation script (alternative to --yes) #1020

Open
omlins opened this issue Aug 23, 2024 · 1 comment

Comments

@omlins
Copy link

omlins commented Aug 23, 2024

Motivation

At CSCS, we are developing a new user environment in which we aim to provide the wonderful juliaup rather than a particular version of julia. As for any fully automated software stack installation procedure, all steps must be non-interactive.

Current status

The only option to install juliaup non-interactively is currently using the option --yes, which has some undesired side effects for our use case, namely the modification of ~/.bashrc and ~/.profile (and maybe writing some things into ~/.julia).

Feature request

  • Minimal: add option --no-side-effects (or similar), which deactivates the modification of ~/.bashrc and ~/.profile (and writing things into ~/.julia).
  • Optimal: expose all parameters that can be set during interactive juliaup installation as command line parameters and enable a non-interactive installation without the option --yes.

Thanks!!!

@davidanthoff
Copy link
Collaborator

There is another parameter --add-to-path=no, and I'm fairly positive that should disable the modification of the shell scripts. You then have to put julia and juliaup on the PATH yourself, of course.

You can control into which Julia depot Juliaup puts its config file and then the downloaded Julia versions via the env variable JULIAUP_DEPOT_PATH, so I think if you set that you should be able to prevent anything from going into .julia.

Would those options enable your scenario?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants