Open lucifer1004 opened 2 years ago
cargo install rustup
One problem is that this won’t give us a launcher named Julia
. I also kind of think that we should keep the fact that this is written in Rust an implementation detail. If we get a really good static compile for Julia one day, we might move things away from Rust.
Is there a specific scenario this would solve that isn’t working right now?
This did help when I tried to install juliaup
on a cluster that has an old glibc
(2.17
). I tried brew
and it did pour the bottle, however, the bottled version could not work because it required glibc>=2.18
. Also, I could not use brew
to compile from the source because brew
would use its own bottled cargo
and that also could not work with an old glibc
. Trying to compile rust
from the source using brew
was even more annoying.
In the end, I used my locally installed rust
and installed juliaup
with cargo install --git ...
. And it worked smoothly.
Considering the recent Winget issue (#258), I think enabling cargo install juliaup
can help solve the cross-platform problem, at least at the moment. When we have a stable Julia-based static compiler, we could make the switch then.
@lucifer1004 Like I said, cargo install rustup
.
I'm generally not opposed to this, if we can find a way that cargo install juliaup
adds julia
to the PATH
.
I think enabling
cargo install juliaup
is a good option from cross platforms, by using a single tool for various operating systems.