This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
Rust is a multi paradigm system programming language focused on safety, especially safe concurrency. Rust is syntactically similar to C++, but is designed to provide better memory safety while maintaining high performance.
Table of contents¶
- Avoid dotfile madness
Avoid dotfile madness¶
Prior to installation, make sure you stay in control of your home directory.
See how to handle Rust related dotfiles.
rust-bin, the last ("testing" on gentoo but stable according to rust)
pre-compiled (binary) version:
# echo "dev-lang/rust-bin ~amd64" >> /etc/portage/package.accept_keywords # emerge -a dev-lang/rust-bin
Or install and compile the last ("testing"...) rust version from sources (this can take a long time):
Update all cargo packages (https://stackoverflow.com/questions/34484361/does-cargo-install-have-an-equivalent-update-command):
Prints package metadata:
List all installed packages:
Update (only after online rust install way)¶
Uninstall rust (only after online rust install way)¶
If you want to uninstall rust (e.g. you finally prefer to install rust with portage or apt or yum or whatever):
If this cheat sheet has been useful to you, then please consider leaving a star here.