0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Amazon Linux に Rust をインストール

Last updated at Posted at 2022-09-29

インストール

amazon-linux-extras install -y rust1

インストールされた内容

Dependencies Resolved

========================================================================================================================================================================================================================================
 Package                                                Arch                                          Version                                                       Repository                                                     Size
========================================================================================================================================================================================================================================
Installing:
 cargo                                                  x86_64                                        1.61.0-2.amzn2.0.1                                            amzn2-core                                                    4.7 M
 rust                                                   x86_64                                        1.61.0-2.amzn2.0.1                                            amzn2-core                                                     52 M
Installing for dependencies:
 cpp                                                    x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                    9.2 M
 gcc                                                    x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                     22 M
 glibc-devel                                            x86_64                                        2.26-60.amzn2                                                 amzn2-core                                                    994 k
 glibc-headers                                          x86_64                                        2.26-60.amzn2                                                 amzn2-core                                                    515 k
 kernel-headers                                         x86_64                                        5.10.135-122.509.amzn2                                        amzn2extra-kernel-5.10                                        1.4 M
 libatomic                                              x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                     46 k
 libcilkrts                                             x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                     85 k
 libitm                                                 x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                     85 k
 libmpc                                                 x86_64                                        1.0.1-3.amzn2.0.2                                             amzn2-core                                                     52 k
 libmpx                                                 x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                     51 k
 libquadmath                                            x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                    189 k
 libsanitizer                                           x86_64                                        7.3.1-15.amzn2                                                amzn2-core                                                    642 k
 mpfr                                                   x86_64                                        3.1.1-4.amzn2.0.2                                             amzn2-core                                                    208 k
 rust-std-static                                        x86_64                                        1.61.0-2.amzn2.0.1                                            amzn2-core                                                     30 M

Transaction Summary
========================================================================================================================================================================================================================================
Install  2 Packages (+14 Dependent packages)

Total download size: 123 M
Installed size: 479 M

インストール結果確認

# rustc -V
rustc 1.61.0 (Red Hat 1.61.0-2.amzn2.0.1)

その他

現在、Amazon linux2 サポートしているRustバージョン

 10  rust1=latest             enabled      \
        [ =1.22.1  =1.26.0  =1.26.1  =1.27.2  =1.31.0  =1.38.0
          =stable ]

最新は1.61.0です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?