[root@abc~]# <strong>yum install rust cargo</strong>
Loaded plugins: langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
epel | 3.2 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 204 kB 00:00:00
(2/4): epel/x86_64/updateinfo | 930 kB 00:00:00
(3/4): epel/x86_64/primary | 3.6 MB 00:00:00
(4/4): updates/7/x86_64/primary_db | 6.0 MB 00:00:01
epel 12696/12696
Resolving Dependencies
--> Running transaction check
---> Package cargo.x86_64 0:1.29.0-3.el7 will be installed
---> Package rust.x86_64 0:1.29.2-3.el7 will be installed
--> Processing Dependency: rust-std-static(x86-64) = 1.29.2-3.el7 for package: rust-1.29.2-3.el7.x86_64
--> Processing Dependency: libLLVM-5.0.so()(64bit) for package: rust-1.29.2-3.el7.x86_64
--> Running transaction check
---> Package llvm5.0-libs.x86_64 0:5.0.1-7.el7 will be installed
---> Package rust-std-static.x86_64 0:1.29.2-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================
Installing:
cargo x86_64 1.29.0-3.el7 epel 3.2 M
rust x86_64 1.29.2-3.el7 epel 34 M
Installing for dependencies:
llvm5.0-libs x86_64 5.0.1-7.el7 epel 13 M
rust-std-static x86_64 1.29.2-3.el7 epel 36 M
Transaction Summary
================================================================================================================================================================================================================
Install 2 Packages (+2 Dependent packages)
Total download size: 87 M
Installed size: 268 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): cargo-1.29.0-3.el7.x86_64.rpm | 3.2 MB 00:00:01
(2/4): llvm5.0-libs-5.0.1-7.el7.x86_64.rpm | 13 MB 00:00:01
(3/4): rust-std-static-1.29.2-3.el7.x86_64.rpm | 36 MB 00:00:02
(4/4): rust-1.29.2-3.el7.x86_64.rpm | 34 MB 00:00:03
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 19 MB/s | 87 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : llvm5.0-libs-5.0.1-7.el7.x86_64 1/4
Installing : rust-std-static-1.29.2-3.el7.x86_64 2/4
Installing : rust-1.29.2-3.el7.x86_64 3/4
Installing : cargo-1.29.0-3.el7.x86_64 4/4
Verifying : rust-std-static-1.29.2-3.el7.x86_64 1/4
Verifying : cargo-1.29.0-3.el7.x86_64 2/4
Verifying : rust-1.29.2-3.el7.x86_64 3/4
Verifying : llvm5.0-libs-5.0.1-7.el7.x86_64 4/4
Installed:
cargo.x86_64 0:1.29.0-3.el7 rust.x86_64 0:1.29.2-3.el7
Dependency Installed:
llvm5.0-libs.x86_64 0:5.0.1-7.el7 rust-std-static.x86_64 0:1.29.2-3.el7
Complete!