Skip to content

Update cargo.md #2780

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

Merged
merged 1 commit into from
Jul 9, 2025
Merged

Update cargo.md #2780

merged 1 commit into from
Jul 9, 2025

Conversation

mgeisler
Copy link
Collaborator

Now that there is a rustup package, we can take away the scary language and ask people to install that. This has the advantage that people get a trusted tool to download the latest Rust compiler.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Now that there is a `rustup` package, we can take away the scary language and ask people to install that. This has the advantage that people get a trusted tool to download the latest Rust compiler.
@mgeisler mgeisler enabled auto-merge (squash) June 19, 2025 08:45
- On Debian/Ubuntu, you can also install Cargo, the Rust source and the
[Rust formatter] via `apt`. However, this gets you an outdated Rust version
and may lead to unexpected behavior. The command would be:
- On Debian/Ubuntu, you can install `rustup` via `apt`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a step after this, to run rustup, or does that occur automatically?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once rustup is installed, this does not yet have a default toolchain installed. You could append rustup default stable to achieve that goal. And maybe link to https://wiki.debian.org/Rust (Using crates from the Internet (with rustup))

Copy link
Collaborator

@michael-kerscher michael-kerscher Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

additional hint: if you installed via some other method into your home directory already you might want to use rustup self uninstall to avoid using the manually installed version - otherwise this might be unexpected

Copy link
Collaborator

@michael-kerscher michael-kerscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this could be short as it is or if you want to you could add some additional steps or just link to the debian Rust article

@mgeisler mgeisler merged commit c2ffbd7 into main Jul 9, 2025
38 checks passed
@mgeisler mgeisler deleted the mgeisler-patch-1 branch July 9, 2025 16:03
@michael-kerscher
Copy link
Collaborator

Oh, I missed the enabled autosubmit.

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

Successfully merging this pull request may close these issues.

None yet

3 participants