After ssh-ing into an AWS instance (I’m new to AWS), I’m attempting to install juliaup with the standard script curl -fsSL https://install.julialang.org | sh
, but am met with
sh: 148: cannot open /dev/pts/1: Permission denied
Naturally, I sudo
it with curl -fsSL https://install.julialang.org | sudo sh
which successfully begins the interactive installer, but then, well, it’s trying to install it for the root
user i.e. add .julia
under root and modify .bashrc
entries for root
instead of me.
I tried specifying the install path using the flags with sudo
but then it still asks if I want to modify the shell init scripts e.g. .bashrc
, but I don’t want to modify those for the root user.
Could I just use the binary? Yes, but I don’t want to.