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] Enable cargo install #265

Open
lucifer1004 opened this issue Mar 16, 2022 · 5 comments
Open

[Feature request] Enable cargo install #265

lucifer1004 opened this issue Mar 16, 2022 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@lucifer1004
Copy link

I think enabling cargo install juliaup is a good option from cross platforms, by using a single tool for various operating systems.

@fanninpm
Copy link

cargo install rustup

@davidanthoff
Copy link
Collaborator

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?

@lucifer1004
Copy link
Author

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.

@fanninpm
Copy link

@lucifer1004 Like I said, cargo install rustup.

@davidanthoff davidanthoff added the enhancement New feature or request label Jul 17, 2022
@davidanthoff davidanthoff added this to the Backlog milestone Jul 17, 2022
@davidanthoff
Copy link
Collaborator

I'm generally not opposed to this, if we can find a way that cargo install juliaup adds julia to the PATH.

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

No branches or pull requests

3 participants