文書の過去の版を表示しています。
ESP32 Rust 開発環境のインストール
本家: The Rust on ESP Book 翻訳
ソースコード: esp-rs/book: The Rust on ESP Book
Rust のインストール
Rust 関連 - インストール も参照…🤔
Fedora での手順
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | 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. 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-12-15, rust version 1.66.0 (69f9c33d7 2022-12-12) info: downloading component 'cargo' 6.5 MiB / 6.5 MiB (100 %) 1.2 MiB/s in 5s ETA: 0s info: downloading component 'clippy' 2.9 MiB / 2.9 MiB (100 %) 2.3 MiB/s in 1s ETA: 0s info: downloading component 'rust-docs' 19.0 MiB / 19.0 MiB (100 %) 1.7 MiB/s in 12s ETA: 0s info: downloading component 'rust-std' 29.7 MiB / 29.7 MiB (100 %) 1.9 MiB/s in 17s ETA: 0s info: downloading component 'rustc' 68.0 MiB / 68.0 MiB (100 %) 1.5 MiB/s in 45s ETA: 0s info: downloading component 'rustfmt' 4.4 MiB / 4.4 MiB (100 %) 1.0 MiB/s in 4s ETA: 0s info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' 19.0 MiB / 19.0 MiB (100 %) 5.5 MiB/s in 3s ETA: 0s info: installing component 'rust-std' 29.7 MiB / 29.7 MiB (100 %) 8.6 MiB/s in 3s ETA: 0s info: installing component 'rustc' 68.0 MiB / 68.0 MiB (100 %) 9.0 MiB/s in 7s 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.66.0 (69f9c33d7 2022-12-12) 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"
$ echo 'source $HOME/.cargo/env' >> ~/.bashrc $ . ~/.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.66.0 (69f9c33d7 2022-12-12)`
$ rustc --version
rustc 1.66.0 (69f9c33d7 2022-12-12)
$ cargo --version cargo 1.66.0 (d65d197ad 2022-11-15)
$ which rustup rustc cargo
/home/tomoyan/.cargo/bin/rustup /home/tomoyan/.cargo/bin/rustc /home/tomoyan/.cargo/bin/cargo
espup のインストール
依存パッケージのインストール
参考: Linux - GitHub - esp-rs/espup: Tool for installing and maintaining ESP Rust ecosystem. 翻訳
Fedora での手順
$ sudo dnf -y install git python3 python3-pip perl gcc systemd-devel
メタデータの期限切れの最終確認: 1:23:29 時間前の 2023年01月06日 10時18分36秒 に実施しました。 パッケージ git-2.38.1-1.fc37.x86_64 は既にインストールされています。 パッケージ python3-3.11.1-1.fc37.x86_64 は既にインストールされています。 パッケージ gcc-12.2.1-4.fc37.x86_64 は既にインストールされています。 依存関係が解決しました。 ============================================================================================================== パッケージ Arch バージョン リポジトリー サイズ ============================================================================================================== インストール: perl x86_64 4:5.36.0-492.fc37 fedora 16 k python3-pip noarch 22.2.2-3.fc37 updates 3.1 M systemd-devel x86_64 251.10-588.fc37 updates 579 k 依存関係のインストール: gcc-c++ x86_64 12.2.1-4.fc37 updates 13 M libstdc++-devel x86_64 12.2.1-4.fc37 updates 2.5 M perl-Algorithm-Diff noarch 1.2010-7.fc37 fedora 47 k perl-Archive-Tar noarch 2.40-490.fc37 fedora 71 k perl-Archive-Zip noarch 1.68-9.fc37 fedora 113 k perl-Attribute-Handlers noarch 1.02-492.fc37 fedora 31 k perl-AutoSplit noarch 5.74-492.fc37 fedora 25 k perl-Benchmark noarch 1.23-492.fc37 fedora 30 k perl-CPAN noarch 2.34-4.fc37 fedora 570 k perl-CPAN-Meta noarch 2.150010-489.fc37 fedora 195 k perl-CPAN-Meta-Requirements noarch 2.140-490.fc37 fedora 31 k perl-CPAN-Meta-YAML noarch 0.018-490.fc37 fedora 26 k perl-Compress-Bzip2 x86_64 2.28-10.fc37 fedora 67 k perl-Compress-Raw-Bzip2 x86_64 2.201-2.fc37 fedora 34 k perl-Compress-Raw-Lzma x86_64 2.201-2.fc37 fedora 49 k perl-Compress-Raw-Zlib x86_64 2.202-3.fc37 fedora 64 k perl-Config-Extensions noarch 0.03-492.fc37 fedora 15 k perl-Config-Perl-V noarch 0.34-1.fc37 fedora 21 k perl-DBM_Filter noarch 0.06-492.fc37 fedora 35 k perl-DB_File x86_64 1.858-4.fc37 fedora 81 k perl-Data-OptList noarch 0.112-5.fc37 fedora 27 k perl-Data-Section noarch 0.200007-17.fc37 fedora 25 k perl-Devel-PPPort x86_64 3.68-490.fc37 fedora 218 k perl-Devel-Peek x86_64 1.32-492.fc37 fedora 35 k perl-Devel-SelfStubber noarch 1.06-492.fc37 fedora 17 k perl-Devel-Size x86_64 0.83-13.fc37 fedora 30 k perl-Digest-SHA x86_64 1:6.03-1.fc37 fedora 62 k perl-Digest-SHA1 x86_64 2.13-37.fc37 fedora 52 k perl-DirHandle noarch 1.05-492.fc37 fedora 15 k perl-Dumpvalue noarch 2.27-492.fc37 fedora 21 k perl-Encode-devel x86_64 4:3.19-492.fc37 fedora 42 k perl-English noarch 1.11-492.fc37 fedora 17 k perl-Env noarch 1.05-489.fc37 fedora 20 k perl-ExtUtils-CBuilder noarch 1:0.280236-489.fc37 fedora 51 k perl-ExtUtils-Command noarch 2:7.64-490.fc37 fedora 14 k perl-ExtUtils-Constant noarch 0.25-492.fc37 fedora 50 k perl-ExtUtils-Embed noarch 1.35-492.fc37 fedora 21 k perl-ExtUtils-Install noarch 2.20-489.fc37 fedora 44 k perl-ExtUtils-MM-Utils noarch 2:7.64-490.fc37 fedora 12 k perl-ExtUtils-MakeMaker noarch 2:7.64-490.fc37 fedora 301 k perl-ExtUtils-Manifest noarch 1:1.73-489.fc37 fedora 34 k perl-ExtUtils-Miniperl noarch 1.11-492.fc37 fedora 18 k perl-ExtUtils-ParseXS noarch 1:3.45-489.fc37 fedora 188 k perl-File-Compare noarch 1.100.700-492.fc37 fedora 16 k perl-File-DosGlob x86_64 1.12-492.fc37 fedora 23 k perl-File-Fetch noarch 1.04-489.fc37 fedora 31 k perl-File-HomeDir noarch 1.006-7.fc37 fedora 62 k perl-File-Which noarch 1.27-6.fc37 fedora 22 k perl-FileCache noarch 1.10-492.fc37 fedora 18 k perl-Filter x86_64 2:1.64-1.fc37 fedora 89 k perl-Filter-Simple noarch 0.96-489.fc37 fedora 27 k perl-FindBin noarch 1.53-492.fc37 fedora 17 k perl-GDBM_File x86_64 1:1.23-492.fc37 fedora 46 k perl-Hash-Util x86_64 0.28-492.fc37 fedora 37 k perl-Hash-Util-FieldHash x86_64 1.26-492.fc37 fedora 41 k perl-I18N-Collate noarch 1.02-492.fc37 fedora 17 k perl-I18N-LangTags noarch 0.45-492.fc37 fedora 57 k perl-I18N-Langinfo x86_64 0.21-492.fc37 fedora 26 k perl-IO-Compress noarch 2.201-3.fc37 fedora 273 k perl-IO-Compress-Lzma noarch 2.201-2.fc37 fedora 79 k perl-IO-Zlib noarch 1:1.11-489.fc37 fedora 19 k perl-IPC-Cmd noarch 2:1.04-490.fc37 fedora 40 k perl-IPC-SysV x86_64 2.09-490.fc37 fedora 42 k perl-IPC-System-Simple noarch 1.30-9.fc37 fedora 39 k perl-Importer noarch 0.026-7.fc37 fedora 39 k perl-JSON-PP noarch 1:4.11-1.fc37 fedora 68 k perl-Locale-Maketext noarch 1.32-1.fc37 fedora 95 k perl-Locale-Maketext-Simple noarch 1:0.21-492.fc37 fedora 21 k perl-MIME-Charset noarch 1.013.1-1.fc37 fedora 49 k perl-MRO-Compat noarch 0.15-4.fc37 fedora 26 k perl-Math-BigInt noarch 1:1.9998.37-2.fc37 fedora 206 k perl-Math-BigInt-FastCalc x86_64 0.501.300-3.fc37 fedora 28 k perl-Math-BigRat noarch 0.2624-2.fc37 fedora 42 k perl-Math-Complex noarch 1.59-492.fc37 fedora 50 k perl-Memoize noarch 1.03-492.fc37 fedora 60 k perl-Module-Build noarch 2:0.42.31-15.fc37 fedora 264 k perl-Module-CoreList noarch 1:5.20221220-1.fc37 updates 85 k perl-Module-CoreList-tools noarch 1:5.20221220-1.fc37 updates 18 k perl-Module-Load noarch 1:0.36-489.fc37 fedora 17 k perl-Module-Load-Conditional noarch 0.74-489.fc37 fedora 22 k perl-Module-Loaded noarch 1:0.08-492.fc37 fedora 16 k perl-Module-Metadata noarch 1.000037-489.fc37 fedora 35 k perl-Module-Signature noarch 0.88-4.fc37 fedora 83 k perl-NEXT noarch 0.69-492.fc37 fedora 24 k perl-Net noarch 1.03-492.fc37 fedora 28 k perl-Net-Ping noarch 2.75-1.fc37 fedora 50 k perl-ODBM_File x86_64 1.17-492.fc37 fedora 26 k perl-Object-HashBase noarch 0.009-10.fc37 fedora 25 k perl-Opcode x86_64 1.57-492.fc37 fedora 40 k perl-Package-Generator noarch 1.106-26.fc37 fedora 23 k perl-Params-Check noarch 1:0.38-489.fc37 fedora 22 k perl-Params-Util x86_64 1.102-8.fc37 fedora 33 k perl-Perl-OSType noarch 1.010-490.fc37 fedora 23 k perl-PerlIO-via-QuotedPrint noarch 0.10-3.fc37 fedora 22 k perl-Pod-Checker noarch 4:1.75-3.fc37 fedora 32 k perl-Pod-Functions noarch 1.14-492.fc37 fedora 17 k perl-Pod-Html noarch 1.33-492.fc37 fedora 34 k perl-Safe noarch 2.43-492.fc37 fedora 28 k perl-Search-Dict noarch 1.07-492.fc37 fedora 16 k perl-SelfLoader noarch 1.26-492.fc37 fedora 25 k perl-Software-License noarch 0.104002-2.fc37 fedora 145 k perl-Sub-Exporter noarch 0.988-5.fc37 fedora 78 k perl-Sub-Install noarch 0.928-33.fc37 fedora 22 k perl-Sys-Hostname x86_64 1.24-492.fc37 fedora 20 k perl-Sys-Syslog x86_64 0.36-490.fc37 fedora 47 k perl-Term-Complete noarch 1.403-492.fc37 fedora 16 k perl-Term-ReadLine noarch 1.17-492.fc37 fedora 22 k perl-Term-Size-Perl x86_64 0.031-15.fc37 fedora 21 k perl-Term-Table noarch 0.016-4.fc37 fedora 35 k perl-Test noarch 1.31-492.fc37 fedora 32 k perl-Test-Harness noarch 1:3.44-490.fc37 fedora 288 k perl-Test-Simple noarch 3:1.302191-2.fc37 fedora 592 k perl-Text-Abbrev noarch 1.02-492.fc37 fedora 15 k perl-Text-Balanced noarch 2.06-2.fc37 fedora 49 k perl-Text-Diff noarch 1.45-16.fc37 fedora 41 k perl-Text-Glob noarch 0.11-18.fc37 fedora 14 k perl-Text-Template noarch 1.60-4.fc37 fedora 60 k perl-Thread noarch 3.05-492.fc37 fedora 21 k perl-Thread-Queue noarch 3.14-489.fc37 fedora 21 k perl-Thread-Semaphore noarch 2.13-492.fc37 fedora 19 k perl-Tie noarch 4.6-492.fc37 fedora 35 k perl-Tie-File noarch 1.06-492.fc37 fedora 46 k perl-Tie-Memoize noarch 1.1-492.fc37 fedora 17 k perl-Tie-RefHash noarch 1.40-489.fc37 fedora 23 k perl-Time noarch 1.03-492.fc37 fedora 22 k perl-Time-HiRes x86_64 4:1.9770-489.fc37 fedora 57 k perl-Time-Piece x86_64 1.3401-492.fc37 fedora 44 k perl-Unicode-Collate x86_64 1.31-489.fc37 fedora 750 k perl-Unicode-Normalize x86_64 1.31-489.fc37 fedora 94 k perl-Unicode-UCD noarch 0.78-492.fc37 fedora 82 k perl-User-pwent noarch 1.03-492.fc37 fedora 24 k perl-autodie noarch 2.34-490.fc37 fedora 99 k perl-autouse noarch 1.11-492.fc37 fedora 17 k perl-bignum noarch 0.66-5.fc37 fedora 50 k perl-blib noarch 1.07-492.fc37 fedora 15 k perl-debugger noarch 1.60-492.fc37 fedora 137 k perl-deprecate noarch 0.04-492.fc37 fedora 18 k perl-devel x86_64 4:5.36.0-492.fc37 fedora 714 k perl-diagnostics noarch 1.39-492.fc37 fedora 214 k perl-doc noarch 5.36.0-492.fc37 fedora 4.8 M perl-encoding x86_64 4:3.00-492.fc37 fedora 63 k perl-encoding-warnings noarch 0.13-492.fc37 fedora 20 k perl-experimental noarch 0.028-489.fc37 fedora 22 k perl-fields noarch 2.27-492.fc37 fedora 19 k perl-filetest noarch 1.03-492.fc37 fedora 18 k perl-inc-latest noarch 2:0.500-23.fc37 fedora 24 k perl-less noarch 0.03-492.fc37 fedora 16 k perl-libnetcfg noarch 4:5.36.0-492.fc37 fedora 19 k perl-local-lib noarch 2.000029-3.fc37 fedora 67 k perl-locale noarch 1.10-492.fc37 fedora 17 k perl-macros noarch 4:5.36.0-492.fc37 fedora 14 k perl-meta-notation noarch 5.36.0-492.fc37 fedora 13 k perl-open noarch 1.13-492.fc37 fedora 20 k perl-perlfaq noarch 5.20210520-489.fc37 fedora 379 k perl-ph x86_64 5.36.0-492.fc37 fedora 50 k perl-sigtrap noarch 1.10-492.fc37 fedora 19 k perl-sort noarch 2.05-492.fc37 fedora 16 k perl-threads x86_64 1:2.27-489.fc37 fedora 57 k perl-threads-shared x86_64 1.64-489.fc37 fedora 44 k perl-utils noarch 5.36.0-492.fc37 fedora 58 k perl-version x86_64 8:0.99.29-490.fc37 fedora 63 k perl-vmsish noarch 1.04-492.fc37 fedora 17 k sombok x86_64 2.4.0-17.fc37 fedora 47 k systemtap-sdt-devel x86_64 4.8-1.fc37 updates 72 k 弱い依存関係のインストール: perl-CPAN-DistnameInfo noarch 0.12-26.fc37 fedora 14 k perl-Encode-Locale noarch 1.05-24.fc37 fedora 19 k perl-Term-Size-Any noarch 0.002-38.fc37 fedora 13 k perl-Unicode-LineBreak x86_64 2019.001-14.fc37 fedora 121 k トランザクションの概要 ============================================================================================================== インストール 171 パッケージ ダウンロードサイズの合計: 34 M インストール後のサイズ: 106 M パッケージのダウンロード: (1/171): perl-5.36.0-492.fc37.x86_64.rpm 49 kB/s | 16 kB 00:00 (2/171): perl-Archive-Tar-2.40-490.fc37.noarch.rpm 147 kB/s | 71 kB 00:00 (3/171): perl-Algorithm-Diff-1.2010-7.fc37.noarch.rpm 91 kB/s | 47 kB 00:00 (4/171): perl-Archive-Zip-1.68-9.fc37.noarch.rpm 375 kB/s | 113 kB 00:00 (5/171): perl-Attribute-Handlers-1.02-492.fc37.noarch.rpm 184 kB/s | 31 kB 00:00 (6/171): perl-AutoSplit-5.74-492.fc37.noarch.rpm 146 kB/s | 25 kB 00:00 (7/171): perl-Benchmark-1.23-492.fc37.noarch.rpm 221 kB/s | 30 kB 00:00 (8/171): perl-CPAN-DistnameInfo-0.12-26.fc37.noarch.rpm 52 kB/s | 14 kB 00:00 (9/171): perl-CPAN-Meta-2.150010-489.fc37.noarch.rpm 389 kB/s | 195 kB 00:00 (10/171): perl-CPAN-Meta-Requirements-2.140-490.fc37.noarch.rpm 91 kB/s | 31 kB 00:00 (11/171): perl-CPAN-2.34-4.fc37.noarch.rpm 781 kB/s | 570 kB 00:00 (12/171): perl-CPAN-Meta-YAML-0.018-490.fc37.noarch.rpm 162 kB/s | 26 kB 00:00 (13/171): perl-Compress-Bzip2-2.28-10.fc37.x86_64.rpm 370 kB/s | 67 kB 00:00 (14/171): perl-Compress-Raw-Bzip2-2.201-2.fc37.x86_64.rpm 237 kB/s | 34 kB 00:00 (15/171): perl-Compress-Raw-Lzma-2.201-2.fc37.x86_64.rpm 297 kB/s | 49 kB 00:00 (16/171): perl-Compress-Raw-Zlib-2.202-3.fc37.x86_64.rpm 474 kB/s | 64 kB 00:00 (17/171): perl-Config-Extensions-0.03-492.fc37.noarch.rpm 114 kB/s | 15 kB 00:00 (18/171): perl-Config-Perl-V-0.34-1.fc37.noarch.rpm 147 kB/s | 21 kB 00:00 (19/171): perl-DBM_Filter-0.06-492.fc37.noarch.rpm 257 kB/s | 35 kB 00:00 (20/171): perl-DB_File-1.858-4.fc37.x86_64.rpm 425 kB/s | 81 kB 00:00 (21/171): perl-Data-OptList-0.112-5.fc37.noarch.rpm 173 kB/s | 27 kB 00:00 (22/171): perl-Data-Section-0.200007-17.fc37.noarch.rpm 158 kB/s | 25 kB 00:00 (23/171): perl-Devel-Peek-1.32-492.fc37.x86_64.rpm 188 kB/s | 35 kB 00:00 (24/171): perl-Devel-SelfStubber-1.06-492.fc37.noarch.rpm 79 kB/s | 17 kB 00:00 (25/171): perl-Devel-PPPort-3.68-490.fc37.x86_64.rpm 558 kB/s | 218 kB 00:00 (26/171): perl-Devel-Size-0.83-13.fc37.x86_64.rpm 78 kB/s | 30 kB 00:00 (27/171): perl-Digest-SHA-6.03-1.fc37.x86_64.rpm 125 kB/s | 62 kB 00:00 (28/171): perl-Digest-SHA1-2.13-37.fc37.x86_64.rpm 121 kB/s | 52 kB 00:00 (29/171): perl-Dumpvalue-2.27-492.fc37.noarch.rpm 137 kB/s | 21 kB 00:00 (30/171): perl-DirHandle-1.05-492.fc37.noarch.rpm 46 kB/s | 15 kB 00:00 (31/171): perl-Encode-Locale-1.05-24.fc37.noarch.rpm 99 kB/s | 19 kB 00:00 (32/171): perl-Encode-devel-3.19-492.fc37.x86_64.rpm 287 kB/s | 42 kB 00:00 (33/171): perl-English-1.11-492.fc37.noarch.rpm 113 kB/s | 17 kB 00:00 (34/171): perl-Env-1.05-489.fc37.noarch.rpm 134 kB/s | 20 kB 00:00 (35/171): perl-ExtUtils-Command-7.64-490.fc37.noarch.rpm 119 kB/s | 14 kB 00:00 (36/171): perl-ExtUtils-Constant-0.25-492.fc37.noarch.rpm 279 kB/s | 50 kB 00:00 (37/171): perl-ExtUtils-Embed-1.35-492.fc37.noarch.rpm 117 kB/s | 21 kB 00:00 (38/171): perl-ExtUtils-CBuilder-0.280236-489.fc37.noarch.rpm 137 kB/s | 51 kB 00:00 (39/171): perl-ExtUtils-Install-2.20-489.fc37.noarch.rpm 248 kB/s | 44 kB 00:00 (40/171): perl-ExtUtils-MM-Utils-7.64-490.fc37.noarch.rpm 39 kB/s | 12 kB 00:00 (41/171): perl-ExtUtils-Manifest-1.73-489.fc37.noarch.rpm 134 kB/s | 34 kB 00:00 (42/171): perl-ExtUtils-Miniperl-1.11-492.fc37.noarch.rpm 106 kB/s | 18 kB 00:00 (43/171): perl-ExtUtils-MakeMaker-7.64-490.fc37.noarch.rpm 442 kB/s | 301 kB 00:00 (44/171): perl-ExtUtils-ParseXS-3.45-489.fc37.noarch.rpm 454 kB/s | 188 kB 00:00 (45/171): perl-File-Compare-1.100.700-492.fc37.noarch.rpm 52 kB/s | 16 kB 00:00 (46/171): perl-File-DosGlob-1.12-492.fc37.x86_64.rpm 61 kB/s | 23 kB 00:00 (47/171): perl-File-Fetch-1.04-489.fc37.noarch.rpm 91 kB/s | 31 kB 00:00 (48/171): perl-File-HomeDir-1.006-7.fc37.noarch.rpm 163 kB/s | 62 kB 00:00 (49/171): perl-File-Which-1.27-6.fc37.noarch.rpm 151 kB/s | 22 kB 00:00 (50/171): perl-FileCache-1.10-492.fc37.noarch.rpm 114 kB/s | 18 kB 00:00 (51/171): perl-Filter-Simple-0.96-489.fc37.noarch.rpm 174 kB/s | 27 kB 00:00 (52/171): perl-Filter-1.64-1.fc37.x86_64.rpm 345 kB/s | 89 kB 00:00 (53/171): perl-FindBin-1.53-492.fc37.noarch.rpm 90 kB/s | 17 kB 00:00 (54/171): perl-GDBM_File-1.23-492.fc37.x86_64.rpm 256 kB/s | 46 kB 00:00 (55/171): perl-Hash-Util-0.28-492.fc37.x86_64.rpm 207 kB/s | 37 kB 00:00 (56/171): perl-Hash-Util-FieldHash-1.26-492.fc37.x86_64.rpm 232 kB/s | 41 kB 00:00 (57/171): perl-I18N-Collate-1.02-492.fc37.noarch.rpm 129 kB/s | 17 kB 00:00 (58/171): perl-I18N-LangTags-0.45-492.fc37.noarch.rpm 69 kB/s | 57 kB 00:00 (59/171): perl-I18N-Langinfo-0.21-492.fc37.x86_64.rpm 31 kB/s | 26 kB 00:00 (60/171): perl-IO-Zlib-1.11-489.fc37.noarch.rpm 83 kB/s | 19 kB 00:00 (61/171): perl-IO-Compress-2.201-3.fc37.noarch.rpm 258 kB/s | 273 kB 00:01 (62/171): perl-IPC-Cmd-1.04-490.fc37.noarch.rpm 251 kB/s | 40 kB 00:00 (63/171): perl-IO-Compress-Lzma-2.201-2.fc37.noarch.rpm 164 kB/s | 79 kB 00:00 (64/171): perl-IPC-SysV-2.09-490.fc37.x86_64.rpm 209 kB/s | 42 kB 00:00 (65/171): perl-IPC-System-Simple-1.30-9.fc37.noarch.rpm 218 kB/s | 39 kB 00:00 (66/171): perl-Importer-0.026-7.fc37.noarch.rpm 194 kB/s | 39 kB 00:00 (67/171): perl-JSON-PP-4.11-1.fc37.noarch.rpm 337 kB/s | 68 kB 00:00 (68/171): perl-Locale-Maketext-1.32-1.fc37.noarch.rpm 315 kB/s | 95 kB 00:00 (69/171): perl-Locale-Maketext-Simple-0.21-492.fc37.noarch.rpm 78 kB/s | 21 kB 00:00 (70/171): perl-MIME-Charset-1.013.1-1.fc37.noarch.rpm 182 kB/s | 49 kB 00:00 (71/171): perl-MRO-Compat-0.15-4.fc37.noarch.rpm 179 kB/s | 26 kB 00:00 (72/171): perl-Math-BigInt-FastCalc-0.501.300-3.fc37.x86_64.rpm 77 kB/s | 28 kB 00:00 (73/171): perl-Math-BigInt-1.9998.37-2.fc37.noarch.rpm 413 kB/s | 206 kB 00:00 (74/171): perl-Math-BigRat-0.2624-2.fc37.noarch.rpm 88 kB/s | 42 kB 00:00 (75/171): perl-Math-Complex-1.59-492.fc37.noarch.rpm 151 kB/s | 50 kB 00:00 (76/171): perl-Memoize-1.03-492.fc37.noarch.rpm 166 kB/s | 60 kB 00:00 (77/171): perl-Module-Build-0.42.31-15.fc37.noarch.rpm 695 kB/s | 264 kB 00:00 (78/171): perl-Module-Load-0.36-489.fc37.noarch.rpm 65 kB/s | 17 kB 00:00 (79/171): perl-Module-Load-Conditional-0.74-489.fc37.noarch.rpm 131 kB/s | 22 kB 00:00 (80/171): perl-Module-Loaded-0.08-492.fc37.noarch.rpm 134 kB/s | 16 kB 00:00 (81/171): perl-Module-Metadata-1.000037-489.fc37.noarch.rpm 226 kB/s | 35 kB 00:00 (82/171): perl-Module-Signature-0.88-4.fc37.noarch.rpm 355 kB/s | 83 kB 00:00 (83/171): perl-NEXT-0.69-492.fc37.noarch.rpm 112 kB/s | 24 kB 00:00 (84/171): perl-Net-1.03-492.fc37.noarch.rpm 141 kB/s | 28 kB 00:00 (85/171): perl-Net-Ping-2.75-1.fc37.noarch.rpm 369 kB/s | 50 kB 00:00 (86/171): perl-ODBM_File-1.17-492.fc37.x86_64.rpm 193 kB/s | 26 kB 00:00 (87/171): perl-Object-HashBase-0.009-10.fc37.noarch.rpm 163 kB/s | 25 kB 00:00 (88/171): perl-Opcode-1.57-492.fc37.x86_64.rpm 275 kB/s | 40 kB 00:00 (89/171): perl-Package-Generator-1.106-26.fc37.noarch.rpm 158 kB/s | 23 kB 00:00 (90/171): perl-Params-Check-0.38-489.fc37.noarch.rpm 165 kB/s | 22 kB 00:00 (91/171): perl-Perl-OSType-1.010-490.fc37.noarch.rpm 187 kB/s | 23 kB 00:00 (92/171): perl-Params-Util-1.102-8.fc37.x86_64.rpm 149 kB/s | 33 kB 00:00 (93/171): perl-PerlIO-via-QuotedPrint-0.10-3.fc37.noarch.rpm 123 kB/s | 22 kB 00:00 (94/171): perl-Pod-Checker-1.75-3.fc37.noarch.rpm 204 kB/s | 32 kB 00:00 (95/171): perl-Pod-Functions-1.14-492.fc37.noarch.rpm 136 kB/s | 17 kB 00:00 (96/171): perl-Pod-Html-1.33-492.fc37.noarch.rpm 220 kB/s | 34 kB 00:00 (97/171): perl-Safe-2.43-492.fc37.noarch.rpm 180 kB/s | 28 kB 00:00 (98/171): perl-Search-Dict-1.07-492.fc37.noarch.rpm 103 kB/s | 16 kB 00:00 (99/171): perl-SelfLoader-1.26-492.fc37.noarch.rpm 131 kB/s | 25 kB 00:00 (100/171): perl-Sub-Install-0.928-33.fc37.noarch.rpm 125 kB/s | 22 kB 00:00 (101/171): perl-Software-License-0.104002-2.fc37.noarch.rpm 391 kB/s | 145 kB 00:00 (102/171): perl-Sub-Exporter-0.988-5.fc37.noarch.rpm 105 kB/s | 78 kB 00:00 (103/171): perl-Sys-Hostname-1.24-492.fc37.x86_64.rpm 38 kB/s | 20 kB 00:00 (104/171): perl-Sys-Syslog-0.36-490.fc37.x86_64.rpm 86 kB/s | 47 kB 00:00 (105/171): perl-Term-Complete-1.403-492.fc37.noarch.rpm 90 kB/s | 16 kB 00:00 (106/171): perl-Term-ReadLine-1.17-492.fc37.noarch.rpm 153 kB/s | 22 kB 00:00 (107/171): perl-Term-Size-Any-0.002-38.fc37.noarch.rpm 92 kB/s | 13 kB 00:00 (108/171): perl-Term-Size-Perl-0.031-15.fc37.x86_64.rpm 157 kB/s | 21 kB 00:00 (109/171): perl-Term-Table-0.016-4.fc37.noarch.rpm 259 kB/s | 35 kB 00:00 (110/171): perl-Test-1.31-492.fc37.noarch.rpm 256 kB/s | 32 kB 00:00 (111/171): perl-Test-Harness-3.44-490.fc37.noarch.rpm 595 kB/s | 288 kB 00:00 (112/171): perl-Text-Abbrev-1.02-492.fc37.noarch.rpm 36 kB/s | 15 kB 00:00 (113/171): perl-Text-Balanced-2.06-2.fc37.noarch.rpm 318 kB/s | 49 kB 00:00 (114/171): perl-Text-Diff-1.45-16.fc37.noarch.rpm 246 kB/s | 41 kB 00:00 (115/171): perl-Text-Glob-0.11-18.fc37.noarch.rpm 94 kB/s | 14 kB 00:00 (116/171): perl-Text-Template-1.60-4.fc37.noarch.rpm 245 kB/s | 60 kB 00:00 (117/171): perl-Thread-3.05-492.fc37.noarch.rpm 111 kB/s | 21 kB 00:00 (118/171): perl-Test-Simple-1.302191-2.fc37.noarch.rpm 583 kB/s | 592 kB 00:01 (119/171): perl-Thread-Queue-3.14-489.fc37.noarch.rpm 125 kB/s | 21 kB 00:00 (120/171): perl-Thread-Semaphore-2.13-492.fc37.noarch.rpm 72 kB/s | 19 kB 00:00 (121/171): perl-Tie-4.6-492.fc37.noarch.rpm 173 kB/s | 35 kB 00:00 (122/171): perl-Tie-File-1.06-492.fc37.noarch.rpm 230 kB/s | 46 kB 00:00 (123/171): perl-Tie-Memoize-1.1-492.fc37.noarch.rpm 128 kB/s | 17 kB 00:00 (124/171): perl-Tie-RefHash-1.40-489.fc37.noarch.rpm 149 kB/s | 23 kB 00:00 (125/171): perl-Time-1.03-492.fc37.noarch.rpm 109 kB/s | 22 kB 00:00 (126/171): perl-Time-Piece-1.3401-492.fc37.x86_64.rpm 307 kB/s | 44 kB 00:00 (127/171): perl-Time-HiRes-1.9770-489.fc37.x86_64.rpm 205 kB/s | 57 kB 00:00 (128/171): perl-Unicode-LineBreak-2019.001-14.fc37.x86_64.rpm 248 kB/s | 121 kB 00:00 (129/171): perl-Unicode-Collate-1.31-489.fc37.x86_64.rpm 1.0 MB/s | 750 kB 00:00 (130/171): perl-Unicode-Normalize-1.31-489.fc37.x86_64.rpm 148 kB/s | 94 kB 00:00 (131/171): perl-Unicode-UCD-0.78-492.fc37.noarch.rpm 356 kB/s | 82 kB 00:00 (132/171): perl-User-pwent-1.03-492.fc37.noarch.rpm 162 kB/s | 24 kB 00:00 (133/171): perl-autouse-1.11-492.fc37.noarch.rpm 72 kB/s | 17 kB 00:00 (134/171): perl-bignum-0.66-5.fc37.noarch.rpm 227 kB/s | 50 kB 00:00 (135/171): perl-autodie-2.34-490.fc37.noarch.rpm 232 kB/s | 99 kB 00:00 (136/171): perl-blib-1.07-492.fc37.noarch.rpm 82 kB/s | 15 kB 00:00 (137/171): perl-debugger-1.60-492.fc37.noarch.rpm 682 kB/s | 137 kB 00:00 (138/171): perl-deprecate-0.04-492.fc37.noarch.rpm 92 kB/s | 18 kB 00:00 (139/171): perl-diagnostics-1.39-492.fc37.noarch.rpm 760 kB/s | 214 kB 00:00 (140/171): perl-encoding-3.00-492.fc37.x86_64.rpm 410 kB/s | 63 kB 00:00 (141/171): perl-encoding-warnings-0.13-492.fc37.noarch.rpm 127 kB/s | 20 kB 00:00 (142/171): perl-experimental-0.028-489.fc37.noarch.rpm 134 kB/s | 22 kB 00:00 (143/171): perl-fields-2.27-492.fc37.noarch.rpm 134 kB/s | 19 kB 00:00 (144/171): perl-filetest-1.03-492.fc37.noarch.rpm 124 kB/s | 18 kB 00:00 (145/171): perl-inc-latest-0.500-23.fc37.noarch.rpm 97 kB/s | 24 kB 00:00 (146/171): perl-less-0.03-492.fc37.noarch.rpm 105 kB/s | 16 kB 00:00 (147/171): perl-libnetcfg-5.36.0-492.fc37.noarch.rpm 125 kB/s | 19 kB 00:00 (148/171): perl-local-lib-2.000029-3.fc37.noarch.rpm 290 kB/s | 67 kB 00:00 (149/171): perl-locale-1.10-492.fc37.noarch.rpm 101 kB/s | 17 kB 00:00 (150/171): perl-macros-5.36.0-492.fc37.noarch.rpm 100 kB/s | 14 kB 00:00 (151/171): perl-meta-notation-5.36.0-492.fc37.noarch.rpm 83 kB/s | 13 kB 00:00 (152/171): perl-open-1.13-492.fc37.noarch.rpm 136 kB/s | 20 kB 00:00 (153/171): perl-devel-5.36.0-492.fc37.x86_64.rpm 280 kB/s | 714 kB 00:02 (154/171): perl-ph-5.36.0-492.fc37.x86_64.rpm 61 kB/s | 50 kB 00:00 (155/171): perl-perlfaq-5.20210520-489.fc37.noarch.rpm 402 kB/s | 379 kB 00:00 (156/171): perl-sigtrap-1.10-492.fc37.noarch.rpm 128 kB/s | 19 kB 00:00 (157/171): perl-sort-2.05-492.fc37.noarch.rpm 133 kB/s | 16 kB 00:00 (158/171): perl-threads-shared-1.64-489.fc37.x86_64.rpm 333 kB/s | 44 kB 00:00 (159/171): perl-threads-2.27-489.fc37.x86_64.rpm 232 kB/s | 57 kB 00:00 (160/171): perl-utils-5.36.0-492.fc37.noarch.rpm 325 kB/s | 58 kB 00:00 (161/171): perl-vmsish-1.04-492.fc37.noarch.rpm 119 kB/s | 17 kB 00:00 (162/171): perl-version-0.99.29-490.fc37.x86_64.rpm 194 kB/s | 63 kB 00:00 (163/171): sombok-2.4.0-17.fc37.x86_64.rpm 327 kB/s | 47 kB 00:00 (164/171): libstdc++-devel-12.2.1-4.fc37.x86_64.rpm 706 kB/s | 2.5 MB 00:03 (165/171): perl-Module-CoreList-5.20221220-1.fc37.noarch.rpm 264 kB/s | 85 kB 00:00 (166/171): perl-Module-CoreList-tools-5.20221220-1.fc37.noarch.rpm 45 kB/s | 18 kB 00:00 (167/171): perl-doc-5.36.0-492.fc37.noarch.rpm 578 kB/s | 4.8 MB 00:08 (168/171): systemd-devel-251.10-588.fc37.x86_64.rpm 218 kB/s | 579 kB 00:02 (169/171): python3-pip-22.2.2-3.fc37.noarch.rpm 953 kB/s | 3.1 MB 00:03 (170/171): systemtap-sdt-devel-4.8-1.fc37.x86_64.rpm 133 kB/s | 72 kB 00:00 (171/171): gcc-c++-12.2.1-4.fc37.x86_64.rpm 1.1 MB/s | 13 MB 00:11 -------------------------------------------------------------------------------------------------------------- 合計 1.1 MB/s | 34 MB 00:30 トランザクションの確認を実行中 トランザクションの確認に成功しました。 トランザクションのテストを実行中 トランザクションのテストに成功しました。 トランザクションを実行中 準備 : 1/1 インストール中 : perl-Time-HiRes-4:1.9770-489.fc37.x86_64 1/171 インストール中 : perl-ExtUtils-Manifest-1:1.73-489.fc37.noarch 2/171 インストール中 : perl-threads-1:2.27-489.fc37.x86_64 3/171 インストール中 : perl-threads-shared-1.64-489.fc37.x86_64 4/171 インストール中 : perl-File-Compare-1.100.700-492.fc37.noarch 5/171 インストール中 : perl-ExtUtils-ParseXS-1:3.45-489.fc37.noarch 6/171 インストール中 : perl-Compress-Raw-Zlib-2.202-3.fc37.x86_64 7/171 インストール中 : perl-meta-notation-5.36.0-492.fc37.noarch 8/171 インストール中 : perl-locale-1.10-492.fc37.noarch 9/171 インストール中 : perl-version-8:0.99.29-490.fc37.x86_64 10/171 インストール中 : perl-CPAN-Meta-Requirements-2.140-490.fc37.noarch 11/171 インストール中 : perl-Module-Metadata-1.000037-489.fc37.noarch 12/171 インストール中 : perl-Module-CoreList-1:5.20221220-1.fc37.noarch 13/171 インストール中 : perl-Unicode-Normalize-1.31-489.fc37.x86_64 14/171 インストール中 : perl-Tie-4.6-492.fc37.noarch 15/171 インストール中 : perl-Term-ReadLine-1.17-492.fc37.noarch 16/171 インストール中 : perl-Perl-OSType-1.010-490.fc37.noarch 17/171 インストール中 : perl-Module-Load-1:0.36-489.fc37.noarch 18/171 インストール中 : perl-Math-Complex-1.59-492.fc37.noarch 19/171 インストール中 : perl-Math-BigRat-0.2624-2.fc37.noarch 20/171 インストール中 : perl-Math-BigInt-1:1.9998.37-2.fc37.noarch 21/171 インストール中 : perl-JSON-PP-1:4.11-1.fc37.noarch 22/171 インストール中 : perl-Filter-2:1.64-1.fc37.x86_64 23/171 インストール中 : perl-Digest-SHA-1:6.03-1.fc37.x86_64 24/171 インストール中 : perl-Devel-Peek-1.32-492.fc37.x86_64 25/171 インストール中 : perl-Dumpvalue-2.27-492.fc37.noarch 26/171 インストール中 : perl-encoding-4:3.00-492.fc37.x86_64 27/171 インストール中 : perl-Pod-Html-1.33-492.fc37.noarch 28/171 インストール中 : perl-Net-Ping-2.75-1.fc37.noarch 29/171 インストール中 : perl-doc-5.36.0-492.fc37.noarch 30/171 インストール中 : perl-autouse-1.11-492.fc37.noarch 31/171 インストール中 : perl-User-pwent-1.03-492.fc37.noarch 32/171 インストール中 : perl-Tie-RefHash-1.40-489.fc37.noarch 33/171 インストール中 : perl-Text-Balanced-2.06-2.fc37.noarch 34/171 インストール中 : perl-Sys-Hostname-1.24-492.fc37.x86_64 35/171 インストール中 : perl-Sub-Install-0.928-33.fc37.noarch 36/171 インストール中 : perl-SelfLoader-1.26-492.fc37.noarch 37/171 インストール中 : perl-Params-Util-1.102-8.fc37.x86_64 38/171 インストール中 : perl-Opcode-1.57-492.fc37.x86_64 39/171 インストール中 : perl-Safe-2.43-492.fc37.noarch 40/171 インストール中 : perl-I18N-Langinfo-0.21-492.fc37.x86_64 41/171 インストール中 : perl-I18N-LangTags-0.45-492.fc37.noarch 42/171 インストール中 : perl-Locale-Maketext-1.32-1.fc37.noarch 43/171 インストール中 : perl-Locale-Maketext-Simple-1:0.21-492.fc37.noarch 44/171 インストール中 : perl-Params-Check-1:0.38-489.fc37.noarch 45/171 インストール中 : perl-Module-Load-Conditional-0.74-489.fc37.noarch 46/171 インストール中 : perl-Hash-Util-FieldHash-1.26-492.fc37.x86_64 47/171 インストール中 : perl-Hash-Util-0.28-492.fc37.x86_64 48/171 インストール中 : perl-ExtUtils-MM-Utils-2:7.64-490.fc37.noarch 49/171 インストール中 : perl-IPC-Cmd-2:1.04-490.fc37.noarch 50/171 インストール中 : perl-ExtUtils-Constant-0.25-492.fc37.noarch 51/171 インストール中 : perl-ExtUtils-Command-2:7.64-490.fc37.noarch 52/171 インストール中 : perl-DirHandle-1.05-492.fc37.noarch 53/171 インストール中 : perl-Devel-PPPort-3.68-490.fc37.x86_64 54/171 インストール中 : perl-Compress-Raw-Bzip2-2.201-2.fc37.x86_64 55/171 インストール中 : perl-IO-Compress-2.201-3.fc37.noarch 56/171 インストール中 : perl-IO-Zlib-1:1.11-489.fc37.noarch 57/171 インストール中 : perl-CPAN-Meta-YAML-0.018-490.fc37.noarch 58/171 インストール中 : perl-CPAN-Meta-2.150010-489.fc37.noarch 59/171 インストール中 : perl-Benchmark-1.23-492.fc37.noarch 60/171 インストール中 : perl-Test-Harness-1:3.44-490.fc37.noarch 61/171 インストール中 : perl-AutoSplit-5.74-492.fc37.noarch 62/171 インストール中 : perl-DBM_Filter-0.06-492.fc37.noarch 63/171 インストール中 : perl-File-Fetch-1.04-489.fc37.noarch 64/171 インストール中 : perl-fields-2.27-492.fc37.noarch 65/171 インストール中 : perl-Encode-Locale-1.05-24.fc37.noarch 66/171 インストール中 : perl-Data-OptList-0.112-5.fc37.noarch 67/171 インストール中 : perl-Devel-SelfStubber-1.06-492.fc37.noarch 68/171 インストール中 : perl-Filter-Simple-0.96-489.fc37.noarch 69/171 インストール中 : perl-open-1.13-492.fc37.noarch 70/171 インストール中 : perl-debugger-1.60-492.fc37.noarch 71/171 インストール中 : perl-Math-BigInt-FastCalc-0.501.300-3.fc37.x86_64 72/171 インストール中 : perl-bignum-0.66-5.fc37.noarch 73/171 インストール中 : perl-Env-1.05-489.fc37.noarch 74/171 インストール中 : perl-Unicode-Collate-1.31-489.fc37.x86_64 75/171 インストール中 : perl-Unicode-UCD-0.78-492.fc37.noarch 76/171 インストール中 : perl-Module-CoreList-tools-1:5.20221220-1.fc37.noarch 77/171 インストール中 : perl-experimental-0.028-489.fc37.noarch 78/171 インストール中 : perl-sigtrap-1.10-492.fc37.noarch 79/171 インストール中 : perl-Archive-Zip-1.68-9.fc37.noarch 80/171 インストール中 : perl-Thread-3.05-492.fc37.noarch 81/171 インストール中 : perl-Thread-Queue-3.14-489.fc37.noarch 82/171 インストール中 : perl-Thread-Semaphore-2.13-492.fc37.noarch 83/171 インストール中 : systemtap-sdt-devel-4.8-1.fc37.x86_64 84/171 インストール中 : perl-ExtUtils-MakeMaker-2:7.64-490.fc37.noarch 85/171 インストール中 : perl-ExtUtils-Install-2.20-489.fc37.noarch 86/171 インストール中 : perl-devel-4:5.36.0-492.fc37.x86_64 87/171 インストール中 : perl-ExtUtils-Embed-1.35-492.fc37.noarch 88/171 インストール中 : perl-ExtUtils-Miniperl-1.11-492.fc37.noarch 89/171 インストール中 : perl-Encode-devel-4:3.19-492.fc37.x86_64 90/171 インストール中 : perl-inc-latest-2:0.500-23.fc37.noarch 91/171 インストール中 : perl-libnetcfg-4:5.36.0-492.fc37.noarch 92/171 インストール中 : libstdc++-devel-12.2.1-4.fc37.x86_64 93/171 インストール中 : gcc-c++-12.2.1-4.fc37.x86_64 94/171 インストール中 : perl-ExtUtils-CBuilder-1:0.280236-489.fc37.noarch 95/171 インストール中 : sombok-2.4.0-17.fc37.x86_64 96/171 インストール中 : perl-vmsish-1.04-492.fc37.noarch 97/171 インストール中 : perl-utils-5.36.0-492.fc37.noarch 98/171 インストール中 : perl-sort-2.05-492.fc37.noarch 99/171 インストール中 : perl-ph-5.36.0-492.fc37.x86_64 100/171 インストール中 : perl-perlfaq-5.20210520-489.fc37.noarch 101/171 インストール中 : perl-macros-4:5.36.0-492.fc37.noarch 102/171 インストール中 : perl-local-lib-2.000029-3.fc37.noarch 103/171 インストール中 : perl-less-0.03-492.fc37.noarch 104/171 インストール中 : perl-filetest-1.03-492.fc37.noarch 105/171 インストール中 : perl-encoding-warnings-0.13-492.fc37.noarch 106/171 インストール中 : perl-diagnostics-1.39-492.fc37.noarch 107/171 インストール中 : perl-deprecate-0.04-492.fc37.noarch 108/171 インストール中 : perl-blib-1.07-492.fc37.noarch 109/171 インストール中 : perl-Time-Piece-1.3401-492.fc37.x86_64 110/171 インストール中 : perl-Time-1.03-492.fc37.noarch 111/171 インストール中 : perl-Tie-Memoize-1.1-492.fc37.noarch 112/171 インストール中 : perl-Tie-File-1.06-492.fc37.noarch 113/171 インストール中 : perl-Text-Template-1.60-4.fc37.noarch 114/171 インストール中 : perl-Text-Glob-0.11-18.fc37.noarch 115/171 インストール中 : perl-Text-Abbrev-1.02-492.fc37.noarch 116/171 インストール中 : perl-Test-1.31-492.fc37.noarch 117/171 インストール中 : perl-Term-Size-Perl-0.031-15.fc37.x86_64 118/171 インストール中 : perl-Term-Size-Any-0.002-38.fc37.noarch 119/171 インストール中 : perl-Term-Complete-1.403-492.fc37.noarch 120/171 インストール中 : perl-Sys-Syslog-0.36-490.fc37.x86_64 121/171 インストール中 : perl-Search-Dict-1.07-492.fc37.noarch 122/171 インストール中 : perl-Pod-Functions-1.14-492.fc37.noarch 123/171 インストール中 : perl-Pod-Checker-4:1.75-3.fc37.noarch 124/171 インストール中 : perl-PerlIO-via-QuotedPrint-0.10-3.fc37.noarch 125/171 インストール中 : perl-Package-Generator-1.106-26.fc37.noarch 126/171 インストール中 : perl-Sub-Exporter-0.988-5.fc37.noarch 127/171 インストール中 : perl-Object-HashBase-0.009-10.fc37.noarch 128/171 インストール中 : perl-ODBM_File-1.17-492.fc37.x86_64 129/171 インストール中 : perl-Net-1.03-492.fc37.noarch 130/171 インストール中 : perl-NEXT-0.69-492.fc37.noarch 131/171 インストール中 : perl-Module-Loaded-1:0.08-492.fc37.noarch 132/171 インストール中 : perl-Memoize-1.03-492.fc37.noarch 133/171 インストール中 : perl-MRO-Compat-0.15-4.fc37.noarch 134/171 インストール中 : perl-Data-Section-0.200007-17.fc37.noarch 135/171 インストール中 : perl-Software-License-0.104002-2.fc37.noarch 136/171 インストール中 : perl-Module-Build-2:0.42.31-15.fc37.noarch 137/171 インストール中 : perl-MIME-Charset-1.013.1-1.fc37.noarch 138/171 インストール中 : perl-Unicode-LineBreak-2019.001-14.fc37.x86_64 139/171 インストール中 : perl-Importer-0.026-7.fc37.noarch 140/171 インストール中 : perl-Term-Table-0.016-4.fc37.noarch 141/171 インストール中 : perl-Test-Simple-3:1.302191-2.fc37.noarch 142/171 インストール中 : perl-IPC-System-Simple-1.30-9.fc37.noarch 143/171 インストール中 : perl-autodie-2.34-490.fc37.noarch 144/171 インストール中 : perl-IPC-SysV-2.09-490.fc37.x86_64 145/171 インストール中 : perl-I18N-Collate-1.02-492.fc37.noarch 146/171 インストール中 : perl-GDBM_File-1:1.23-492.fc37.x86_64 147/171 インストール中 : perl-FindBin-1.53-492.fc37.noarch 148/171 インストール中 : perl-FileCache-1.10-492.fc37.noarch 149/171 インストール中 : perl-File-Which-1.27-6.fc37.noarch 150/171 インストール中 : perl-File-HomeDir-1.006-7.fc37.noarch 151/171 インストール中 : perl-File-DosGlob-1.12-492.fc37.x86_64 152/171 インストール中 : perl-English-1.11-492.fc37.noarch 153/171 インストール中 : perl-Digest-SHA1-2.13-37.fc37.x86_64 154/171 インストール中 : perl-Devel-Size-0.83-13.fc37.x86_64 155/171 インストール中 : perl-DB_File-1.858-4.fc37.x86_64 156/171 インストール中 : perl-Config-Perl-V-0.34-1.fc37.noarch 157/171 インストール中 : perl-Config-Extensions-0.03-492.fc37.noarch 158/171 インストール中 : perl-Compress-Raw-Lzma-2.201-2.fc37.x86_64 159/171 インストール中 : perl-IO-Compress-Lzma-2.201-2.fc37.noarch 160/171 インストール中 : perl-Compress-Bzip2-2.28-10.fc37.x86_64 161/171 インストール中 : perl-CPAN-DistnameInfo-0.12-26.fc37.noarch 162/171 インストール中 : perl-Attribute-Handlers-1.02-492.fc37.noarch 163/171 インストール中 : perl-Algorithm-Diff-1.2010-7.fc37.noarch 164/171 インストール中 : perl-Text-Diff-1.45-16.fc37.noarch 165/171 インストール中 : perl-Archive-Tar-2.40-490.fc37.noarch 166/171 インストール中 : perl-Module-Signature-0.88-4.fc37.noarch 167/171 インストール中 : perl-CPAN-2.34-4.fc37.noarch 168/171 インストール中 : perl-4:5.36.0-492.fc37.x86_64 169/171 インストール中 : systemd-devel-251.10-588.fc37.x86_64 170/171 インストール中 : python3-pip-22.2.2-3.fc37.noarch 171/171 scriptletの実行中: python3-pip-22.2.2-3.fc37.noarch 171/171 検証 : perl-4:5.36.0-492.fc37.x86_64 1/171 検証 : perl-Algorithm-Diff-1.2010-7.fc37.noarch 2/171 検証 : perl-Archive-Tar-2.40-490.fc37.noarch 3/171 検証 : perl-Archive-Zip-1.68-9.fc37.noarch 4/171 検証 : perl-Attribute-Handlers-1.02-492.fc37.noarch 5/171 検証 : perl-AutoSplit-5.74-492.fc37.noarch 6/171 検証 : perl-Benchmark-1.23-492.fc37.noarch 7/171 検証 : perl-CPAN-2.34-4.fc37.noarch 8/171 検証 : perl-CPAN-DistnameInfo-0.12-26.fc37.noarch 9/171 検証 : perl-CPAN-Meta-2.150010-489.fc37.noarch 10/171 検証 : perl-CPAN-Meta-Requirements-2.140-490.fc37.noarch 11/171 検証 : perl-CPAN-Meta-YAML-0.018-490.fc37.noarch 12/171 検証 : perl-Compress-Bzip2-2.28-10.fc37.x86_64 13/171 検証 : perl-Compress-Raw-Bzip2-2.201-2.fc37.x86_64 14/171 検証 : perl-Compress-Raw-Lzma-2.201-2.fc37.x86_64 15/171 検証 : perl-Compress-Raw-Zlib-2.202-3.fc37.x86_64 16/171 検証 : perl-Config-Extensions-0.03-492.fc37.noarch 17/171 検証 : perl-Config-Perl-V-0.34-1.fc37.noarch 18/171 検証 : perl-DBM_Filter-0.06-492.fc37.noarch 19/171 検証 : perl-DB_File-1.858-4.fc37.x86_64 20/171 検証 : perl-Data-OptList-0.112-5.fc37.noarch 21/171 検証 : perl-Data-Section-0.200007-17.fc37.noarch 22/171 検証 : perl-Devel-PPPort-3.68-490.fc37.x86_64 23/171 検証 : perl-Devel-Peek-1.32-492.fc37.x86_64 24/171 検証 : perl-Devel-SelfStubber-1.06-492.fc37.noarch 25/171 検証 : perl-Devel-Size-0.83-13.fc37.x86_64 26/171 検証 : perl-Digest-SHA-1:6.03-1.fc37.x86_64 27/171 検証 : perl-Digest-SHA1-2.13-37.fc37.x86_64 28/171 検証 : perl-DirHandle-1.05-492.fc37.noarch 29/171 検証 : perl-Dumpvalue-2.27-492.fc37.noarch 30/171 検証 : perl-Encode-Locale-1.05-24.fc37.noarch 31/171 検証 : perl-Encode-devel-4:3.19-492.fc37.x86_64 32/171 検証 : perl-English-1.11-492.fc37.noarch 33/171 検証 : perl-Env-1.05-489.fc37.noarch 34/171 検証 : perl-ExtUtils-CBuilder-1:0.280236-489.fc37.noarch 35/171 検証 : perl-ExtUtils-Command-2:7.64-490.fc37.noarch 36/171 検証 : perl-ExtUtils-Constant-0.25-492.fc37.noarch 37/171 検証 : perl-ExtUtils-Embed-1.35-492.fc37.noarch 38/171 検証 : perl-ExtUtils-Install-2.20-489.fc37.noarch 39/171 検証 : perl-ExtUtils-MM-Utils-2:7.64-490.fc37.noarch 40/171 検証 : perl-ExtUtils-MakeMaker-2:7.64-490.fc37.noarch 41/171 検証 : perl-ExtUtils-Manifest-1:1.73-489.fc37.noarch 42/171 検証 : perl-ExtUtils-Miniperl-1.11-492.fc37.noarch 43/171 検証 : perl-ExtUtils-ParseXS-1:3.45-489.fc37.noarch 44/171 検証 : perl-File-Compare-1.100.700-492.fc37.noarch 45/171 検証 : perl-File-DosGlob-1.12-492.fc37.x86_64 46/171 検証 : perl-File-Fetch-1.04-489.fc37.noarch 47/171 検証 : perl-File-HomeDir-1.006-7.fc37.noarch 48/171 検証 : perl-File-Which-1.27-6.fc37.noarch 49/171 検証 : perl-FileCache-1.10-492.fc37.noarch 50/171 検証 : perl-Filter-2:1.64-1.fc37.x86_64 51/171 検証 : perl-Filter-Simple-0.96-489.fc37.noarch 52/171 検証 : perl-FindBin-1.53-492.fc37.noarch 53/171 検証 : perl-GDBM_File-1:1.23-492.fc37.x86_64 54/171 検証 : perl-Hash-Util-0.28-492.fc37.x86_64 55/171 検証 : perl-Hash-Util-FieldHash-1.26-492.fc37.x86_64 56/171 検証 : perl-I18N-Collate-1.02-492.fc37.noarch 57/171 検証 : perl-I18N-LangTags-0.45-492.fc37.noarch 58/171 検証 : perl-I18N-Langinfo-0.21-492.fc37.x86_64 59/171 検証 : perl-IO-Compress-2.201-3.fc37.noarch 60/171 検証 : perl-IO-Compress-Lzma-2.201-2.fc37.noarch 61/171 検証 : perl-IO-Zlib-1:1.11-489.fc37.noarch 62/171 検証 : perl-IPC-Cmd-2:1.04-490.fc37.noarch 63/171 検証 : perl-IPC-SysV-2.09-490.fc37.x86_64 64/171 検証 : perl-IPC-System-Simple-1.30-9.fc37.noarch 65/171 検証 : perl-Importer-0.026-7.fc37.noarch 66/171 検証 : perl-JSON-PP-1:4.11-1.fc37.noarch 67/171 検証 : perl-Locale-Maketext-1.32-1.fc37.noarch 68/171 検証 : perl-Locale-Maketext-Simple-1:0.21-492.fc37.noarch 69/171 検証 : perl-MIME-Charset-1.013.1-1.fc37.noarch 70/171 検証 : perl-MRO-Compat-0.15-4.fc37.noarch 71/171 検証 : perl-Math-BigInt-1:1.9998.37-2.fc37.noarch 72/171 検証 : perl-Math-BigInt-FastCalc-0.501.300-3.fc37.x86_64 73/171 検証 : perl-Math-BigRat-0.2624-2.fc37.noarch 74/171 検証 : perl-Math-Complex-1.59-492.fc37.noarch 75/171 検証 : perl-Memoize-1.03-492.fc37.noarch 76/171 検証 : perl-Module-Build-2:0.42.31-15.fc37.noarch 77/171 検証 : perl-Module-Load-1:0.36-489.fc37.noarch 78/171 検証 : perl-Module-Load-Conditional-0.74-489.fc37.noarch 79/171 検証 : perl-Module-Loaded-1:0.08-492.fc37.noarch 80/171 検証 : perl-Module-Metadata-1.000037-489.fc37.noarch 81/171 検証 : perl-Module-Signature-0.88-4.fc37.noarch 82/171 検証 : perl-NEXT-0.69-492.fc37.noarch 83/171 検証 : perl-Net-1.03-492.fc37.noarch 84/171 検証 : perl-Net-Ping-2.75-1.fc37.noarch 85/171 検証 : perl-ODBM_File-1.17-492.fc37.x86_64 86/171 検証 : perl-Object-HashBase-0.009-10.fc37.noarch 87/171 検証 : perl-Opcode-1.57-492.fc37.x86_64 88/171 検証 : perl-Package-Generator-1.106-26.fc37.noarch 89/171 検証 : perl-Params-Check-1:0.38-489.fc37.noarch 90/171 検証 : perl-Params-Util-1.102-8.fc37.x86_64 91/171 検証 : perl-Perl-OSType-1.010-490.fc37.noarch 92/171 検証 : perl-PerlIO-via-QuotedPrint-0.10-3.fc37.noarch 93/171 検証 : perl-Pod-Checker-4:1.75-3.fc37.noarch 94/171 検証 : perl-Pod-Functions-1.14-492.fc37.noarch 95/171 検証 : perl-Pod-Html-1.33-492.fc37.noarch 96/171 検証 : perl-Safe-2.43-492.fc37.noarch 97/171 検証 : perl-Search-Dict-1.07-492.fc37.noarch 98/171 検証 : perl-SelfLoader-1.26-492.fc37.noarch 99/171 検証 : perl-Software-License-0.104002-2.fc37.noarch 100/171 検証 : perl-Sub-Exporter-0.988-5.fc37.noarch 101/171 検証 : perl-Sub-Install-0.928-33.fc37.noarch 102/171 検証 : perl-Sys-Hostname-1.24-492.fc37.x86_64 103/171 検証 : perl-Sys-Syslog-0.36-490.fc37.x86_64 104/171 検証 : perl-Term-Complete-1.403-492.fc37.noarch 105/171 検証 : perl-Term-ReadLine-1.17-492.fc37.noarch 106/171 検証 : perl-Term-Size-Any-0.002-38.fc37.noarch 107/171 検証 : perl-Term-Size-Perl-0.031-15.fc37.x86_64 108/171 検証 : perl-Term-Table-0.016-4.fc37.noarch 109/171 検証 : perl-Test-1.31-492.fc37.noarch 110/171 検証 : perl-Test-Harness-1:3.44-490.fc37.noarch 111/171 検証 : perl-Test-Simple-3:1.302191-2.fc37.noarch 112/171 検証 : perl-Text-Abbrev-1.02-492.fc37.noarch 113/171 検証 : perl-Text-Balanced-2.06-2.fc37.noarch 114/171 検証 : perl-Text-Diff-1.45-16.fc37.noarch 115/171 検証 : perl-Text-Glob-0.11-18.fc37.noarch 116/171 検証 : perl-Text-Template-1.60-4.fc37.noarch 117/171 検証 : perl-Thread-3.05-492.fc37.noarch 118/171 検証 : perl-Thread-Queue-3.14-489.fc37.noarch 119/171 検証 : perl-Thread-Semaphore-2.13-492.fc37.noarch 120/171 検証 : perl-Tie-4.6-492.fc37.noarch 121/171 検証 : perl-Tie-File-1.06-492.fc37.noarch 122/171 検証 : perl-Tie-Memoize-1.1-492.fc37.noarch 123/171 検証 : perl-Tie-RefHash-1.40-489.fc37.noarch 124/171 検証 : perl-Time-1.03-492.fc37.noarch 125/171 検証 : perl-Time-HiRes-4:1.9770-489.fc37.x86_64 126/171 検証 : perl-Time-Piece-1.3401-492.fc37.x86_64 127/171 検証 : perl-Unicode-Collate-1.31-489.fc37.x86_64 128/171 検証 : perl-Unicode-LineBreak-2019.001-14.fc37.x86_64 129/171 検証 : perl-Unicode-Normalize-1.31-489.fc37.x86_64 130/171 検証 : perl-Unicode-UCD-0.78-492.fc37.noarch 131/171 検証 : perl-User-pwent-1.03-492.fc37.noarch 132/171 検証 : perl-autodie-2.34-490.fc37.noarch 133/171 検証 : perl-autouse-1.11-492.fc37.noarch 134/171 検証 : perl-bignum-0.66-5.fc37.noarch 135/171 検証 : perl-blib-1.07-492.fc37.noarch 136/171 検証 : perl-debugger-1.60-492.fc37.noarch 137/171 検証 : perl-deprecate-0.04-492.fc37.noarch 138/171 検証 : perl-devel-4:5.36.0-492.fc37.x86_64 139/171 検証 : perl-diagnostics-1.39-492.fc37.noarch 140/171 検証 : perl-doc-5.36.0-492.fc37.noarch 141/171 検証 : perl-encoding-4:3.00-492.fc37.x86_64 142/171 検証 : perl-encoding-warnings-0.13-492.fc37.noarch 143/171 検証 : perl-experimental-0.028-489.fc37.noarch 144/171 検証 : perl-fields-2.27-492.fc37.noarch 145/171 検証 : perl-filetest-1.03-492.fc37.noarch 146/171 検証 : perl-inc-latest-2:0.500-23.fc37.noarch 147/171 検証 : perl-less-0.03-492.fc37.noarch 148/171 検証 : perl-libnetcfg-4:5.36.0-492.fc37.noarch 149/171 検証 : perl-local-lib-2.000029-3.fc37.noarch 150/171 検証 : perl-locale-1.10-492.fc37.noarch 151/171 検証 : perl-macros-4:5.36.0-492.fc37.noarch 152/171 検証 : perl-meta-notation-5.36.0-492.fc37.noarch 153/171 検証 : perl-open-1.13-492.fc37.noarch 154/171 検証 : perl-perlfaq-5.20210520-489.fc37.noarch 155/171 検証 : perl-ph-5.36.0-492.fc37.x86_64 156/171 検証 : perl-sigtrap-1.10-492.fc37.noarch 157/171 検証 : perl-sort-2.05-492.fc37.noarch 158/171 検証 : perl-threads-1:2.27-489.fc37.x86_64 159/171 検証 : perl-threads-shared-1.64-489.fc37.x86_64 160/171 検証 : perl-utils-5.36.0-492.fc37.noarch 161/171 検証 : perl-version-8:0.99.29-490.fc37.x86_64 162/171 検証 : perl-vmsish-1.04-492.fc37.noarch 163/171 検証 : sombok-2.4.0-17.fc37.x86_64 164/171 検証 : gcc-c++-12.2.1-4.fc37.x86_64 165/171 検証 : libstdc++-devel-12.2.1-4.fc37.x86_64 166/171 検証 : perl-Module-CoreList-1:5.20221220-1.fc37.noarch 167/171 検証 : perl-Module-CoreList-tools-1:5.20221220-1.fc37.noarch 168/171 検証 : python3-pip-22.2.2-3.fc37.noarch 169/171 検証 : systemd-devel-251.10-588.fc37.x86_64 170/171 検証 : systemtap-sdt-devel-4.8-1.fc37.x86_64 171/171 インストール済み: gcc-c++-12.2.1-4.fc37.x86_64 libstdc++-devel-12.2.1-4.fc37.x86_64 perl-4:5.36.0-492.fc37.x86_64 perl-Algorithm-Diff-1.2010-7.fc37.noarch perl-Archive-Tar-2.40-490.fc37.noarch perl-Archive-Zip-1.68-9.fc37.noarch perl-Attribute-Handlers-1.02-492.fc37.noarch perl-AutoSplit-5.74-492.fc37.noarch perl-Benchmark-1.23-492.fc37.noarch perl-CPAN-2.34-4.fc37.noarch perl-CPAN-DistnameInfo-0.12-26.fc37.noarch perl-CPAN-Meta-2.150010-489.fc37.noarch perl-CPAN-Meta-Requirements-2.140-490.fc37.noarch perl-CPAN-Meta-YAML-0.018-490.fc37.noarch perl-Compress-Bzip2-2.28-10.fc37.x86_64 perl-Compress-Raw-Bzip2-2.201-2.fc37.x86_64 perl-Compress-Raw-Lzma-2.201-2.fc37.x86_64 perl-Compress-Raw-Zlib-2.202-3.fc37.x86_64 perl-Config-Extensions-0.03-492.fc37.noarch perl-Config-Perl-V-0.34-1.fc37.noarch perl-DBM_Filter-0.06-492.fc37.noarch perl-DB_File-1.858-4.fc37.x86_64 perl-Data-OptList-0.112-5.fc37.noarch perl-Data-Section-0.200007-17.fc37.noarch perl-Devel-PPPort-3.68-490.fc37.x86_64 perl-Devel-Peek-1.32-492.fc37.x86_64 perl-Devel-SelfStubber-1.06-492.fc37.noarch perl-Devel-Size-0.83-13.fc37.x86_64 perl-Digest-SHA-1:6.03-1.fc37.x86_64 perl-Digest-SHA1-2.13-37.fc37.x86_64 perl-DirHandle-1.05-492.fc37.noarch perl-Dumpvalue-2.27-492.fc37.noarch perl-Encode-Locale-1.05-24.fc37.noarch perl-Encode-devel-4:3.19-492.fc37.x86_64 perl-English-1.11-492.fc37.noarch perl-Env-1.05-489.fc37.noarch perl-ExtUtils-CBuilder-1:0.280236-489.fc37.noarch perl-ExtUtils-Command-2:7.64-490.fc37.noarch perl-ExtUtils-Constant-0.25-492.fc37.noarch perl-ExtUtils-Embed-1.35-492.fc37.noarch perl-ExtUtils-Install-2.20-489.fc37.noarch perl-ExtUtils-MM-Utils-2:7.64-490.fc37.noarch perl-ExtUtils-MakeMaker-2:7.64-490.fc37.noarch perl-ExtUtils-Manifest-1:1.73-489.fc37.noarch perl-ExtUtils-Miniperl-1.11-492.fc37.noarch perl-ExtUtils-ParseXS-1:3.45-489.fc37.noarch perl-File-Compare-1.100.700-492.fc37.noarch perl-File-DosGlob-1.12-492.fc37.x86_64 perl-File-Fetch-1.04-489.fc37.noarch perl-File-HomeDir-1.006-7.fc37.noarch perl-File-Which-1.27-6.fc37.noarch perl-FileCache-1.10-492.fc37.noarch perl-Filter-2:1.64-1.fc37.x86_64 perl-Filter-Simple-0.96-489.fc37.noarch perl-FindBin-1.53-492.fc37.noarch perl-GDBM_File-1:1.23-492.fc37.x86_64 perl-Hash-Util-0.28-492.fc37.x86_64 perl-Hash-Util-FieldHash-1.26-492.fc37.x86_64 perl-I18N-Collate-1.02-492.fc37.noarch perl-I18N-LangTags-0.45-492.fc37.noarch perl-I18N-Langinfo-0.21-492.fc37.x86_64 perl-IO-Compress-2.201-3.fc37.noarch perl-IO-Compress-Lzma-2.201-2.fc37.noarch perl-IO-Zlib-1:1.11-489.fc37.noarch perl-IPC-Cmd-2:1.04-490.fc37.noarch perl-IPC-SysV-2.09-490.fc37.x86_64 perl-IPC-System-Simple-1.30-9.fc37.noarch perl-Importer-0.026-7.fc37.noarch perl-JSON-PP-1:4.11-1.fc37.noarch perl-Locale-Maketext-1.32-1.fc37.noarch perl-Locale-Maketext-Simple-1:0.21-492.fc37.noarch perl-MIME-Charset-1.013.1-1.fc37.noarch perl-MRO-Compat-0.15-4.fc37.noarch perl-Math-BigInt-1:1.9998.37-2.fc37.noarch perl-Math-BigInt-FastCalc-0.501.300-3.fc37.x86_64 perl-Math-BigRat-0.2624-2.fc37.noarch perl-Math-Complex-1.59-492.fc37.noarch perl-Memoize-1.03-492.fc37.noarch perl-Module-Build-2:0.42.31-15.fc37.noarch perl-Module-CoreList-1:5.20221220-1.fc37.noarch perl-Module-CoreList-tools-1:5.20221220-1.fc37.noarch perl-Module-Load-1:0.36-489.fc37.noarch perl-Module-Load-Conditional-0.74-489.fc37.noarch perl-Module-Loaded-1:0.08-492.fc37.noarch perl-Module-Metadata-1.000037-489.fc37.noarch perl-Module-Signature-0.88-4.fc37.noarch perl-NEXT-0.69-492.fc37.noarch perl-Net-1.03-492.fc37.noarch perl-Net-Ping-2.75-1.fc37.noarch perl-ODBM_File-1.17-492.fc37.x86_64 perl-Object-HashBase-0.009-10.fc37.noarch perl-Opcode-1.57-492.fc37.x86_64 perl-Package-Generator-1.106-26.fc37.noarch perl-Params-Check-1:0.38-489.fc37.noarch perl-Params-Util-1.102-8.fc37.x86_64 perl-Perl-OSType-1.010-490.fc37.noarch perl-PerlIO-via-QuotedPrint-0.10-3.fc37.noarch perl-Pod-Checker-4:1.75-3.fc37.noarch perl-Pod-Functions-1.14-492.fc37.noarch perl-Pod-Html-1.33-492.fc37.noarch perl-Safe-2.43-492.fc37.noarch perl-Search-Dict-1.07-492.fc37.noarch perl-SelfLoader-1.26-492.fc37.noarch perl-Software-License-0.104002-2.fc37.noarch perl-Sub-Exporter-0.988-5.fc37.noarch perl-Sub-Install-0.928-33.fc37.noarch perl-Sys-Hostname-1.24-492.fc37.x86_64 perl-Sys-Syslog-0.36-490.fc37.x86_64 perl-Term-Complete-1.403-492.fc37.noarch perl-Term-ReadLine-1.17-492.fc37.noarch perl-Term-Size-Any-0.002-38.fc37.noarch perl-Term-Size-Perl-0.031-15.fc37.x86_64 perl-Term-Table-0.016-4.fc37.noarch perl-Test-1.31-492.fc37.noarch perl-Test-Harness-1:3.44-490.fc37.noarch perl-Test-Simple-3:1.302191-2.fc37.noarch perl-Text-Abbrev-1.02-492.fc37.noarch perl-Text-Balanced-2.06-2.fc37.noarch perl-Text-Diff-1.45-16.fc37.noarch perl-Text-Glob-0.11-18.fc37.noarch perl-Text-Template-1.60-4.fc37.noarch perl-Thread-3.05-492.fc37.noarch perl-Thread-Queue-3.14-489.fc37.noarch perl-Thread-Semaphore-2.13-492.fc37.noarch perl-Tie-4.6-492.fc37.noarch perl-Tie-File-1.06-492.fc37.noarch perl-Tie-Memoize-1.1-492.fc37.noarch perl-Tie-RefHash-1.40-489.fc37.noarch perl-Time-1.03-492.fc37.noarch perl-Time-HiRes-4:1.9770-489.fc37.x86_64 perl-Time-Piece-1.3401-492.fc37.x86_64 perl-Unicode-Collate-1.31-489.fc37.x86_64 perl-Unicode-LineBreak-2019.001-14.fc37.x86_64 perl-Unicode-Normalize-1.31-489.fc37.x86_64 perl-Unicode-UCD-0.78-492.fc37.noarch perl-User-pwent-1.03-492.fc37.noarch perl-autodie-2.34-490.fc37.noarch perl-autouse-1.11-492.fc37.noarch perl-bignum-0.66-5.fc37.noarch perl-blib-1.07-492.fc37.noarch perl-debugger-1.60-492.fc37.noarch perl-deprecate-0.04-492.fc37.noarch perl-devel-4:5.36.0-492.fc37.x86_64 perl-diagnostics-1.39-492.fc37.noarch perl-doc-5.36.0-492.fc37.noarch perl-encoding-4:3.00-492.fc37.x86_64 perl-encoding-warnings-0.13-492.fc37.noarch perl-experimental-0.028-489.fc37.noarch perl-fields-2.27-492.fc37.noarch perl-filetest-1.03-492.fc37.noarch perl-inc-latest-2:0.500-23.fc37.noarch perl-less-0.03-492.fc37.noarch perl-libnetcfg-4:5.36.0-492.fc37.noarch perl-local-lib-2.000029-3.fc37.noarch perl-locale-1.10-492.fc37.noarch perl-macros-4:5.36.0-492.fc37.noarch perl-meta-notation-5.36.0-492.fc37.noarch perl-open-1.13-492.fc37.noarch perl-perlfaq-5.20210520-489.fc37.noarch perl-ph-5.36.0-492.fc37.x86_64 perl-sigtrap-1.10-492.fc37.noarch perl-sort-2.05-492.fc37.noarch perl-threads-1:2.27-489.fc37.x86_64 perl-threads-shared-1.64-489.fc37.x86_64 perl-utils-5.36.0-492.fc37.noarch perl-version-8:0.99.29-490.fc37.x86_64 perl-vmsish-1.04-492.fc37.noarch python3-pip-22.2.2-3.fc37.noarch sombok-2.4.0-17.fc37.x86_64 systemd-devel-251.10-588.fc37.x86_64 systemtap-sdt-devel-4.8-1.fc37.x86_64 完了しました!
espup のインストール
公式: 1. Install espup - RISC-V and Xtensa targets - The Rust on ESP Book 翻訳
公式: Installation - GitHub - esp-rs/espup: Tool for installing and maintaining ESP Rust ecosystem. 翻訳
cargo でビルドせずにバイナリをインストールする場合🤔
$ curl -L https://github.com/esp-rs/espup/releases/latest/download/espup-x86_64-unknown-linux-gnu -o espup
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 10.2M 100 10.2M 0 0 672k 0 0:00:15 0:00:15 --:--:-- 1003k
$ chmod a+x espup
または、cargo でビルドを行ってインストールする🤔
$ cargo install espup
Updating crates.io index Downloaded espup v0.2.4 Downloaded 1 crate (42.3 KB) in 1.09s Installing espup v0.2.4 Downloaded tempfile v3.3.0 Downloaded bzip2-sys v0.1.11+1.0.8 Downloaded time-core v0.1.0 Downloaded hmac v0.12.1 Downloaded env_logger v0.10.0 Downloaded directories-next v2.0.0 Downloaded termcolor v1.1.3 Downloaded itoa v1.0.5 Downloaded guess_host_triple v0.1.3 Downloaded directories v4.0.1 Downloaded constant_time_eq v0.1.5 Downloaded time v0.3.17 Downloaded syn v1.0.107 Downloaded tinyvec v1.6.0 Downloaded time-macros v0.2.6 Downloaded is_ci v1.1.1 Downloaded embuild v0.31.0 Downloaded tokio-native-tls v0.3.0 Downloaded tracing v0.1.37 Downloaded which v4.3.0 Downloaded bytes v1.3.0 Downloaded untrusted v0.7.1 Downloaded miniz_oxide v0.6.2 Downloaded owo-colors v3.5.0 Downloaded smawk v0.3.1 Downloaded mio v0.8.5 Downloaded object v0.30.1 Downloaded supports-hyperlinks v1.2.0 Downloaded tinyvec_macros v0.1.0 Downloaded tar v0.4.38 Downloaded heck v0.4.0 Downloaded dirs-sys v0.3.7 Downloaded openssl v0.10.45 Downloaded num_cpus v1.15.0 Downloaded once_cell v1.17.0 Downloaded native-tls v0.2.11 Downloaded webpki-roots v0.22.6 Downloaded bzip2 v0.4.4 Downloaded xz2 v0.1.7 Downloaded base64ct v1.5.3 Downloaded cipher v0.3.0 Downloaded tokio v1.24.0 Downloaded is-terminal v0.4.2 Downloaded adler v1.0.2 Downloaded addr2line v0.19.0 Downloaded pkg-config v0.3.26 Downloaded openssl-sys v0.9.80 Downloaded ryu v1.0.12 Downloaded spin v0.5.2 Downloaded sct v0.7.0 Downloaded update-informer v0.6.0 Downloaded strum v0.24.1 Downloaded atty v0.2.14 Downloaded serde_urlencoded v0.7.1 Downloaded aes v0.7.5 Downloaded typenum v1.16.0 Downloaded url v2.3.1 Downloaded version_check v0.9.4 Downloaded memchr v2.5.0 Downloaded try-lock v0.2.3 Downloaded unicode-ident v1.0.6 Downloaded unicode-width v0.1.10 Downloaded unicode-bidi v0.3.8 Downloaded unicode-linebreak v0.1.4 Downloaded hyper-tls v0.5.0 Downloaded proc-macro-error-attr v1.0.4 Downloaded openssl-probe v0.1.5 Downloaded openssl-macros v0.1.0 Downloaded lazy_static v1.4.0 Downloaded futures-io v0.3.25 Downloaded toml v0.5.10 Downloaded tower-service v0.3.2 Downloaded log v0.4.17 Downloaded httparse v1.8.0 Downloaded sha2 v0.10.6 Downloaded clap_derive v4.0.21 Downloaded hyper v0.14.23 Downloaded anyhow v1.0.68 Downloaded ahash v0.7.6 Downloaded jobserver v0.1.25 Downloaded byteorder v1.4.3 Downloaded tokio-util v0.7.4 Downloaded serde_json v1.0.91 Downloaded pin-utils v0.1.0 Downloaded miette-derive v5.5.0 Downloaded miette v5.5.0 Downloaded remove_dir_all v0.7.0 Downloaded pbkdf2 v0.11.0 Downloaded supports-color v1.3.1 Downloaded opaque-debug v0.3.0 Downloaded strsim v0.10.0 Downloaded proc-macro2 v1.0.49 Downloaded password-hash v0.4.2 Downloaded sha1 v0.10.5 Downloaded pin-project-lite v0.2.9 Downloaded rustversion v1.0.11 Downloaded proc-macro-error v1.0.4 Downloaded slab v0.4.7 Downloaded rand_core v0.6.4 Downloaded quote v1.0.23 Downloaded digest v0.10.6 Downloaded textwrap v0.15.2 Downloaded rustc-demangle v0.1.21 Downloaded os_str_bytes v6.4.1 Downloaded terminal_size v0.1.17 Downloaded autocfg v1.1.0 Downloaded subtle v2.4.1 Downloaded regex v1.7.0 Downloaded semver v1.0.16 Downloaded percent-encoding v2.2.0 Downloaded shlex v1.1.0 Downloaded aho-corasick v0.7.20 Downloaded supports-unicode v1.0.2 Downloaded strum_macros v0.24.3 Downloaded regex-syntax v0.6.28 Downloaded reqwest v0.11.13 Downloaded socket2 v0.4.7 Downloaded thiserror-impl v1.0.38 Downloaded tracing-core v0.1.30 Downloaded thiserror v1.0.38 Downloaded remove_dir_all v0.5.3 Downloaded ureq v2.6.1 Downloaded zstd-safe v5.0.2+zstd.1.5.2 Downloaded serde_derive v1.0.152 Downloaded want v0.3.0 Downloaded serde v1.0.152 Downloaded zip v0.6.3 Downloaded linux-raw-sys v0.1.4 Downloaded rustls v0.20.7 Downloaded webpki v0.22.0 Downloaded zstd v0.11.2+zstd.1.5.2 Downloaded rustix v0.36.6 Downloaded backtrace v0.3.67 Downloaded libc v0.2.139 Downloaded futures-sink v0.3.25 Downloaded dirs-sys-next v0.1.2 Downloaded crypto-common v0.1.6 Downloaded block-buffer v0.10.3 Downloaded console v0.15.4 Downloaded cc v1.0.78 Downloaded cfg-if v1.0.0 Downloaded base64 v0.13.1 Downloaded clap v4.0.32 Downloaded errno v0.2.8 Downloaded clap_lex v0.3.0 Downloaded filetime v0.2.19 Downloaded foreign-types v0.3.2 Downloaded flate2 v1.0.25 Downloaded fastrand v1.8.0 Downloaded xattr v0.2.3 Downloaded cpufeatures v0.2.5 Downloaded h2 v0.3.15 Downloaded fnv v1.0.7 Downloaded futures-util v0.3.25 Downloaded getrandom v0.2.8 Downloaded mime v0.3.16 Downloaded dirs v4.0.0 Downloaded generic-array v0.14.6 Downloaded bitflags v1.3.2 Downloaded futures-core v0.3.25 Downloaded crc32fast v1.3.2 Downloaded hashbrown v0.12.3 Downloaded http v0.2.8 Downloaded idna v0.3.0 Downloaded either v1.8.0 Downloaded httpdate v1.0.2 Downloaded humantime v2.1.0 Downloaded futures-channel v0.3.25 Downloaded http-body v0.4.5 Downloaded ipnet v2.7.0 Downloaded form_urlencoded v1.1.0 Downloaded io-lifetimes v1.0.3 Downloaded futures-task v0.3.25 Downloaded foreign-types-shared v0.1.1 Downloaded indexmap v1.9.2 Downloaded unicode-normalization v0.1.22 Downloaded lzma-sys v0.1.20 Downloaded zstd-sys v2.0.4+zstd.1.5.2 Downloaded encoding_rs v0.8.31 Downloaded gimli v0.27.0 Downloaded ring v0.16.20 Downloaded openssl-src v111.24.0+1.1.1s Downloaded 182 crates (25.1 MB) in 13.92s (largest was `openssl-src` at 5.1 MB) Compiling libc v0.2.139 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling proc-macro2 v1.0.49 Compiling unicode-ident v1.0.6 Compiling quote v1.0.23 Compiling syn v1.0.107 Compiling memchr v2.5.0 Compiling jobserver v0.1.25 Compiling autocfg v1.1.0 Compiling cc v1.0.78 Compiling once_cell v1.17.0 Compiling pkg-config v0.3.26 Compiling log v0.4.17 Compiling typenum v1.16.0 Compiling itoa v1.0.5 Compiling generic-array v0.14.6 Compiling openssl-src v111.24.0+1.1.1s Compiling serde_derive v1.0.152 Compiling pin-project-lite v0.2.9 Compiling bitflags v1.3.2 Compiling openssl-sys v0.9.80 Compiling ring v0.16.20 Compiling futures-core v0.3.25 Compiling bytes v1.3.0 Compiling serde v1.0.152 Compiling tokio v1.24.0 Compiling ahash v0.7.6 Compiling getrandom v0.2.8 Compiling mio v0.8.5 Compiling num_cpus v1.15.0 Compiling socket2 v0.4.7 Compiling slab v0.4.7 Compiling tinyvec_macros v0.1.0 Compiling untrusted v0.7.1 Compiling spin v0.5.2 Compiling futures-task v0.3.25 Compiling subtle v2.4.1 Compiling adler v1.0.2 Compiling miniz_oxide v0.6.2 Compiling tinyvec v1.6.0 Compiling aho-corasick v0.7.20 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.3 Compiling zstd-sys v2.0.4+zstd.1.5.2 Compiling tracing-core v0.1.30 Compiling indexmap v1.9.2 Compiling futures-util v0.3.25 Compiling crc32fast v1.3.2 Compiling fnv v1.0.7 Compiling regex-syntax v0.6.28 Compiling openssl v0.10.45 Compiling io-lifetimes v1.0.3 Compiling ryu v1.0.12 Compiling foreign-types-shared v0.1.1 Compiling percent-encoding v2.2.0 Compiling form_urlencoded v1.1.0 Compiling regex v1.7.0 Compiling foreign-types v0.3.2 Compiling http v0.2.8 Compiling tracing v0.1.37 Compiling digest v0.10.6 Compiling unicode-normalization v0.1.22 Compiling hashbrown v0.12.3 Compiling openssl-macros v0.1.0 Compiling proc-macro-error-attr v1.0.4 Compiling futures-io v0.3.25 Compiling unicode-bidi v0.3.8 Compiling rustix v0.36.6 Compiling httparse v1.8.0 Compiling heck v0.4.0 Compiling serde_json v1.0.91 Compiling native-tls v0.2.11 Compiling pin-utils v0.1.0 Compiling rustversion v1.0.11 Compiling futures-channel v0.3.25 Compiling cpufeatures v0.2.5 Compiling futures-sink v0.3.25 Compiling tokio-util v0.7.4 Compiling idna v0.3.0 Compiling unicode-linebreak v0.1.4 Compiling webpki v0.22.0 Compiling bzip2-sys v0.1.11+1.0.8 Compiling dirs-sys v0.3.7 Compiling atty v0.2.14 Compiling proc-macro-error v1.0.4 Compiling linux-raw-sys v0.1.4 Compiling zstd-safe v5.0.2+zstd.1.5.2 Compiling rustls v0.20.7 Compiling try-lock v0.2.3 Compiling openssl-probe v0.1.5 Compiling thiserror v1.0.38 Compiling want v0.3.0 Compiling h2 v0.3.15 Compiling flate2 v1.0.25 Compiling url v2.3.1 Compiling http-body v0.4.5 Compiling sct v0.7.0 Compiling thiserror-impl v1.0.38 Compiling lzma-sys v0.1.20 Compiling backtrace v0.3.67 Compiling time-core v0.1.0 Compiling semver v1.0.16 Compiling base64ct v1.5.3 Compiling unicode-width v0.1.10 Compiling rand_core v0.6.4 Compiling anyhow v1.0.68 Compiling tower-service v0.3.2 Compiling base64 v0.13.1 Compiling gimli v0.27.0 Compiling httpdate v1.0.2 Compiling encoding_rs v0.8.31 Compiling hyper v0.14.23 Compiling password-hash v0.4.2 Compiling time-macros v0.2.6 Compiling addr2line v0.19.0 Compiling strum_macros v0.24.3 Compiling is-terminal v0.4.2 Compiling webpki-roots v0.22.6 Compiling sha2 v0.10.6 Compiling hmac v0.12.1 Compiling cipher v0.3.0 Compiling object v0.30.1 Compiling filetime v0.2.19 Compiling remove_dir_all v0.5.3 Compiling termcolor v1.1.3 Compiling is_ci v1.1.1 Compiling either v1.8.0 Compiling opaque-debug v0.3.0 Compiling fastrand v1.8.0 Compiling rustc-demangle v0.1.21 Compiling os_str_bytes v6.4.1 Compiling smawk v0.3.1 Compiling textwrap v0.15.2 Compiling clap_lex v0.3.0 Compiling time v0.3.17 Compiling tempfile v3.3.0 Compiling aes v0.7.5 Compiling which v4.3.0 Compiling supports-color v1.3.1 Compiling strum v0.24.1 Compiling pbkdf2 v0.11.0 Compiling ureq v2.6.1 Compiling clap_derive v4.0.21 Compiling dirs v4.0.0 Compiling directories v4.0.1 Compiling supports-hyperlinks v1.2.0 Compiling supports-unicode v1.0.2 Compiling sha1 v0.10.5 Compiling serde_urlencoded v0.7.1 Compiling miette-derive v5.5.0 Compiling errno v0.2.8 Compiling remove_dir_all v0.7.0 Compiling terminal_size v0.1.17 Compiling xattr v0.2.3 Compiling dirs-sys-next v0.1.2 Compiling constant_time_eq v0.1.5 Compiling ipnet v2.7.0 Compiling lazy_static v1.4.0 Compiling byteorder v1.4.3 Compiling strsim v0.10.0 Compiling shlex v1.1.0 Compiling humantime v2.1.0 Compiling owo-colors v3.5.0 Compiling mime v0.3.16 Compiling env_logger v0.10.0 Compiling embuild v0.31.0 Compiling miette v5.5.0 Compiling clap v4.0.32 Compiling console v0.15.4 Compiling directories-next v2.0.0 Compiling tar v0.4.38 Compiling guess_host_triple v0.1.3 Compiling update-informer v0.6.0 Compiling toml v0.5.10 Compiling bzip2 v0.4.4 Compiling zstd v0.11.2+zstd.1.5.2 Compiling zip v0.6.3 Compiling xz2 v0.1.7 Compiling tokio-native-tls v0.3.0 Compiling hyper-tls v0.5.0 Compiling reqwest v0.11.13 Compiling espup v0.2.4 Finished release [optimized] target(s) in 6m 58s Installing /home/tomoyan/.cargo/bin/espup Installed package `espup v0.2.4` (executable `espup`)
動作確認する😉
$ espup --version
espup 0.5.0
ツールチェーンのインストール
公式: 2. Install Necessary Toolchains - RISC-V and Xtensa targets - The Rust on ESP Book 翻訳
Fedora
$ espup install
[2023-09-10T07:14:54Z INFO ] 💽 Installing the Espressif Rust ecosystem [2023-09-10T07:14:54Z INFO ] 💡 Querying GitHub API: 'https://api.github.com/repos/esp-rs/rust-build/releases/latest' [2023-09-10T07:14:55Z INFO ] 💡 Querying GitHub API: 'https://api.github.com/repos/esp-rs/rust-build/releases' [2023-09-10T07:14:58Z INFO ] 🔧 Checking Rust installation [2023-09-10T07:15:05Z INFO ] 🔧 Installing Xtensa Rust 1.72.0.0 toolchain [2023-09-10T07:15:05Z INFO ] 🔧 Creating directory: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208' [2023-09-10T07:15:05Z INFO ] 📥 Downloading file '/tmp/.tmpFuWq17/rust.tar.xz' from 'https://github.com/esp-rs/rust-build/releases/download/v1.72.0.0/rust-1.72.0.0-x86_64-unknown-linux-gnu.tar.xz' [2023-09-10T07:15:05Z INFO ] 🔧 Installing RISC-V targets ('riscv32imc-unknown-none-elf' and 'riscv32imac-unknown-none-elf') for 'nightly' toolchain [2023-09-10T07:15:05Z INFO ] 📥 Downloading file '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf.tar.xz' from 'https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32s3-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz' [2023-09-10T07:15:05Z INFO ] 🔧 Creating directory: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208' [2023-09-10T07:15:05Z INFO ] 📥 Downloading file '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf.tar.xz' from 'https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz' [2023-09-10T07:15:05Z INFO ] 🔧 Installing Xtensa elf Clang [2023-09-10T07:15:05Z INFO ] 🔧 Creating directory: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-16.0.0-20230516' [2023-09-10T07:15:05Z INFO ] 📥 Downloading file '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-16.0.0-20230516/idf_tool_xtensa_elf_clang.tar.xz' from 'https://github.com/espressif/llvm-project/releases/download/esp-16.0.0-20230516/libs_llvm-esp-16.0.0-20230516-linux-amd64.tar.xz' [2023-09-10T07:15:05Z INFO ] 🔧 Creating directory: '/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208' [2023-09-10T07:15:05Z INFO ] 📥 Downloading file '/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf.tar.xz' from 'https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/riscv32-esp-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz' [2023-09-10T07:15:05Z INFO ] 🔧 Creating directory: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208' [2023-09-10T07:15:05Z INFO ] 📥 Downloading file '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf.tar.xz' from 'https://github.com/espressif/crosstool-NG/releases/download/esp-12.2.0_20230208/xtensa-esp32s2-elf-12.2.0_20230208-x86_64-linux-gnu.tar.xz' [2023-09-10T07:17:03Z INFO ] 🔧 Uncompressing tar.xz file to '/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208' [2023-09-10T07:17:49Z INFO ] 🔧 Uncompressing tar.xz file to '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208' [2023-09-10T07:18:14Z INFO ] 🔧 Uncompressing tar.xz file to '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-16.0.0-20230516' [2023-09-10T07:18:36Z INFO ] 🔧 Uncompressing tar.xz file to '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208' [2023-09-10T07:18:46Z INFO ] 🔧 Uncompressing tar.xz file to '/tmp/.tmpFuWq17' [2023-09-10T07:18:50Z INFO ] 🔧 Uncompressing tar.xz file to '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208' [2023-09-10T07:19:02Z INFO ] 🔧 Installing 'rust' component for Xtensa Rust toolchain [2023-09-10T07:19:08Z INFO ] 📥 Downloading file '/tmp/.tmpQmbWpF/rust-src.tar.xz' from 'https://github.com/esp-rs/rust-build/releases/download/v1.72.0.0/rust-src-1.72.0.0.tar.xz' [2023-09-10T07:19:11Z INFO ] 🔧 Uncompressing tar.xz file to '/tmp/.tmpQmbWpF' [2023-09-10T07:19:11Z INFO ] 🔧 Installing 'rust-src' component for Xtensa Rust toolchain [2023-09-10T07:20:08Z INFO ] 🔧 Creating export file [2023-09-10T07:20:08Z WARN ] 💡 Please, set up the environment variables by running: '. /home/tomoyan/export-esp.sh' [2023-09-10T07:20:08Z WARN ] ⚠️ This step must be done every time you open a new terminal. [2023-09-10T07:20:08Z INFO ] ✅ Installation successfully completed!
DietPi😢
$ espup install
[2023-08-18T00:00:25Z INFO ] 💽 Installing the Espressif Rust ecosystem [2023-08-18T00:00:25Z WARN ] uname returned unrecognised machine "armv6l" [2023-08-18T00:00:25Z WARN ] Could not guess triple for (Unknown, Little, Linux) thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/dietpi/.cargo/registry/src/index.crates.io-1cd66030c949c28d/espup-0.5.0/src/host_triple.rs:37:29 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
バージョン指定して古いツールチェーンをインストールしたい場合
$ espup install --toolchain-version 1.67.0.0
[2023-12-01T08:17:42Z WARN ] ⚠️ A new version of espup ('v0.9.0') is available. [2023-12-01T08:17:42Z INFO ] 💽 Installing the Espressif Rust ecosystem [2023-12-01T08:17:42Z INFO ] 🔧 Checking Rust installation [2023-12-01T08:17:43Z INFO ] 🔧 Installing RISC-V targets ('riscv32imc-unknown-none-elf' and 'riscv32imac-unknown-none-elf') for 'nightly' toolchain [2023-12-01T08:17:43Z WARN ] ⚠️ Previous installation of GCC exists in: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208'. Reusing this installation. [2023-12-01T08:17:43Z WARN ] ⚠️ Previous installation of GCC exists in: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208'. Reusing this installation. [2023-12-01T08:17:43Z WARN ] ⚠️ Previous installation of GCC exists in: '/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208'. Reusing this installation. [2023-12-01T08:17:43Z WARN ] ⚠️ Previous installation of LLVM exists in: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-15.0.0-20221201'. Reusing this installation. [2023-12-01T08:17:43Z WARN ] ⚠️ Previous installation of GCC exists in: '/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208'. Reusing this installation. [2023-12-01T08:17:43Z INFO ] 🔧 Uninstalling Xtensa Rust toolchain [2023-12-01T08:17:43Z INFO ] 🔧 Installing Xtensa Rust 1.67.0.0 toolchain [2023-12-01T08:17:43Z INFO ] 📥 Downloading file '/tmp/.tmp55nX1q/rust.tar.xz' from 'https://github.com/esp-rs/rust-build/releases/download/v1.67.0.0/rust-1.67.0.0-x86_64-unknown-linux-gnu.tar.xz' [2023-12-01T08:18:54Z INFO ] 🔧 Uncompressing tar.xz file to '/tmp/.tmp55nX1q' [2023-12-01T08:19:12Z INFO ] 🔧 Installing 'rust' component for Xtensa Rust toolchain [2023-12-01T08:19:18Z INFO ] 📥 Downloading file '/tmp/.tmpBjaNCL/rust-src.tar.xz' from 'https://github.com/esp-rs/rust-build/releases/download/v1.67.0.0/rust-src-1.67.0.0.tar.xz' [2023-12-01T08:19:21Z INFO ] 🔧 Uncompressing tar.xz file to '/tmp/.tmpBjaNCL' [2023-12-01T08:19:21Z INFO ] 🔧 Installing 'rust-src' component for Xtensa Rust toolchain [2023-12-01T08:20:24Z INFO ] 🔧 Creating export file [2023-12-01T08:20:24Z WARN ] 💡 Please, set up the environment variables by running: '. /home/tomoyan/export-esp.sh' [2023-12-01T08:20:24Z WARN ] ⚠️ This step must be done every time you open a new terminal. [2023-12-01T08:20:24Z INFO ] ✅ Installation successfully completed!
ツールチェーンは esp でインストールされている🤔
$ rustup toolchain list
stable-x86_64-unknown-linux-gnu nightly-x86_64-unknown-linux-gnu 1.65-x86_64-unknown-linux-gnu (default) esp
esp ツールチェーンのコンパイラバージョンを確認する😉
$ rustup run esp rustc -V
rustc 1.67.0-nightly (725e31c21 2023-01-25)
環境変数の設定
Fedora
$ cat ~/export-esp.sh
export PATH="/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin:$PATH" export PATH="/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin:$PATH" export LIBCLANG_PATH="/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-16.0.0-20230516/esp-clang/lib" export PATH="/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin:$PATH" export PATH="/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin:$PATH"
$ . ~/export-esp.sh
Z shell の場合
$ cat << EOF >> ~/.zshrc # espup initialize . ~/export-esp.sh EOF
bash の場合
$ cat << EOF >> ~/.bashrc # espup initialize . ~/export-esp.sh EOF
std アプリケーションの構築要件
公式: std Development Requirements - The Rust on ESP Book 翻訳
Fedora
$ python -VV
Python 3.11.6 (main, Oct 3 2023, 00:00:00) [GCC 13.2.1 20230728 (Red Hat 13.2.1-1)]
$ git version
git version 2.41.0
$ cargo install ldproxy
Updating crates.io index Downloaded ldproxy v0.3.3 Downloaded 1 crate (10.3 KB) in 1.87s Ignored package `ldproxy v0.3.3` is already installed, use --force to override
プロジェクトテンプレートの使用
公式: Generating Projects from Templates - The Rust on ESP Book 翻訳
公式: Installation - Cargo Generate Documentation 翻訳 も参照。
プロジェクトテンプレートより独自のプロジェクトを生成することで、起こり得るエラーを防いで時間を短縮できます。
cargo-generateのインストール
$ cargo install cargo-generate
Updating crates.io index Downloaded cargo-generate v0.18.5 Downloaded 1 crate (95.0 KB) in 2.28s Installing cargo-generate v0.18.5 Updating crates.io index Downloaded env_logger v0.10.1 Downloaded cvt v0.1.2 Downloaded bstr v1.8.0 Downloaded anymap2 v0.13.0 Downloaded anstyle v1.0.4 Downloaded aho-corasick v1.1.2 Downloaded clap_lex v0.6.0 Downloaded bitflags v2.4.1 Downloaded ahash v0.8.6 Downloaded clap_builder v4.4.8 Downloaded cpufeatures v0.2.11 Downloaded git2 v0.18.1 Downloaded getrandom v0.2.11 Downloaded gix-config-value v0.14.0 Downloaded clap v4.4.8 Downloaded gix-ref v0.38.0 Downloaded number_prefix v0.4.0 Downloaded parking_lot_core v0.9.9 Downloaded shell-words v1.1.0 Downloaded powerfmt v0.2.0 Downloaded gix-utils v0.1.5 Downloaded normpath v1.1.1 Downloaded paste v1.0.14 Downloaded doc-comment v0.3.3 Downloaded num_threads v0.1.6 Downloaded thiserror v1.0.50 Downloaded time-core v0.1.2 Downloaded serde_spanned v0.6.4 Downloaded globset v0.4.13 Downloaded gix-actor v0.28.0 Downloaded faster-hex v0.8.1 Downloaded remove_dir_all v0.8.2 Downloaded pest_generator v2.7.5 Downloaded path-absolutize v3.1.1 Downloaded termcolor v1.4.0 Downloaded smartstring v1.0.1 Downloaded thread_local v1.1.7 Downloaded thiserror-impl v1.0.50 Downloaded sha1_smol v1.0.0 Downloaded pest_derive v2.7.5 Downloaded errno v0.3.7 Downloaded ignore v0.4.20 Downloaded unicode-bom v2.0.3 Downloaded typenum v1.17.0 Downloaded num-traits v0.2.17 Downloaded dialoguer v0.11.0 Downloaded semver v1.0.20 Downloaded smallvec v1.11.2 Downloaded sha2 v0.10.8 Downloaded lock_api v0.4.11 Downloaded jobserver v0.1.27 Downloaded indexmap v2.1.0 Downloaded time-macros v0.2.15 Downloaded tempfile v3.8.1 Downloaded indicatif v0.17.7 Downloaded toml_datetime v0.6.5 Downloaded pest_meta v2.7.5 Downloaded gix-fs v0.8.0 Downloaded zeroize v1.7.0 Downloaded openssl-sys v0.9.95 Downloaded proc-macro2 v1.0.69 Downloaded ucd-trie v0.1.6 Downloaded toml v0.8.8 Downloaded serde_derive v1.0.192 Downloaded memchr v2.6.4 Downloaded serde v1.0.192 Downloaded walkdir v2.4.0 Downloaded const-random v0.1.17 Downloaded auth-git2 v0.5.3 Downloaded const-random-macro v0.1.16 Downloaded sanitize-filename v0.5.0 Downloaded path-dedot v3.1.1 Downloaded fs-err v2.10.0 Downloaded gix-validate v0.8.0 Downloaded btoi v0.4.3 Downloaded clap_derive v4.4.7 Downloaded hashbrown v0.14.2 Downloaded pest v2.7.5 Downloaded deranged v0.3.9 Downloaded gix-trace v0.1.3 Downloaded kstring v2.0.0 Downloaded liquid v0.26.4 Downloaded terminal-prompt v0.2.3 Downloaded liquid-derive v0.26.4 Downloaded gix-sec v0.10.0 Downloaded gix-path v0.10.0 Downloaded gix-lock v11.0.0 Downloaded portable-atomic v1.5.1 Downloaded gix-features v0.36.0 Downloaded fs_at v0.1.10 Downloaded memmap2 v0.7.1 Downloaded names v0.14.0 Downloaded rhai_codegen v1.6.0 Downloaded time v0.3.30 Downloaded gix-tempfile v11.0.0 Downloaded gix-hash v0.13.1 Downloaded gix-date v0.8.0 Downloaded gix-glob v0.14.0 Downloaded liquid-lib v0.26.4 Downloaded gix-object v0.38.0 Downloaded zerocopy v0.7.26 Downloaded liquid-core v0.26.4 Downloaded winnow v0.5.19 Downloaded toml_edit v0.21.0 Downloaded syn v2.0.39 Downloaded gix-config v0.31.0 Downloaded prodash v26.2.2 Downloaded regex v1.10.2 Downloaded rustix v0.38.24 Downloaded regex-syntax v0.8.2 Downloaded rhai v1.16.3 Downloaded regex-automata v0.4.3 Downloaded libssh2-sys v0.3.0 Downloaded libc v0.2.150 Downloaded linux-raw-sys v0.4.11 Downloaded libgit2-sys v0.16.1+1.7.1 Downloaded libz-sys v1.1.12 Downloaded 117 crates (14.4 MB) in 7.01s (largest was `libz-sys` at 3.0 MB) Compiling proc-macro2 v1.0.69 Compiling unicode-ident v1.0.12 Compiling libc v0.2.150 Compiling thiserror v1.0.50 Compiling autocfg v1.1.0 Compiling memchr v2.6.4 Compiling serde v1.0.192 Compiling cfg-if v1.0.0 Compiling aho-corasick v1.1.2 Compiling quote v1.0.33 Compiling regex-syntax v0.8.2 Compiling syn v2.0.39 Compiling jobserver v0.1.27 Compiling bitflags v2.4.1 Compiling once_cell v1.18.0 Compiling cc v1.0.83 Compiling regex-automata v0.4.3 Compiling pkg-config v0.3.27 Compiling vcpkg v0.2.15 Compiling num-traits v0.2.17 Compiling same-file v1.0.6 Compiling powerfmt v0.2.0 Compiling time-core v0.1.2 Compiling bstr v1.8.0 Compiling gix-trace v0.1.3 Compiling thiserror-impl v1.0.50 Compiling serde_derive v1.0.192 Compiling rustix v0.38.24 Compiling time-macros v0.2.15 Compiling deranged v0.3.9 Compiling walkdir v2.4.0 Compiling num_threads v0.1.6 Compiling linux-raw-sys v0.4.11 Compiling itoa v1.0.9 Compiling time v0.3.30 Compiling libz-sys v1.1.12 Compiling openssl-sys v0.9.95 Compiling faster-hex v0.8.1 Compiling gix-hash v0.13.1 Compiling sha1_smol v1.0.0 Compiling smallvec v1.11.2 Compiling prodash v26.2.2 Compiling regex v1.10.2 Compiling gix-features v0.36.0 Compiling lock_api v0.4.11 Compiling crunchy v0.2.2 Compiling ucd-trie v0.1.6 Compiling fastrand v2.0.1 Compiling parking_lot_core v0.9.9 Compiling version_check v0.9.4 Compiling libssh2-sys v0.3.0 Compiling getrandom v0.2.11 Compiling winnow v0.5.19 Compiling scopeguard v1.2.0 Compiling pest v2.7.5 Compiling tiny-keccak v2.0.2 Compiling lazy_static v1.4.0 Compiling static_assertions v1.1.0 Compiling tinyvec_macros v0.1.1 Compiling percent-encoding v2.3.0 Compiling tinyvec v1.6.0 Compiling pest_meta v2.7.5 Compiling tempfile v3.8.1 Compiling home v0.5.5 Compiling log v0.4.20 Compiling gix-path v0.10.0 Compiling pest_generator v2.7.5 Compiling parking_lot v0.12.1 Compiling unicode-normalization v0.1.22 Compiling gix-fs v0.8.0 Compiling gix-date v0.8.0 Compiling btoi v0.4.3 Compiling libgit2-sys v0.16.1+1.7.1 Compiling unicode-bidi v0.3.13 Compiling either v1.9.0 Compiling itertools v0.10.5 Compiling idna v0.4.0 Compiling gix-actor v0.28.0 Compiling pest_derive v2.7.5 Compiling gix-tempfile v11.0.0 Compiling const-random-macro v0.1.16 Compiling form_urlencoded v1.2.0 Compiling kstring v2.0.0 Compiling ahash v0.8.6 Compiling smartstring v1.0.1 Compiling rand_core v0.6.4 Compiling gix-utils v0.1.5 Compiling gix-validate v0.8.0 Compiling liquid-derive v0.26.4 Compiling anymap2 v0.13.0 Compiling unicode-width v0.1.11 Compiling option-ext v0.2.0 Compiling doc-comment v0.3.3 Compiling equivalent v1.0.1 Compiling ppv-lite86 v0.2.17 Compiling portable-atomic v1.5.1 Compiling hashbrown v0.14.2 Compiling bitflags v1.3.2 Compiling nix v0.26.4 Compiling rand_chacha v0.3.1 Compiling indexmap v2.1.0 Compiling dirs-sys v0.4.1 Compiling console v0.15.7 Compiling liquid-core v0.26.4 Compiling gix-object v0.38.0 Compiling gix-lock v11.0.0 Compiling const-random v0.1.17 Compiling url v2.4.1 Compiling serde_spanned v0.6.4 Compiling toml_datetime v0.6.5 Compiling memmap2 v0.7.1 Compiling cvt v0.1.2 Compiling fs-err v2.10.0 Compiling paste v1.0.14 Compiling anstyle v1.0.4 Compiling anyhow v1.0.75 Compiling heck v0.4.1 Compiling unicode-segmentation v1.10.1 Compiling zerocopy v0.7.26 Compiling openssl-probe v0.1.5 Compiling semver v1.0.20 Compiling names v0.14.0 Compiling fnv v1.0.7 Compiling clap_lex v0.6.0 Compiling clap_builder v4.4.8 Compiling globset v0.4.13 Compiling liquid-lib v0.26.4 Compiling clap_derive v4.4.7 Compiling fs_at v0.1.10 Compiling gix-ref v0.38.0 Compiling toml_edit v0.21.0 Compiling dirs v5.0.1 Compiling rand v0.8.5 Compiling gix-config-value v0.14.0 Compiling gix-glob v0.14.0 Compiling is-terminal v0.4.9 Compiling rhai_codegen v1.6.0 Compiling path-dedot v3.1.1 Compiling thread_local v1.1.7 Compiling gix-sec v0.10.0 Compiling terminal-prompt v0.2.3 Compiling humantime v2.1.0 Compiling shell-words v1.1.0 Compiling zeroize v1.7.0 Compiling normpath v1.1.1 Compiling number_prefix v0.4.0 Compiling termcolor v1.4.0 Compiling unicode-bom v2.0.3 Compiling env_logger v0.10.1 Compiling gix-config v0.31.0 Compiling rhai v1.16.3 Compiling remove_dir_all v0.8.2 Compiling indicatif v0.17.7 Compiling dialoguer v0.11.0 Compiling ignore v0.4.20 Compiling path-absolutize v3.1.1 Compiling toml v0.8.8 Compiling liquid v0.26.4 Compiling clap v4.4.8 Compiling sanitize-filename v0.5.0 Compiling git2 v0.18.1 Compiling auth-git2 v0.5.3 Compiling cargo-generate v0.18.5 Finished release [optimized] target(s) in 6m 29s Replacing /home/tomoyan/.cargo/bin/cargo-generate Replaced package `cargo-generate v0.18.2` with `cargo-generate v0.18.5` (executable `cargo-generate`)
動作確認
$ cargo-generate -V
cargo generate 0.18.5
プロジェクトの作成
- esp-template - no_std テンプレート
- esp-idf-template - std テンプレート
「お気に入り `esp-rs/esp-template` が設定に見つかりません。」と言われる場合🤔
$ cargo generate esp-rs/esp-template
⚠️ Favorite `esp-rs/esp-template` not found in config, using it as a git repository: https://github.com/esp-rs/esp-template.git 🤷 Project Name:
予めテンプレートを clone してから…
$ git clone --depth 1 https://github.com/esp-rs/esp-template
Cloning into 'esp-template'... remote: Enumerating objects: 37, done. remote: Counting objects: 100% (37/37), done. remote: Compressing objects: 100% (32/32), done. remote: Total 37 (delta 1), reused 21 (delta 1), pack-reused 0 Receiving objects: 100% (37/37), 17.57 KiB | 148.00 KiB/s, done. Resolving deltas: 100% (1/1), done.
プロジェクトテンプレートからプロジェクトを作成する😉
$ cargo generate --path ./esp-template
no_std テンプレートの場合
公式: Generating using a local template - Cargo Generate Documentation 翻訳
ローカルテンプレートからプロジェクトを作成する🤔
$ git clone --depth 1 https://github.com/esp-rs/esp-template
Cloning into 'esp-template'... remote: Enumerating objects: 37, done. remote: Counting objects: 100% (37/37), done. remote: Compressing objects: 100% (32/32), done. remote: Total 37 (delta 1), reused 21 (delta 1), pack-reused 0 Receiving objects: 100% (37/37), 17.57 KiB | 148.00 KiB/s, done. Resolving deltas: 100% (1/1), done.
$ cargo generate --path ./esp-template
🤷 Project Name: haruo_nostd_esp32 ->プロジェクト名を入力して Enter
⚠️ Renaming project called `haruo_nostd_esp32` to `haruo-nostd-esp32`... 🔧 Destination: /home/tomoyan/my_projects/haruo-nostd-esp32 ... 🔧 project-name: haruo-nostd-esp32 ... 🔧 Generating template ...
? 🤷 Which MCU to target? › ❯ esp32 ->MCU を選択して Enter esp32c2 esp32c3 esp32c6 esp32h2 esp32s2 esp32s3
✔ 🤷 Which MCU to target? · esp32
? 🤷 Configure advanced template options? › ❯ false ->Enter true
✔ 🤷 Configure advanced template options? · false 🔧 Moving generated files into: `/home/tomoyan/my_projects/haruo-nostd-esp32`... 🔧 Initializing a fresh Git repository ✨ Done! New project created /home/tomoyan/my_projects/haruo-nostd-esp32
std テンプレートの場合
公式: Generating using a local template - Cargo Generate Documentation 翻訳
ローカルテンプレートからプロジェクトを作成する🤔
$ git clone --depth 1 https://github.com/esp-rs/esp-idf-template
Cloning into 'esp-idf-template'... remote: Enumerating objects: 64, done. remote: Counting objects: 100% (64/64), done. remote: Compressing objects: 100% (53/53), done. remote: Total 64 (delta 8), reused 38 (delta 1), pack-reused 0 Receiving objects: 100% (64/64), 27.56 KiB | 4.59 MiB/s, done. Resolving deltas: 100% (8/8), done.
$ cargo generate --path ./esp-idf-template
? 🤷 Which template should be expanded? ›
❯ cargo ->Enter cmake
✔ 🤷 Which template should be expanded? · cargo
🤷 Project Name: haruo_eps32 ->プロジェクト名を入力して Enter
⚠️ Renaming project called `haruo_std_esp32` to `haruo_std_esp32`... 🔧 Destination: /home/tomoyan/my_projects/haruo_std_esp32 ... 🔧 project-name: haruo_std_esp32 ... 🔧 Generating template ... ? 🤷 Which MCU to target? ›
❯ esp32 ->MCU を選択して Enter esp32c2 esp32c3 esp32c6 esp32h2 esp32s2 esp32s3
✔ 🤷 Which MCU to target? · esp32 ? 🤷 Configure advanced template options? ›
❯ false ->Enter true
✔ 🤷 Configure advanced template options? · false 🔧 Moving generated files into: `/home/tomoyan/my_projects/haruo_std_esp32`... 🔧 Initializing a fresh Git repository ✨ Done! New project created /home/tomoyan/my_projects/haruo_std_esp32
Cargo B(inary)Install のインストール
公式: GitHub - cargo-bins/cargo-binstall: Binary installation for rust projects 翻訳
$ curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
++ mktemp -d + cd /tmp/tmp.xtqH6KKqFP + base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall- ++ uname -s + os=Linux + '[' Linux == Darwin ']' + '[' Linux == Linux ']' ++ uname -m + machine=x86_64 + target=x86_64-unknown-linux-musl + '[' x86_64 == armv7 ']' + url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz + curl -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz + tar -xvzf - cargo-binstall + ./cargo-binstall -y --force cargo-binstall WARN Failed to retrieve token from `gh auth token` err=Os { code: 2, kind: NotFound, message: "No such file or directory" } WARN Failed to read git credential file INFO resolve: Resolving package: 'cargo-binstall' INFO resolve: Verified signature for package 'cargo-binstall': gh=cargo-bins/cargo-binstall git=05f90e651dd151df76e1b5c050cfb117ff47cbb6 ts=2023-11-18T11:23:35.531Z run=6913588356 WARN The package cargo-binstall v1.4.6 (x86_64-unknown-linux-gnu) has been downloaded from github.com INFO This will install the following binaries: INFO - cargo-binstall (cargo-binstall -> /home/tomoyan/.cargo/bin/cargo-binstall) INFO Installing binaries... INFO Done in 13.141395279s + CARGO_HOME=/home/tomoyan/.cargo + [[ :/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin:/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin:/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin:/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin:/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin:/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin:/home/tomoyan/.rustup/toolchains/esp/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin:/home/tomoyan/.rustup/toolchains/esp/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin:/home/tomoyan/.cargo/bin: == *\:\/\h\o\m\e\/\t\o\m\o\y\a\n\/\.\c\a\r\g\o\/\b\i\n\:* ]]
動作確認🤔
$ cargo binstall -V
1.4.6
espflash のインストール
公式: Running the Code - Understanding esp-template - The Rust on ESP Book 翻訳
cargo run
コマンドで esp32 ボードにコードをフラッシュするには、espflash をインストールしておく必要がある🤔
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.21s Running `espflash flash --monitor target/xtensa-esp32-none-elf/debug/haruo-nostd-esp32` error: could not execute process `espflash flash --monitor target/xtensa-esp32-none-elf/debug/haruo-nostd-esp32` (never executed) Caused by: No such file or directory (os error 2)
公式: espflash/espflash at main · esp-rs/espflash · GitHub 翻訳 の手順で espflash をインストールする🤔
※ esp-rs/espflash リポジトリには cargo-espflash も存在するが、cargo-espflash ではなく espflash です🤔
Fedora
systemd-devel がインストールされていない場合はインストールする🤔
$ sudo dnf install systemd-devel
メタデータの期限切れの最終確認: 1:06:39 前の 2023年11月30日 11時33分17秒 に実施しました。 パッケージ systemd-devel-253.12-1.fc38.x86_64 は既にインストールされています。 依存関係が解決しました。 行うべきことはありません。 完了しました!
espflash のインストール🤔
$ cargo install espflash
Updating crates.io index Installing espflash v2.1.0 Updating crates.io index Compiling proc-macro2 v1.0.70 Compiling unicode-ident v1.0.12 Compiling libc v0.2.150 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling bitflags v2.4.1 Compiling lock_api v0.4.11 Compiling scopeguard v1.2.0 Compiling quote v1.0.33 Compiling syn v2.0.39 Compiling cc v1.0.83 Compiling rustix v0.38.25 Compiling serde v1.0.193 Compiling linux-raw-sys v0.4.11 Compiling memchr v2.6.4 Compiling syn v1.0.109 Compiling crc32fast v1.3.2 Compiling semver v1.0.20 Compiling smallvec v1.11.2 Compiling byteorder v1.5.0 Compiling heck v0.4.1 Compiling adler v1.0.2 Compiling miniz_oxide v0.7.1 Compiling serde_derive v1.0.193 Compiling ring v0.17.6 Compiling spin v0.9.8 Compiling thiserror-core v1.0.50 Compiling rustversion v1.0.14 Compiling thiserror-core-impl v1.0.50 Compiling flate2 v1.0.28 Compiling stable_deref_trait v1.2.0 Compiling typenum v1.17.0 Compiling static_assertions v1.1.0 Compiling version_check v0.9.4 Compiling log v0.4.20 Compiling generic-array v0.14.7 Compiling twox-hash v1.6.3 Compiling getrandom v0.2.11 Compiling cpp_demangle v0.4.3 Compiling parking_lot_core v0.9.9 Compiling tinyvec_macros v0.1.1 Compiling hashbrown v0.14.3 Compiling untrusted v0.9.0 Compiling strsim v0.10.0 Compiling equivalent v1.0.1 Compiling fnv v1.0.7 Compiling ident_case v1.0.1 Compiling unicode-width v0.1.11 Compiling darling_core v0.14.4 Compiling indexmap v2.1.0 Compiling tinyvec v1.6.0 Compiling ruzstd v0.4.0 Compiling is-terminal v0.4.9 Compiling pkg-config v0.3.27 Compiling ryu v1.0.15 Compiling utf8parse v0.2.1 Compiling itoa v1.0.9 Compiling radium v0.7.0 Compiling winnow v0.5.19 Compiling toml_datetime v0.6.5 Compiling anstyle-parse v0.2.2 Compiling libudev-sys v0.1.4 Compiling darling_macro v0.14.4 Compiling object v0.32.1 Compiling rustc_version v0.4.0 Compiling toml_edit v0.19.15 Compiling unicode-normalization v0.1.22 Compiling gimli v0.28.1 Compiling aho-corasick v1.1.2 Compiling backtrace v0.3.69 Compiling memmap2 v0.5.10 Compiling num-traits v0.2.17 Compiling signal-hook v0.3.17 Compiling tap v1.0.1 Compiling colorchoice v1.0.0 Compiling percent-encoding v2.3.1 Compiling serde_json v1.0.108 Compiling rustls v0.21.9 Compiling rustc-demangle v0.1.23 Compiling anstyle v1.0.4 Compiling thiserror v1.0.50 Compiling once_cell v1.18.0 Compiling fallible-iterator v0.3.0 Compiling regex-syntax v0.8.2 Compiling anstyle-query v1.0.0 Compiling unicode-bidi v0.3.13 Compiling idna v0.5.0 Compiling regex-automata v0.4.3 Compiling anstream v0.6.4 Compiling addr2line v0.21.0 Compiling proc-macro-crate v1.3.1 Compiling form_urlencoded v1.2.1 Compiling wyz v0.5.1 Compiling parking_lot v0.12.1 Compiling heapless v0.7.16 Compiling darling v0.14.4 Compiling sct v0.7.1 Compiling rustls-webpki v0.101.7 Compiling thiserror-impl v1.0.50 Compiling terminal_size v0.3.0 Compiling signal-hook-registry v1.4.1 Compiling binrw_derive v0.12.0 Compiling bitflags v1.3.2 Compiling portable-atomic v1.5.1 Compiling funty v2.0.0 Compiling option-ext v0.2.0 Compiling lazy_static v1.4.0 Compiling clap_lex v0.6.0 Compiling clap_builder v4.4.9 Compiling console v0.15.7 Compiling dirs-sys v0.4.1 Compiling bitvec v1.0.1 Compiling deku_derive v0.16.0 Compiling url v2.5.0 Compiling regex v1.10.2 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling serde_spanned v0.6.4 Compiling strum_macros v0.25.3 Compiling strum_macros v0.24.3 Compiling mio v0.8.9 Compiling bytemuck_derive v1.5.0 Compiling clap_derive v4.4.7 Compiling hash32 v0.2.1 Compiling csv-core v0.1.11 Compiling is_ci v1.1.1 Compiling base64 v0.21.5 Compiling owo-colors v3.5.0 Compiling fastrand v2.0.1 Compiling smawk v0.3.2 Compiling either v1.9.0 Compiling binrw v0.12.0 Compiling unicode-linebreak v0.1.5 Compiling webpki-roots v0.25.3 Compiling ureq v2.9.1 Compiling clap v4.4.10 Compiling textwrap v0.15.2 Compiling toml_edit v0.21.0 Compiling tempfile v3.8.1 Compiling supports-color v2.1.0 Compiling bytemuck v1.14.0 Compiling csv v1.3.0 Compiling strum v0.24.1 Compiling strum v0.25.0 Compiling signal-hook-mio v0.2.3 Compiling digest v0.10.7 Compiling parse_int v0.6.0 Compiling backtrace-ext v0.2.1 Compiling deku v0.16.0 Compiling libudev v0.3.0 Compiling directories v5.0.1 Compiling nix v0.26.4 Compiling crossterm v0.27.0 Compiling supports-hyperlinks v2.1.0 Compiling supports-unicode v2.0.0 Compiling serde_plain v1.0.2 Compiling miette-derive v5.10.0 Compiling nix v0.27.1 Compiling terminal_size v0.1.17 Compiling zeroize v1.7.0 Compiling zero v0.1.3 Compiling termcolor v1.4.0 Compiling shell-words v1.1.0 Compiling array-init v2.1.0 Compiling cpufeatures v0.2.11 Compiling md5 v0.7.0 Compiling humantime v2.1.0 Compiling number_prefix v0.4.0 Compiling indicatif v0.17.7 Compiling miette v5.10.0 Compiling env_logger v0.10.1 Compiling esp-idf-part v0.4.1 Compiling sha2 v0.10.8 Compiling dialoguer v0.10.4 Compiling ctrlc v3.4.1 Compiling xmas-elf v0.9.1 Compiling serialport v4.2.2 Compiling comfy-table v7.1.0 Compiling update-informer v1.1.0 Compiling crossterm v0.25.0 Compiling toml v0.8.8 Compiling clap_complete v4.4.4 Compiling hex v0.4.3 Compiling slip-codec v0.3.4 Compiling espflash v2.1.0 Finished release [optimized] target(s) in 6m 47s Installing /home/tomoyan/.cargo/bin/espflash Installed package `espflash v2.1.0` (executable `espflash`)
動作確認🤔
$ espflash -V
espflash 2.1.0
シリアルポートの権限設定
標準ではシリアルポートの権限を設定する必要がある🤔
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.11s Running `espflash flash --monitor target/xtensa-esp32-none-elf/debug/haruo-nostd-esp32` [2023-11-30T05:26:14Z INFO ] Serial port: '/dev/ttyUSB0' [2023-11-30T05:26:14Z INFO ] Connecting... Error: espflash::serial_error × Failed to open serial port /dev/ttyUSB0 ├─▶ Failed to open serial port /dev/ttyUSB0 ├─▶ Error while connecting to device ├─▶ IO error while using serial port: Permission denied ╰─▶ Permission denied
ESP32 の USB ポートを調べる
ESP32-WROOM-32 (cp210x)
ESP32 の接続ポートを確認
lsusb
コマンドで Bus と Device 番号、デバイス名を調べる🤔
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 04f2:b34c Chicony Electronics Co., Ltd [unknown] Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 003: ID 0bda:8723 Realtek Semiconductor Corp. RTL8723A Bluetooth Bus 002 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 004 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
lsusb -t
コマンドでドライバを調べる🤔
$ lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 006: Dev 003, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 006: Dev 003, If 1, Class=Video, Driver=uvcvideo, 480M /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 001: Dev 004, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M |__ Port 004: Dev 003, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 004: Dev 003, If 1, Class=Wireless, Driver=btusb, 12M /: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 002: Dev 004, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 002: Dev 004, If 1, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 002: Dev 004, If 2, Class=Human Interface Device, Driver=usbhid, 12M
シリアルデバイスの by-id、by-path で /dev/ttyUSB0
であることが確認できる🤔
$ ls -l /dev/serial/{by-id,by-path}
/dev/serial/by-id: 合計 0 lrwxrwxrwx 1 root root 13 11月 30 12:16 usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 -> ../../ttyUSB0 /dev/serial/by-path: 合計 0 lrwxrwxrwx 1 root root 13 11月 30 12:16 pci-0000:00:14.0-usb-0:1:1.0-port0 -> ../../ttyUSB0
ユーザーのアクセス権限を設定
公式: espflash/espflash/README.md at main · esp-rs/espflash · GitHub 翻訳
シリアルコンソールに接続する前に、ポートの権限を設定
/dev/ttyUSB0
は dialout
グループで読み書きできる🤔
$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 11月 30 12:16 /dev/ttyUSB0
現在のユーザー $USER
を dialout
グループに所属させる🤔
$ sudo usermod -a -G dialout $USER
$ id tomoyan
uid=1000(tomoyan) gid=1000(tomoyan) groups=1000(tomoyan),10(wheel),18(dialout),135(mock),974(docker)
dialout
グループへの所属を再ログインせずに反映するには newgrp dialout
コマンドを実行する🤔
$ newgrp dialout $ id
uid=1000(tomoyan) gid=18(dialout) groups=18(dialout),10(wheel),135(mock),974(docker),1000(tomoyan)
ESP32 のフラッシュへの書き込み
公式: Running the Code - Understanding esp-template - The Rust on ESP Book 翻訳
上記までの手順でフラッシュへ書き込む準備ができているので、cargo run
コマンドでビルドからフラッシュ書き込みができる😉
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.12s Running `espflash flash --monitor target/xtensa-esp32-none-elf/debug/haruo-nostd-esp32` [2023-12-01T02:08:51Z INFO ] Serial port: '/dev/ttyUSB0' [2023-12-01T02:08:51Z INFO ] Connecting... [2023-12-01T02:08:52Z INFO ] Unable to connect, retrying with extra delay... [2023-12-01T02:08:53Z INFO ] Using flash stub Chip type: esp32 (revision v1.0) Crystal frequency: 40MHz Flash size: 4MB Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC address: 7c:9e:bd:36:81:8c App/part. size: 181,472/4,128,768 bytes, 4.40% [00:00:01] [========================================] 17/17 0x1000 [00:00:00] [========================================] 1/1 0x8000 [00:00:06] [========================================] 70/70 0x10000 [2023-12-01T02:09:02Z INFO ] Flashing has completed! Commands: CTRL+R Reset chip CTRL+C Exit ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:7104 0x3fff0030 - _stack_region_top at ??:?? load:0x40078000,len:15576 0x40078000 - ets_delay_us at ??:?? load:0x40080400,len:4 0x40080400 - _init_end at ??:?? ho 8 tail 4 room 4 load:0x40080404,len:3876 0x40080404 - _init_end at ??:?? entry 0x4008064c 0x4008064c - esp_hal_common::interrupt::xtensa::vectored::handle_interrupts at /home/tomoyan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-hal-common-0.13.1/src/interrupt/xtensa.rs:389 I (30) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader I (30) boot: compile time Jun 7 2023 07:48:23 I (33) boot: Multicore bootloader I (37) boot: chip revision: v1.0 I (41) boot.esp32: SPI Speed : 40MHz I (45) boot.esp32: SPI Mode : DIO I (50) boot.esp32: SPI Flash Size : 4MB I (54) boot: Enabling RNG early entropy source... I (60) boot: Partition Table: I (63) boot: ## Label Usage Type ST Offset Length I (71) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (86) boot: 2 factory factory app 00 00 00010000 003f0000 I (93) boot: End of partition table I (97) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=06664h ( 26212) map I (115) esp_image: segment 1: paddr=0001668c vaddr=3ffb0000 size=00004h ( 4) load I (115) esp_image: segment 2: paddr=00016698 vaddr=40080000 size=01988h ( 6536) load I (125) esp_image: segment 3: paddr=00018028 vaddr=00000000 size=07ff0h ( 32752) I (143) esp_image: segment 4: paddr=00020020 vaddr=400d0020 size=1c498h (115864) map I (185) boot: Loaded app from partition at offset 0x10000 I (186) boot: Disabling RNG early entropy source... Haruo world! Loop... Loop... Loop... Loop... Loop... Loop... Loop... Loop... Loop... Loop...