rust怎么连接oracle,如何在 Linux 中安装 Rust 编程语言

这篇内容记录了使用curl命令安装Rust稳定版的详细过程,包括下载安装脚本、修改环境变量以及安装组件如rustc、rust-std、cargo和rust-docs。安装完成后,提示用户需将Cargo的bin目录添加到PATH环境变量中。
摘要由CSDN通过智能技术生成

$ curl https://sh.rustup.rs -sSf | sh

info: downloading installer

Welcome to Rust!

This will download and install the official compiler for the Rust programming

language, and its package manager, Cargo.

It will add the cargo, rustc, rustup and other commands to Cargo's bin

directory, located at:

/home/daygeek/.cargo/bin

This path will then be added to your PATH environment variable by modifying the

profile files located at:

/home/daygeek/.profile

/home/daygeek/.bash_profile

You can uninstall at any time with rustup self uninstall and these changes will

be reverted.

Current installation options:

default host triple: x86_64-unknown-linux-gnu

default toolchain: stable

modify PATH variable: yes

1) Proceed with installation (default)

2) Customize installation

3) Cancel installation

>1

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'

info: latest update on 2018-12-06, rust version 1.31.0 (abe02cefd 2018-12-04)

info: downloading component 'rustc'

77.7 MiB / 77.7 MiB (100 %) 1.2 MiB/s ETA: 0 s

info: downloading component 'rust-std'

54.2 MiB / 54.2 MiB (100 %) 1.2 MiB/s ETA: 0 s

info: downloading component 'cargo'

4.7 MiB / 4.7 MiB (100 %) 1.2 MiB/s ETA: 0 s

info: downloading component 'rust-docs'

8.5 MiB / 8.5 MiB (100 %) 1.2 MiB/s ETA: 0 s

info: installing component 'rustc'

info: installing component 'rust-std'

info: installing component 'cargo'

info: installing component 'rust-docs'

info: default toolchain set to 'stable'

stable installed - rustc 1.31.0 (abe02cefd 2018-12-04)

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值