Installing Rust
Rust has the advantages of high performance, security, and concurrency processing. It can assist the Milvus project in extending functions, building auxiliary tools, or integrating third-party libraries. To ensure that the Rust version used for compilation meets the Milvus requirements, it is advised to install Rust 1.73.0.
- Download and install Rust.
1curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
If the Rust installation is suspended for a long time, rectify the fault following instructions in Failed to Download and Install Rust Using Commands.
- Make the Rust configuration take effect.
1source ~/.bashrc
- Install the required Rust version.
1rustup install 1.73.0
- Set the required version to the default version.
1rustup default 1.73.0
- Query the current Rust version.
1rustc --versionThe installation is successful if the following information is displayed:
1rustc 1.73.0 (cc66ad468 2023-10-03)
Parent topic: Configuring the Compilation Environment