1.5. Rust ドキュメントのインストール
The Rust Programming Language ガイドは、インストール可能なドキュメントとして利用できます。
前提条件
-
Rust Toolset がインストールされている。
詳細は、Rust Toolset のインストール を参照してください。
手順
rust-doc
パッケージをインストールするには、以下のコマンドを実行します。
Red Hat Enterprise Linux 7 の場合
yum install rust-toolset-1.66-rust-doc
# yum install rust-toolset-1.66-rust-doc
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Rust プログラミング言語 のドキュメントは
/opt/rh/rust-toolset-1.66/root/usr/share/doc/rust/html/index.html
にあります。
すべての Rust コードパッケージの API ドキュメントは、/opt/rh/rust-toolset-1.66/root/usr/share/doc/rust/html/std/index.html
にあります。Red Hat Enterprise Linux 8 の場合
yum install rust-doc
# yum install rust-doc
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The Rust Programming Language ガイドは、
/usr/share/doc/rust/html/index.html
にあります。
すべての Rust コードパッケージの API ドキュメントは、/usr/share/doc/rust/html/std/index.html
にあります。Red Hat Enterprise Linux 9 の場合
dnf install rust-doc
# dnf install rust-doc
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The Rust Programming Language ガイドは、
/usr/share/doc/rust/html/index.html
にあります。
すべての Rust コードパッケージの API ドキュメントは、/usr/share/doc/rust/html/std/index.html
にあります。