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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update cargo.md #2780

wants to merge 1 commit into from

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.

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

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.

3 participants