目次
文書の過去の版を表示しています。
JupyterLab + Rust 開発環境の構築
インストール
Fedora (RPM パッケージから...)
cargo、rustc はインストールされるが、rustup が存在しない…🤔
$ sudo dnf install rust cargo
メタデータの期限切れの最終確認: 4:36:48 時間前の 2022年08月31日 22時35分04秒 に実施しました。 依存関係が解決しました。 ============================================================================================================== パッケージ アーキテクチャー バージョン リポジトリー サイズ ============================================================================================================== インストール: cargo x86_64 1.63.0-1.fc36 updates 4.6 M rust x86_64 1.63.0-1.fc36 updates 25 M 依存関係のインストール: rust-std-static x86_64 1.63.0-1.fc36 updates 27 M トランザクションの概要 ============================================================================================================== インストール 3 パッケージ ダウンロードサイズの合計: 56 M インストール後のサイズ: 220 M これでよろしいですか? [y/N]: y パッケージのダウンロード: (1/3): cargo-1.63.0-1.fc36.x86_64.rpm 3.7 MB/s | 4.6 MB 00:01 (2/3): rust-std-static-1.63.0-1.fc36.x86_64.rpm 2.7 MB/s | 27 MB 00:09 (3/3): rust-1.63.0-1.fc36.x86_64.rpm 1.7 MB/s | 25 MB 00:14 -------------------------------------------------------------------------------------------------------------- 合計 3.4 MB/s | 56 MB 00:16 トランザクションの確認を実行中 トランザクションの確認に成功しました。 トランザクションのテストを実行中 トランザクションのテストに成功しました。 トランザクションを実行中 準備 : 1/1 インストール中 : rust-std-static-1.63.0-1.fc36.x86_64 1/3 インストール中 : rust-1.63.0-1.fc36.x86_64 2/3 インストール中 : cargo-1.63.0-1.fc36.x86_64 3/3 scriptletの実行中: cargo-1.63.0-1.fc36.x86_64 3/3 検証 : cargo-1.63.0-1.fc36.x86_64 1/3 検証 : rust-1.63.0-1.fc36.x86_64 2/3 検証 : rust-std-static-1.63.0-1.fc36.x86_64 3/3 インストール済み: cargo-1.63.0-1.fc36.x86_64 rust-1.63.0-1.fc36.x86_64 rust-std-static-1.63.0-1.fc36.x86_64 完了しました!
動作確認
$ rustc --version
rustc 1.63.0 (Fedora 1.63.0-1.fc36)
$ cargo --version
cargo 1.63.0
Fedora (Rust 公式から...)
cargo、rustc、および、rustupなどもインストールされる😃
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer warning: it looks like you have an existing installation of Rust at: warning: /usr/bin warning: rustup should not be installed alongside Rust. Please uninstall your existing Rust first. warning: Otherwise you may have confusion unless you are careful with your PATH warning: If you are sure that you want both rustup and your already installed Rust warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes warning: or pass `-y' to ignore all ignorable checks. error: cannot install while Rust is installed Continue? (y/N) y Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. Rustup metadata and toolchains will be installed into the Rustup home directory, located at: /home/tomoyan/.rustup This can be modified with the RUSTUP_HOME environment variable. The Cargo home directory is located at: /home/tomoyan/.cargo This can be modified with the CARGO_HOME environment variable. The cargo, rustc, rustup and other commands will be added to Cargo's bin directory, located at: /home/tomoyan/.cargo/bin This path will then be added to your PATH environment variable by modifying the profile files located at: /home/tomoyan/.profile /home/tomoyan/.bash_profile /home/tomoyan/.bashrc 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 (default) profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation 3) Cancel installation > Enter で続行 info: profile set to 'default' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' info: latest update on 2022-08-11, rust version 1.63.0 (4b91a6ea7 2022-08-08) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' 18.3 MiB / 18.3 MiB (100 %) 10.6 MiB/s in 2s ETA: 0s info: downloading component 'rust-std' 26.1 MiB / 26.1 MiB (100 %) 10.3 MiB/s in 3s ETA: 0s info: downloading component 'rustc' 54.3 MiB / 54.3 MiB (100 %) 9.9 MiB/s in 6s ETA: 0s info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' 18.3 MiB / 18.3 MiB (100 %) 1.4 MiB/s in 39s ETA: 0s info: installing component 'rust-std' 26.1 MiB / 26.1 MiB (100 %) 8.0 MiB/s in 5s ETA: 0s info: installing component 'rustc' 54.3 MiB / 54.3 MiB (100 %) 7.1 MiB/s in 8s ETA: 0s info: installing component 'rustfmt' info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu installed - rustc 1.63.0 (4b91a6ea7 2022-08-08) Rust is installed now. Great! To get started you may need to restart your current shell. This would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source "$HOME/.cargo/env"
warning: it looks like you have an existing installation of Rust at: warning: /usr/bin warning: rustup should not be installed alongside Rust. Please uninstall your existing Rust first. warning: Otherwise you may have confusion unless you are careful with your PATH warning: If you are sure that you want both rustup and your already installed Rust warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes warning: or pass `-y' to ignore all ignorable checks.
Rust の既存のインストールがあるようです: /usr/bin rustup は Rust と一緒にインストールしないでください。最初に既存の Rust をアンインストールしてください。 そうしないと、PATH に注意しない限り、混乱する可能性があります。 rustup とすでにインストールされているRustの両方が必要な場合は、`y' または `yes' と応答するか、RUSTUP_INIT_SKIP_PATH_CHECK を yes に設定するか、`-y' を渡してすべてのチェックを無視できます。
Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. Rustup metadata and toolchains will be installed into the Rustup home directory, located at: /home/tomoyan/.rustup This can be modified with the RUSTUP_HOME environment variable. The Cargo home directory located at: /home/tomoyan/.cargo This can be modified with the CARGO_HOME environment variable. The cargo, rustc, rustup and other commands will be added to Cargo's bin directory, located at: /home/tomoyan/.cargo/bin This path will then be added to your PATH environment variable by modifying the profile files located at: /home/tomoyan/.profile /home/tomoyan/.bash_profile /home/tomoyan/.bashrc You can uninstall at any time with rustup self uninstall and these changes will be reverted.
Rust へようこそ! これにより、Rust プログラミング言語の公式コンパイラとそのパッケージマネージャーである Cargo がダウンロードおよびインストールされます。 Rustupメタデータとツールチェーンは、次の場所にあるRustupホームディレクトリにインストールされます。 /home/tomoyan/.rustup これは、RUSTUP_HOME 環境変数を使用して変更できます。 次の場所にある Cargo ホームディレクトリ: /home/tomoyan/.cargo これは、CARGO_HOME 環境変数を使用して変更できます。 cargo、rustc、rustup、およびその他のコマンドは、次の場所にある Cargo の bin ディレクトリに追加されます。 /home/tomoyan/.cargo/bin このパスは、次の場所にあるプロファイルファイルを変更することにより、PATH 環境変数に追加されます。 /home/tomoyan/.profile /home/tomoyan/.bash_profile /home/tomoyan/.bashrc rustup セルフアンインストールを使用すると、いつでもアンインストールでき、これらの変更は元に戻されます。
.bashrc に自動ロードの設定を追加する。
$ echo 'source $HOME/.cargo/env' >> ~/.bashrc
bash の設定を反映させる。
$ . ~/.bashrc
動作確認
$ rustup --version
rustup 1.25.1 (bb60b1e89 2022-07-12) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active `rustc` version is `rustc 1.63.0 (4b91a6ea7 2022-08-08)`
$ rustc --version
rustc 1.63.0 (4b91a6ea7 2022-08-08)
$ cargo --version
cargo 1.63.0 (fd9c4297c 2022-07-01)
実行ファイルのパス確認
$ which rustup rustc cargo
~/.cargo/bin/rustup ~/.cargo/bin/rustc ~/.cargo/bin/cargo
こちらは Fedora のリポジトリからインストールしたコマンドである🤔
$ /bin/rustc --version && /bin/cargo --version
rustc 1.63.0 (Fedora 1.63.0-1.fc36) cargo 1.63.0
Evcxr
インストールのヒント🤔
搭載メモリーが少ないマシンでは、/tmp
の容量不足でビルド出来ない場合がある🤔
$ neofetch
`.::///+:/-. --///+//-:`` dietpi@dietpi-001 `+oooooooooooo: `+oooooooooooo: ----------------- /oooo++//ooooo: ooooo+//+ooooo. OS: Raspbian GNU/Linux 12 (bookworm) armv6l `+ooooooo:-:oo- +o+::/ooooooo: Host: Raspberry Pi Zero W Rev 1.1 `:oooooooo+`` `.oooooooo+- Kernel: 6.1.21+ `:++ooo/. :+ooo+/.` Uptime: 2 days, 5 hours, 8 mins ...` `.----.` ``.. Packages: 1628 (dpkg) .::::-``:::::::::.`-:::-` Shell: zsh 5.9 -:::-` .:::::::-` `-:::- Terminal: /dev/pts/0 `::. `.--.` `` `.---.``.::` CPU: BCM2835 (1) @ 1.100GHz .::::::::` -::::::::` ` Memory: 93MiB / 429MiB .::` .:::::::::- `::::::::::``::. -:::` ::::::::::. ::::::::::.`:::- :::: -::::::::. `-:::::::: :::: -::- .-:::-.``....``.-::-. -::- .. `` .::::::::. `..`.. -:::-` -::::::::::` .:::::` :::::::` -::::::::::` :::::::. .::::::: -::::::::. :::::::: `-:::::` ..--.` ::::::. `...` `...--..` `...` .:::::::::: `.-::::-`
$ df -h
Filesystem Size Used Avail Use% Mounted on /dev/root 115G 36G 75G 33% / devtmpfs 183M 0 183M 0% /dev tmpfs 215M 52K 215M 1% /dev/shm tmpfs 86M 8.3M 78M 10% /run tmpfs 5.0M 8.0K 5.0M 1% /run/lock tmpfs 50M 8.0K 50M 1% /var/log tmpfs 428M 0 428M 0% /tmp /dev/mmcblk0p1 127M 52M 75M 42% /boot tmpfs 43M 4.0K 43M 1% /run/user/1000
$ free -m
total used free shared buff/cache available Mem: 429 109 39 8 307 320 Swap: 3071 0 3071
cargo
実行時にコマンドの前に TMPDIR=/var/tmp
を指定してテンポラリーディレクトリを一時的に変更する🤔
$ TMPDIR=/var/tmp cargo install evcxr_repl $ TMPDIR=/var/tmp cargo install evcxr_jupyter
Evcxr Rust REPL のインストール
依存パッケージのインストール
ビルドには openssl-devel
パッケージが必要になる🤔
$ sudo dnf install openssl-devel
Fedora 36 - x86_64 - Updates 5.8 kB/s | 5.5 kB 00:00 Fedora 36 - x86_64 - Updates 273 kB/s | 515 kB 00:01 Fedora Modular 36 - x86_64 - Updates 6.7 kB/s | 4.8 kB 00:00 依存関係が解決しました。 ============================================================================================================== パッケージ アーキテクチャー バージョン リポジトリー サイズ ============================================================================================================== インストール: openssl-devel x86_64 1:3.0.5-1.fc36 updates 3.0 M トランザクションの概要 ============================================================================================================== インストール 1 パッケージ ダウンロードサイズの合計: 3.0 M インストール後のサイズ: 4.6 M これでよろしいですか? [y/N]: y パッケージのダウンロード: openssl-devel-3.0.5-1.fc36.x86_64.rpm 2.3 MB/s | 3.0 MB 00:01 -------------------------------------------------------------------------------------------------------------- 合計 1.5 MB/s | 3.0 MB 00:02 トランザクションの確認を実行中 トランザクションの確認に成功しました。 トランザクションのテストを実行中 トランザクションのテストに成功しました。 トランザクションを実行中 準備 : 1/1 インストール中 : openssl-devel-1:3.0.5-1.fc36.x86_64 1/1 scriptletの実行中: openssl-devel-1:3.0.5-1.fc36.x86_64 1/1 検証 : openssl-devel-1:3.0.5-1.fc36.x86_64 1/1 インストール済み: openssl-devel-1:3.0.5-1.fc36.x86_64 完了しました!
ビルドとインストール
REPL を使用する前に Rust のソース コードのローカル コピーをダウンロードする必要がある🤔
$ rustup component add rust-src
info: downloading component 'rust-src' info: installing component 'rust-src'
Evcxr をソースコードからビルドする🤔
$ cargo install evcxr_repl
Updating crates.io index Downloaded evcxr_repl v0.12.0 Downloaded 1 crate (30.7 KB) in 0.82s Installing evcxr_repl v0.12.0 Downloaded endian-type v0.1.2 Downloaded addr2line v0.17.0 Downloaded ena v0.14.0 Downloaded drop_bomb v0.1.5 Downloaded ra_ap_project_model v0.0.76 Downloaded evcxr v0.12.0 Downloaded dot v0.1.4 Downloaded expect-test v1.3.0 Downloaded rustc-hash v1.1.0 Downloaded rustyline v9.1.2 Downloaded rustix v0.34.8 Downloaded ryu v1.0.10 Downloaded notify v5.0.0-pre.13 Downloaded ra_ap_cfg v0.0.76 Downloaded ra_ap_base_db v0.0.76 Downloaded pulldown-cmark-to-cmark v6.0.4 Downloaded perf-event-open-sys v1.0.1 Downloaded ra_ap_hir v0.0.76 Downloaded rustc-demangle v0.1.21 Downloaded mimalloc v0.1.29 Downloaded jod-thread v0.1.2 Downloaded inotify-sys v0.1.5 Downloaded ra_ap_hir_def v0.0.76 Downloaded ra_ap_hir_expand v0.0.76 Downloaded ra_ap_ide_completion v0.0.76 Downloaded ra_ap_ide_db v0.0.76 Downloaded always-assert v0.1.2 Downloaded anyhow v1.0.57 Downloaded salsa v0.17.0-pre.1 Downloaded tracing-attributes v0.1.21 Downloaded chalk-recursive v0.71.0 Downloaded chalk-ir v0.71.0 Downloaded cargo_metadata v0.14.2 Downloaded which v4.2.5 Downloaded unicode-xid v0.2.3 Downloaded camino v1.0.9 Downloaded text-size v1.1.0 Downloaded smol_str v0.1.23 Downloaded salsa-macros v0.17.0-pre.2 Downloaded cargo-platform v0.1.2 Downloaded arrayvec v0.7.2 Downloaded clap v2.34.0 Downloaded chalk-solve v0.71.0 Downloaded ra_ap_hir_ty v0.0.76 Downloaded crossbeam-channel v0.5.4 Downloaded ra_ap_ide_diagnostics v0.0.76 Downloaded crossbeam-deque v0.8.1 Downloaded cov-mark v2.0.0-pre.1 Downloaded crossbeam-epoch v0.9.8 Downloaded countme v2.0.4 Downloaded crossbeam-utils v0.8.8 Downloaded dashmap v4.0.2 Downloaded dirs-sys v0.3.7 Downloaded dirs v3.0.2 Downloaded fastrand v1.7.0 Downloaded evcxr_input v1.0.0 Downloaded ra_ap_la-arena v0.0.76 Downloaded ra_ap_ide_assists v0.0.76 Downloaded memoffset v0.6.5 Downloaded json v0.12.4 Downloaded ra_ap_ide v0.0.76 Downloaded ra_ap_limit v0.0.76 Downloaded ra_ap_ide_ssr v0.0.76 Downloaded ra_ap_mbe v0.0.76 Downloaded ra_ap_paths v0.0.76 Downloaded ra_ap_parser v0.0.76 Downloaded ra_ap_test_utils v0.0.76 Downloaded ra_ap_vfs v0.0.76 Downloaded ra_ap_toolchain v0.0.76 Downloaded filetime v0.2.16 Downloaded lazy_static v1.4.0 Downloaded instant v0.1.12 Downloaded matches v0.1.9 Downloaded form_urlencoded v1.0.1 Downloaded fixedbitset v0.2.0 Downloaded num_cpus v1.13.1 Downloaded radix_trie v0.2.1 Downloaded ra_ap_vfs-notify v0.0.76 Downloaded scopeguard v1.1.0 Downloaded same-file v1.0.6 Downloaded ra_ap_stdx v0.0.76 Downloaded percent-encoding v2.1.0 Downloaded ra_ap_tt v0.0.76 Downloaded adler v1.0.2 Downloaded dirs-sys-next v0.1.2 Downloaded strsim v0.8.0 Downloaded cfg-if v1.0.0 Downloaded atty v0.2.14 Downloaded tinyvec_macros v0.1.0 Downloaded either v1.6.1 Downloaded dirs-next v2.0.0 Downloaded itoa v1.0.2 Downloaded ra_ap_text_edit v0.0.76 Downloaded ra_ap_profile v0.0.76 Downloaded vec_map v0.8.2 Downloaded proc-macro-error-attr v1.0.4 Downloaded remove_dir_all v0.5.3 Downloaded rustc-ap-rustc_lexer v725.0.0 Downloaded semver v1.0.10 Downloaded serde_derive v1.0.137 Downloaded structopt v0.3.26 Downloaded textwrap v0.11.0 Downloaded synstructure v0.12.6 Downloaded structopt-derive v0.4.18 Downloaded serde_json v1.0.81 Downloaded unicase v2.6.0 Downloaded serde v1.0.137 Downloaded smallvec v1.8.0 Downloaded tempfile v3.3.0 Downloaded tinyvec v1.6.0 Downloaded version_check v0.9.4 Downloaded unicode-width v0.1.9 Downloaded unicode-ident v1.0.0 Downloaded url v2.2.2 Downloaded unicode-normalization v0.1.19 Downloaded oorandom v11.1.3 Downloaded walkdir v2.3.2 Downloaded unicode-segmentation v1.9.0 Downloaded utf8parse v0.2.0 Downloaded scoped-tls v1.0.0 Downloaded unicode-bidi v0.3.8 Downloaded pulldown-cmark v0.8.0 Downloaded chalk-derive v0.71.0 Downloaded anymap v0.12.1 Downloaded fd-lock v3.0.5 Downloaded libloading v0.7.3 Downloaded tracing v0.1.35 Downloaded log v0.4.17 Downloaded once_cell v1.12.0 Downloaded rayon-core v1.9.3 Downloaded parking_lot_core v0.8.5 Downloaded parking_lot v0.11.2 Downloaded memchr v2.5.0 Downloaded lock_api v0.4.7 Downloaded dissimilar v1.0.4 Downloaded regex v1.5.6 Downloaded pin-project-lite v0.2.9 Downloaded rayon v1.5.3 Downloaded ansi_term v0.12.1 Downloaded quote v1.0.18 Downloaded proc-macro-error v1.0.4 Downloaded petgraph v0.5.1 Downloaded proc-macro2 v1.0.39 Downloaded indexmap v1.8.2 Downloaded io-lifetimes v0.6.1 Downloaded bitflags v1.3.2 Downloaded hashbrown v0.11.2 Downloaded nibble_vec v0.1.0 Downloaded miniz_oxide v0.5.3 Downloaded autocfg v1.1.0 Downloaded syn v1.0.96 Downloaded tracing-core v0.1.27 Downloaded sig v1.0.0 Downloaded regex-syntax v0.6.26 Downloaded backtrace v0.3.65 Downloaded cc v1.0.73 Downloaded mio v0.7.14 Downloaded rowan v0.14.1 Downloaded itertools v0.10.3 Downloaded object v0.28.4 Downloaded nix v0.23.1 Downloaded idna v0.2.3 Downloaded home v0.5.3 Downloaded inotify v0.9.6 Downloaded ra_ap_syntax v0.0.76 Downloaded perf-event v0.4.7 Downloaded heck v0.3.3 Downloaded colored v2.0.0 Downloaded libc v0.2.126 Downloaded gimli v0.26.1 Downloaded linux-raw-sys v0.0.46 Downloaded libmimalloc-sys v0.1.25 Downloaded fst v0.4.7 Downloaded 173 crates (13.2 MB) in 3.47s (largest was `fst` at 1.6 MB) Compiling libc v0.2.126 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.39 Compiling unicode-ident v1.0.0 Compiling autocfg v1.1.0 Compiling syn v1.0.96 Compiling log v0.4.17 Compiling lazy_static v1.4.0 Compiling serde_derive v1.0.137 Compiling serde v1.0.137 Compiling rustc-hash v1.1.0 Compiling once_cell v1.12.0 Compiling hashbrown v0.11.2 Compiling crossbeam-utils v0.8.8 Compiling bitflags v1.3.2 Compiling smallvec v1.8.0 Compiling either v1.6.1 Compiling scopeguard v1.1.0 Compiling unicode-segmentation v1.9.0 Compiling text-size v1.1.0 Compiling parking_lot_core v0.8.5 Compiling fst v0.4.7 Compiling ra_ap_la-arena v0.0.76 Compiling pin-project-lite v0.2.9 Compiling dissimilar v1.0.4 Compiling unicode-xid v0.2.3 Compiling drop_bomb v0.1.5 Compiling version_check v0.9.4 Compiling ra_ap_paths v0.0.76 Compiling cov-mark v2.0.0-pre.1 Compiling oorandom v11.1.3 Compiling fixedbitset v0.2.0 Compiling ra_ap_limit v0.0.76 Compiling rayon-core v1.9.3 Compiling anymap v0.12.1 Compiling arrayvec v0.7.2 Compiling scoped-tls v1.0.0 Compiling memchr v2.5.0 Compiling cc v1.0.73 Compiling tinyvec_macros v0.1.0 Compiling matches v0.1.9 Compiling serde_json v1.0.81 Compiling camino v1.0.9 Compiling semver v1.0.10 Compiling pulldown-cmark v0.8.0 Compiling io-lifetimes v0.6.1 Compiling percent-encoding v2.1.0 Compiling anyhow v1.0.57 Compiling itoa v1.0.2 Compiling rustix v0.34.8 Compiling ryu v1.0.10 Compiling unicode-width v0.1.9 Compiling unicode-bidi v0.3.8 Compiling same-file v1.0.6 Compiling gimli v0.26.1 Compiling adler v1.0.2 Compiling linux-raw-sys v0.0.46 Compiling home v0.5.3 Compiling strsim v0.8.0 Compiling jod-thread v0.1.2 Compiling ansi_term v0.12.1 Compiling vec_map v0.8.2 Compiling dot v0.1.4 Compiling endian-type v0.1.2 Compiling rustc-demangle v0.1.21 Compiling regex-syntax v0.6.26 Compiling fastrand v1.7.0 Compiling remove_dir_all v0.5.3 Compiling json v0.12.4 Compiling utf8parse v0.2.0 Compiling evcxr_input v1.0.0 Compiling instant v0.1.12 Compiling libloading v0.7.3 Compiling memoffset v0.6.5 Compiling indexmap v1.8.2 Compiling lock_api v0.4.7 Compiling crossbeam-epoch v0.9.8 Compiling rayon v1.5.3 Compiling tracing-core v0.1.27 Compiling nibble_vec v0.1.0 Compiling itertools v0.10.3 Compiling ra_ap_text_edit v0.0.76 Compiling heck v0.3.3 Compiling rustc-ap-rustc_lexer v725.0.0 Compiling ra_ap_parser v0.0.76 Compiling expect-test v1.3.0 Compiling unicase v2.6.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling tinyvec v1.6.0 Compiling backtrace v0.3.65 Compiling libmimalloc-sys v0.1.25 Compiling form_urlencoded v1.0.1 Compiling textwrap v0.11.0 Compiling walkdir v2.3.2 Compiling miniz_oxide v0.5.3 Compiling addr2line v0.17.0 Compiling ra_ap_toolchain v0.0.76 Compiling regex v1.5.6 Compiling radix_trie v0.2.1 Compiling unicode-normalization v0.1.19 Compiling num_cpus v1.13.1 Compiling perf-event-open-sys v1.0.1 Compiling inotify-sys v0.1.5 Compiling atty v0.2.14 Compiling filetime v0.2.16 Compiling dirs-sys-next v0.1.2 Compiling dirs-sys v0.3.7 Compiling sig v1.0.0 Compiling which v4.2.5 Compiling tempfile v3.3.0 Compiling quote v1.0.18 Compiling always-assert v0.1.2 Compiling ena v0.14.0 Compiling mio v0.7.14 Compiling crossbeam-channel v0.5.4 Compiling object v0.28.4 Compiling idna v0.2.3 Compiling dashmap v4.0.2 Compiling perf-event v0.4.7 Compiling inotify v0.9.6 Compiling clap v2.34.0 Compiling colored v2.0.0 Compiling dirs v3.0.2 Compiling dirs-next v2.0.0 Compiling nix v0.23.1 Compiling parking_lot v0.11.2 Compiling ra_ap_stdx v0.0.76 Compiling ra_ap_vfs v0.0.76 Compiling petgraph v0.5.1 Compiling fd-lock v3.0.5 Compiling url v2.2.2 Compiling mimalloc v0.1.29 Compiling countme v2.0.4 Compiling notify v5.0.0-pre.13 Compiling synstructure v0.12.6 Compiling tracing-attributes v0.1.21 Compiling salsa-macros v0.17.0-pre.2 Compiling crossbeam-deque v0.8.1 Compiling pulldown-cmark-to-cmark v6.0.4 Compiling rustyline v9.1.2 Compiling ra_ap_profile v0.0.76 Compiling rowan v0.14.1 Compiling chalk-derive v0.71.0 Compiling salsa v0.17.0-pre.1 Compiling tracing v0.1.35 Compiling structopt-derive v0.4.18 Compiling ra_ap_test_utils v0.0.76 Compiling chalk-ir v0.71.0 Compiling smol_str v0.1.23 Compiling cargo-platform v0.1.2 Compiling ra_ap_vfs-notify v0.0.76 Compiling structopt v0.3.26 Compiling chalk-solve v0.71.0 Compiling ra_ap_tt v0.0.76 Compiling ra_ap_syntax v0.0.76 Compiling cargo_metadata v0.14.2 Compiling ra_ap_cfg v0.0.76 Compiling chalk-recursive v0.71.0 Compiling ra_ap_mbe v0.0.76 Compiling ra_ap_base_db v0.0.76 Compiling ra_ap_hir_expand v0.0.76 Compiling ra_ap_project_model v0.0.76 Compiling ra_ap_hir_def v0.0.76 Compiling ra_ap_hir_ty v0.0.76 Compiling ra_ap_hir v0.0.76 Compiling ra_ap_ide_db v0.0.76 Compiling ra_ap_ide_diagnostics v0.0.76 Compiling ra_ap_ide_assists v0.0.76 Compiling ra_ap_ide_completion v0.0.76 Compiling ra_ap_ide_ssr v0.0.76 Compiling ra_ap_ide v0.0.76 Compiling evcxr v0.12.0 Compiling evcxr_repl v0.12.0 Finished release [optimized] target(s) in 7m 59s Installing /home/tomoyan/.cargo/bin/evcxr Installed package `evcxr_repl v0.12.0` (executable `evcxr`)
EvCxR Jupyter Kernel
本家: evcxr/evcxr_jupyter at main · google/evcxr
$ cargo install evcxr_jupyter
Updating crates.io index Installing evcxr_jupyter v0.12.0 Downloaded getrandom v0.2.7 Downloaded 1 crate (28.9 KB) in 0.64s Compiling libc v0.2.126 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.39 Compiling unicode-ident v1.0.1 Compiling syn v1.0.96 Compiling log v0.4.17 Compiling serde_derive v1.0.137 Compiling lazy_static v1.4.0 Compiling once_cell v1.12.0 Compiling rustc-hash v1.1.0 Compiling serde v1.0.137 Compiling hashbrown v0.11.2 Compiling crossbeam-utils v0.8.8 Compiling either v1.6.1 Compiling scopeguard v1.1.0 Compiling bitflags v1.3.2 Compiling text-size v1.1.0 Compiling parking_lot_core v0.8.5 Compiling pin-project-lite v0.2.9 Compiling ra_ap_la-arena v0.0.76 Compiling smallvec v1.8.0 Compiling fst v0.4.7 Compiling unicode-segmentation v1.9.0 Compiling unicode-xid v0.2.3 Compiling dissimilar v1.0.4 Compiling drop_bomb v0.1.5 Compiling ra_ap_paths v0.0.76 Compiling cov-mark v2.0.0-pre.1 Compiling cc v1.0.73 Compiling version_check v0.9.4 Compiling oorandom v11.1.3 Compiling fixedbitset v0.2.0 Compiling rayon-core v1.9.3 Compiling ra_ap_limit v0.0.76 Compiling anymap v0.12.1 Compiling scoped-tls v1.0.0 Compiling arrayvec v0.7.2 Compiling memchr v2.5.0 Compiling typenum v1.15.0 Compiling pkg-config v0.3.25 Compiling toml v0.2.1 Compiling error-chain v0.10.0 Compiling tinyvec_macros v0.1.0 Compiling serde_json v1.0.81 Compiling pulldown-cmark v0.8.0 Compiling matches v0.1.9 Compiling camino v1.0.9 Compiling semver v1.0.10 Compiling same-file v1.0.6 Compiling percent-encoding v2.1.0 Compiling ryu v1.0.10 Compiling itoa v1.0.2 Compiling anyhow v1.0.57 Compiling unicode-bidi v0.3.8 Compiling adler v1.0.2 Compiling gimli v0.26.1 Compiling home v0.5.3 Compiling fastrand v1.7.0 Compiling jod-thread v0.1.2 Compiling regex-syntax v0.6.26 Compiling zmq v0.9.2 Compiling subtle v2.4.1 Compiling rustc-demangle v0.1.21 Compiling remove_dir_all v0.5.3 Compiling dot v0.1.4 Compiling cpufeatures v0.2.2 Compiling evcxr_input v1.0.0 Compiling opaque-debug v0.3.0 Compiling json v0.12.4 Compiling hex v0.4.3 Compiling instant v0.1.12 Compiling libloading v0.7.3 Compiling indexmap v1.8.2 Compiling memoffset v0.6.5 Compiling lock_api v0.4.7 Compiling crossbeam-epoch v0.9.8 Compiling rayon v1.5.3 Compiling num-traits v0.2.15 Compiling num-integer v0.1.45 Compiling tracing-core v0.1.27 Compiling itertools v0.10.3 Compiling ra_ap_text_edit v0.0.76 Compiling rustc-ap-rustc_lexer v725.0.0 Compiling heck v0.3.3 Compiling ra_ap_parser v0.0.76 Compiling expect-test v1.3.0 Compiling cmake v0.1.48 Compiling generic-array v0.14.5 Compiling unicase v2.6.0 Compiling libmimalloc-sys v0.1.25 Compiling backtrace v0.3.65 Compiling metadeps v1.1.2 Compiling tinyvec v1.6.0 Compiling walkdir v2.3.2 Compiling form_urlencoded v1.0.1 Compiling miniz_oxide v0.5.3 Compiling ra_ap_toolchain v0.0.76 Compiling addr2line v0.17.0 Compiling regex v1.5.6 Compiling zeromq-src v0.1.10+4.3.2 Compiling unicode-normalization v0.1.19 Compiling num_cpus v1.13.1 Compiling perf-event-open-sys v1.0.1 Compiling inotify-sys v0.1.5 Compiling filetime v0.2.16 Compiling dirs-sys v0.3.7 Compiling time v0.1.44 Compiling atty v0.2.14 Compiling sig v1.0.0 Compiling which v4.2.5 Compiling tempfile v3.3.0 Compiling getrandom v0.2.7 Compiling quote v1.0.18 Compiling always-assert v0.1.2 Compiling ena v0.14.0 Compiling mio v0.7.14 Compiling crossbeam-channel v0.5.4 Compiling zmq-sys v0.11.0 Compiling object v0.28.4 Compiling idna v0.2.3 Compiling dashmap v4.0.2 Compiling perf-event v0.4.7 Compiling inotify v0.9.6 Compiling dirs v3.0.2 Compiling colored v2.0.0 Compiling uuid v0.8.2 Compiling ra_ap_vfs v0.0.76 Compiling petgraph v0.5.1 Compiling parking_lot v0.11.2 Compiling ra_ap_stdx v0.0.76 Compiling mimalloc v0.1.29 Compiling digest v0.9.0 Compiling crypto-mac v0.11.1 Compiling block-buffer v0.9.0 Compiling url v2.2.2 Compiling countme v2.0.4 Compiling notify v5.0.0-pre.13 Compiling crossbeam-deque v0.8.1 Compiling chrono v0.4.19 Compiling synstructure v0.12.6 Compiling tracing-attributes v0.1.21 Compiling salsa-macros v0.17.0-pre.2 Compiling pulldown-cmark-to-cmark v6.0.4 Compiling hmac v0.11.0 Compiling sha2 v0.9.9 Compiling ra_ap_profile v0.0.76 Compiling rowan v0.14.1 Compiling chalk-derive v0.71.0 Compiling tracing v0.1.35 Compiling salsa v0.17.0-pre.1 Compiling ra_ap_test_utils v0.0.76 Compiling ra_ap_vfs-notify v0.0.76 Compiling chalk-ir v0.71.0 Compiling smol_str v0.1.23 Compiling cargo-platform v0.1.2 Compiling chalk-solve v0.71.0 Compiling ra_ap_tt v0.0.76 Compiling ra_ap_syntax v0.0.76 Compiling cargo_metadata v0.14.2 Compiling ra_ap_cfg v0.0.76 Compiling chalk-recursive v0.71.0 Compiling ra_ap_mbe v0.0.76 Compiling ra_ap_base_db v0.0.76 Compiling ra_ap_hir_expand v0.0.76 Compiling ra_ap_project_model v0.0.76 Compiling ra_ap_hir_def v0.0.76 Compiling ra_ap_hir_ty v0.0.76 Compiling ra_ap_hir v0.0.76 Compiling ra_ap_ide_db v0.0.76 Compiling ra_ap_ide_completion v0.0.76 Compiling ra_ap_ide_ssr v0.0.76 Compiling ra_ap_ide_diagnostics v0.0.76 Compiling ra_ap_ide_assists v0.0.76 Compiling ra_ap_ide v0.0.76 Compiling evcxr v0.12.0 Compiling evcxr_jupyter v0.12.0 Finished release [optimized] target(s) in 8m 03s Installing /home/tomoyan/.cargo/bin/evcxr_jupyter Installed package `evcxr_jupyter v0.12.0` with `evcxr_jupyter v0.12.0` (executable `evcxr_jupyter`)
Jupyter Kernel としてインストールする🤤
$ evcxr_jupyter --install
Writing /home/tomoyan/.local/share/jupyter/kernels/rust/kernel.json Writing /home/tomoyan/.local/share/jupyter/kernels/rust/logo-32x32.png Writing /home/tomoyan/.local/share/jupyter/kernels/rust/logo-64x64.png Writing /home/tomoyan/.local/share/jupyter/kernels/rust/logo-LICENSE.md Writing /home/tomoyan/.local/share/jupyter/kernels/rust/kernel.js Writing /home/tomoyan/.local/share/jupyter/kernels/rust/lint.js Writing /home/tomoyan/.local/share/jupyter/kernels/rust/lint.css Writing /home/tomoyan/.local/share/jupyter/kernels/rust/lint-LICENSE Writing /home/tomoyan/.local/share/jupyter/kernels/rust/version.txt Installation complete
トラブルシューティング
[evcxr_jupyter] failed to execute command: No such file or directory (os error 2) is `cmake` not installed? でビルドがエラー終了する
$ cargo install evcxr_jupyter
Updating crates.io index Downloaded evcxr_jupyter v0.13.0 Downloaded 1 crate (49.1 KB) in 1.35s Installing evcxr_jupyter v0.13.0 Downloaded metadeps v1.1.2 ... Compiling colored v2.0.0 Compiling uuid v1.1.2 error: failed to run custom build command for `zmq-sys v0.11.0` Caused by: process didn't exit successfully: `/tmp/cargo-installQKyvMM/release/build/zmq-sys-79b3b1ba6e03ecd7/build-script-main` (exit status: 101) --- stdout cargo:rerun-if-changed=build/main.rs cargo:rerun-if-env-changed=PROFILE CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None HOST_CMAKE_TOOLCHAIN_FILE = None CMAKE_TOOLCHAIN_FILE = None CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None HOST_CMAKE_GENERATOR = None CMAKE_GENERATOR = None CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None HOST_CMAKE_PREFIX_PATH = None CMAKE_PREFIX_PATH = None CMAKE_x86_64-unknown-linux-gnu = None CMAKE_x86_64_unknown_linux_gnu = None HOST_CMAKE = None CMAKE = None running: "cmake" "/home/tomoyan/.cargo/registry/src/github.com-1ecc6299db9ec823/zeromq-src-0.1.10+4.3.2/vendor" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_C_STANDARD=99" "-DZMQ_BUILD_TESTS=OFF" "-DENABLE_DRAFTS=OFF" "-DENABLE_CURVE=ON" "-DCMAKE_BUILD_TYPE=Release" "-DWITH_PERF_TOOL=OFF" "-DBUILD_SHARED=OFF" "-DBUILD_STATIC=ON" "-DWITH_LIBSODIUM=OFF" "-DCMAKE_INSTALL_PREFIX=/tmp/cargo-installQKyvMM/release/build/zmq-sys-9e57c480b909b261/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" --- stderr thread 'main' panicked at ' failed to execute command: No such file or directory (os error 2) is `cmake` not installed? build script failed, must exit now', /home/tomoyan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile `evcxr_jupyter v0.13.0`, intermediate artifacts can be found at `/tmp/cargo-installQKyvMM`
cmake パッケージをインストールしてから再実行する🤔
$ sudo dnf install cmake
メタデータの期限切れの最終確認: 0:28:59 時間前の 2022年09月02日 21時29分01秒 に実施しました。 依存関係が解決しました。 ============================================================================================================== パッケージ アーキテクチャー バージョン リポジトリー サイズ ============================================================================================================== インストール: cmake x86_64 3.22.2-1.fc36 fedora 6.3 M 依存関係のインストール: cmake-data noarch 3.22.2-1.fc36 fedora 1.6 M cmake-filesystem x86_64 3.22.2-1.fc36 fedora 18 k cmake-rpm-macros noarch 3.22.2-1.fc36 fedora 17 k jsoncpp x86_64 1.9.5-2.fc36 fedora 98 k rhash x86_64 1.4.2-2.fc36 fedora 185 k vim-filesystem noarch 2:9.0.246-1.fc36 updates 20 k トランザクションの概要 ============================================================================================================== インストール 7 パッケージ ダウンロードサイズの合計: 8.2 M インストール後のサイズ: 31 M これでよろしいですか? [y/N]: y パッケージのダウンロード: (1/7): cmake-filesystem-3.22.2-1.fc36.x86_64.rpm 93 kB/s | 18 kB 00:00 (2/7): cmake-rpm-macros-3.22.2-1.fc36.noarch.rpm 197 kB/s | 17 kB 00:00 (3/7): jsoncpp-1.9.5-2.fc36.x86_64.rpm 246 kB/s | 98 kB 00:00 (4/7): rhash-1.4.2-2.fc36.x86_64.rpm 672 kB/s | 185 kB 00:00 (5/7): vim-filesystem-9.0.246-1.fc36.noarch.rpm 120 kB/s | 20 kB 00:00 (6/7): cmake-data-3.22.2-1.fc36.noarch.rpm 1.2 MB/s | 1.6 MB 00:01 (7/7): cmake-3.22.2-1.fc36.x86_64.rpm 2.1 MB/s | 6.3 MB 00:03 -------------------------------------------------------------------------------------------------------------- 合計 1.7 MB/s | 8.2 MB 00:04 トランザクションの確認を実行中 トランザクションの確認に成功しました。 トランザクションのテストを実行中 トランザクションのテストに成功しました。 トランザクションを実行中 準備 : 1/1 インストール中 : cmake-rpm-macros-3.22.2-1.fc36.noarch 1/7 インストール中 : cmake-filesystem-3.22.2-1.fc36.x86_64 2/7 インストール中 : vim-filesystem-2:9.0.246-1.fc36.noarch 3/7 インストール中 : rhash-1.4.2-2.fc36.x86_64 4/7 インストール中 : jsoncpp-1.9.5-2.fc36.x86_64 5/7 インストール中 : cmake-data-3.22.2-1.fc36.noarch 6/7 インストール中 : cmake-3.22.2-1.fc36.x86_64 7/7 scriptletの実行中: cmake-3.22.2-1.fc36.x86_64 7/7 検証 : cmake-3.22.2-1.fc36.x86_64 1/7 検証 : cmake-data-3.22.2-1.fc36.noarch 2/7 検証 : cmake-filesystem-3.22.2-1.fc36.x86_64 3/7 検証 : cmake-rpm-macros-3.22.2-1.fc36.noarch 4/7 検証 : jsoncpp-1.9.5-2.fc36.x86_64 5/7 検証 : rhash-1.4.2-2.fc36.x86_64 6/7 検証 : vim-filesystem-2:9.0.246-1.fc36.noarch 7/7 インストール済み: cmake-3.22.2-1.fc36.x86_64 cmake-data-3.22.2-1.fc36.noarch cmake-filesystem-3.22.2-1.fc36.x86_64 cmake-rpm-macros-3.22.2-1.fc36.noarch jsoncpp-1.9.5-2.fc36.x86_64 rhash-1.4.2-2.fc36.x86_64 vim-filesystem-2:9.0.246-1.fc36.noarch 完了しました!
[evcxr_jupyter] CMake Error at CMakeLists.txt:2 (project): The CMAKE_CXX_COMPILER: c++ is not a full path and was not found in the PATH. でビルドがエラー終了する
$ cargo install evcxr_jupyter
Updating crates.io index Downloaded evcxr_jupyter v0.13.0 Downloaded 1 crate (49.1 KB) in 1.35s Installing evcxr_jupyter v0.13.0 Downloaded metadeps v1.1.2 ... Compiling notify v5.0.0-pre.15 Compiling chrono v0.4.22 error: failed to run custom build command for `zmq-sys v0.11.0` Caused by: process didn't exit successfully: `/tmp/cargo-installsjfkku/release/build/zmq-sys-79b3b1ba6e03ecd7/build-script-main` (exit status: 101) --- stdout cargo:rerun-if-changed=build/main.rs cargo:rerun-if-env-changed=PROFILE CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None HOST_CMAKE_TOOLCHAIN_FILE = None CMAKE_TOOLCHAIN_FILE = None CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None HOST_CMAKE_GENERATOR = None CMAKE_GENERATOR = None CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None HOST_CMAKE_PREFIX_PATH = None CMAKE_PREFIX_PATH = None CMAKE_x86_64-unknown-linux-gnu = None CMAKE_x86_64_unknown_linux_gnu = None HOST_CMAKE = None CMAKE = None running: "cmake" "/home/tomoyan/.cargo/registry/src/github.com-1ecc6299db9ec823/zeromq-src-0.1.10+4.3.2/vendor" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_C_STANDARD=99" "-DZMQ_BUILD_TESTS=OFF" "-DENABLE_DRAFTS=OFF" "-DENABLE_CURVE=ON" "-DCMAKE_BUILD_TYPE=Release" "-DWITH_PERF_TOOL=OFF" "-DBUILD_SHARED=OFF" "-DBUILD_STATIC=ON" "-DWITH_LIBSODIUM=OFF" "-DCMAKE_INSTALL_PREFIX=/tmp/cargo-installsjfkku/release/build/zmq-sys-9e57c480b909b261/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring incomplete, errors occurred! See also "/tmp/cargo-installsjfkku/release/build/zmq-sys-9e57c480b909b261/out/build/CMakeFiles/CMakeOutput.log". See also "/tmp/cargo-installsjfkku/release/build/zmq-sys-9e57c480b909b261/out/build/CMakeFiles/CMakeError.log". --- stderr CMake Error at CMakeLists.txt:2 (project): The CMAKE_CXX_COMPILER: c++ is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. thread 'main' panicked at ' command did not execute successfully, got: exit status: 1 build script failed, must exit now', /home/tomoyan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile `evcxr_jupyter v0.13.0`, intermediate artifacts can be found at `/tmp/cargo-installsjfkku`
gcc-c++ パッケージをインストールしてから再実行する🤔
$ sudo dnf install gcc-c++
メタデータの期限切れの最終確認: 0:58:28 時間前の 2022年09月02日 21時29分01秒 に実施しました。 依存関係が解決しました。 ============================================================================================================== パッケージ アーキテクチャー バージョン リポジトリー サイズ ============================================================================================================== インストール: gcc-c++ x86_64 12.2.1-1.fc36 updates 13 M 依存関係のインストール: libstdc++-devel x86_64 12.2.1-1.fc36 updates 2.4 M トランザクションの概要 ============================================================================================================== インストール 2 パッケージ ダウンロードサイズの合計: 15 M インストール後のサイズ: 47 M これでよろしいですか? [y/N]: y パッケージのダウンロード: (1/2): libstdc++-devel-12.2.1-1.fc36.x86_64.rpm 1.7 MB/s | 2.4 MB 00:01 (2/2): gcc-c++-12.2.1-1.fc36.x86_64.rpm 3.1 MB/s | 13 MB 00:04 -------------------------------------------------------------------------------------------------------------- 合計 2.6 MB/s | 15 MB 00:05 トランザクションの確認を実行中 トランザクションの確認に成功しました。 トランザクションのテストを実行中 トランザクションのテストに成功しました。 トランザクションを実行中 準備 : 1/1 インストール中 : libstdc++-devel-12.2.1-1.fc36.x86_64 1/2 インストール中 : gcc-c++-12.2.1-1.fc36.x86_64 2/2 scriptletの実行中: gcc-c++-12.2.1-1.fc36.x86_64 2/2 検証 : gcc-c++-12.2.1-1.fc36.x86_64 1/2 検証 : libstdc++-devel-12.2.1-1.fc36.x86_64 2/2 インストール済み: gcc-c++-12.2.1-1.fc36.x86_64 libstdc++-devel-12.2.1-1.fc36.x86_64 完了しました!