Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Rust


1. Rust
Rust: A language empowering everyone to build reliable and efficient software. Performance: Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages.

From the Rust web site at https://www.rust-lang.org/ .

2. CentOS installation
Note: The CentOS 7 installation details were customized from https://www.mvps.net/docs/how-to-install-rust-on-centos/ on 2019-08-09.

Note that curl is required but should be already installed.

Note that you will be asked to press Enter (or select another option other than the default) during the installation.

The following Linux command(s) install Rust.
curl https://sh.rustup.rs -sSf | sh

On 2019-08-09 the output was as follows.
... omitted ...    stable installed - rustc 1.36.0 (a53f9df32 2019-07-03) Rust is installed now. Great! To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH environment variable. Next time you log in this will be done automatically. To configure your current shell run source $HOME/.cargo/env


3. Configuration
According to the above message, the following is needed.

The following Linux command(s) to do some default configuration.
source $HOME/.cargo/env


4. Check the installed version
The following Linux command(s) to check the installed version of Rust.
rustc --version

On 2019-08-09 the output was as follows.
rustc 1.36.0 (a53f9df32 2019-07-03)

Additional configuration and usage will be added later.