Lädt...


🔧 [Rust Self-Study] 1.1. Install Rust


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

1.1.1. Installing Rust from the Official Website

Go to the Rust official website, where you can set the language in the top-right corner.

Image description

Click "Get Started" and you will see the following interface:

Image description

Choose the appropriate version based on your operating system: 32-BIT for 32-bit systems and 64-BIT for 64-bit systems. Most computers today are 64-bit. If you are unsure, as long as your computer isn’t very old, downloading the 64-bit version should work fine.

To download Rust for MacOS, Linux, or the Windows Linux Subsystem, execute the following command in your terminal:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Open the downloaded installer, and you will see the following interface:

Image description

There are three options:

  • Option 1 (Default): Standard installation
  • Option 2: Custom installation, allowing you to customize the installation path, components, toolchain version, etc.
  • Option 3: Cancel installation

For most users, Option 1 is sufficient (either type 1 and press Enter, or just press Enter).

If you see the following screen, Rust has been successfully installed:

Image description

The installer will prompt you to restart your shell. Press Enter to exit the program. At this point, Rust installation is complete.

1.1.2. Command Line Operations for Rust

Rust commands can be executed in the terminal in Windows (Win11 includes it by default; if not, search for Windows Terminal in the Microsoft Store to download).

  • Update Rust: rustup update Rust is a rapidly evolving language, so it’s recommended to perform this operation periodically to get the latest version.
  • Uninstall Rust: rustup self uninstall
  • Verify Installation: rustc --version or rustc -V

The result format: rustc x.y.z (xxxxxxxxx yyyy-mm-dd):

  • x.y.z: Version number
  • xxxxxxxxx: Current version’s hash value
  • yyyy-mm-dd: Submission date of the current version

Image description

Open Local Rust Documentation Manual: rustup doc

Development Tools

  • Install the Rust plugin for VS Code
  • VIM
  • Helix
  • RustRover
...

🔧 <self-close /> or <not-to-self-close></not-to-self-close>


📈 24.71 Punkte
🔧 Programmierung

🎥 Microsoft New SELF IMPROVING AI STUNS The ENTIRE Industry (SELF-TAUGHT OPTIMIZER (STOP):


📈 16.47 Punkte
🎥 Video | Youtube

📰 Researchers develop self-healing and self-concealing PUF for hardware security


📈 16.47 Punkte
📰 IT Security Nachrichten

🔧 Self Aware & Self Defending Networks


📈 16.47 Punkte
🔧 Programmierung

📰 Reinforcement Learning: Self-Driving Cars to Self-Driving Labs


📈 16.47 Punkte
🔧 AI Nachrichten

🔧 self vs Self in Swift Programming


📈 16.47 Punkte
🔧 Programmierung

🔧 LLMs can learn self-restraint through iterative self-reflection


📈 16.47 Punkte
🔧 Programmierung

🔧 Hoppscotch Cloud vs. Self-Hosted Community vs. Self-Hosted Enterprise – Which One Should You Choose?


📈 16.47 Punkte
🔧 Programmierung

🔧 Self-Aligning Dish in Rust: Blink


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Satellite Dish in Rust: Final


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Dish in Rust: Setup


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Satellite Dish in Rust: Pan Application


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Dish in Rust: Introduction


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Satellite Dish in Rust: Pan Example


📈 14.53 Punkte
🔧 Programmierung

📰 Rust-Based Redox OS Is Nearly Self-Hosting After Four Years


📈 14.53 Punkte
📰 IT Security Nachrichten

🔧 Self-Aligning Satellite Dish in Rust: Pan Motor


📈 14.53 Punkte
🔧 Programmierung

📰 Rust-Based Redox OS Is Nearly Self-Hosting After Four Years


📈 14.53 Punkte
📰 IT Security Nachrichten

🔧 Self-Aligning Satellite Dish in Rust: Servo Application


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Satellite Dish in Rust: Servo Example


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Satellite Dish in Rust: Servo


📈 14.53 Punkte
🔧 Programmierung

🔧 Self-Aligning Satellite Dish in Rust: Compass


📈 14.53 Punkte
🔧 Programmierung

matomo