Monday, June 7, 2021

Install git on EC2



[ec2-user@ip-172-31-81-123 myapp]$ sudo yum update -y
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                                                                                                                                                                                            | 3.7 kB  00:00:00
No packages marked for update
[ec2-user@ip-172-31-81-123 myapp]$ sudo yum install git  -y
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:2.23.4-1.amzn2.0.1 will be installed
--> Processing Dependency: perl-Git = 2.23.4-1.amzn2.0.1 for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: git-core-doc = 2.23.4-1.amzn2.0.1 for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: git-core = 2.23.4-1.amzn2.0.1 for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: emacs-filesystem >= 25.3 for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: perl(Git::I18N) for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Processing Dependency: libsecret-1.so.0()(64bit) for package: git-2.23.4-1.amzn2.0.1.x86_64
--> Running transaction check
---> Package emacs-filesystem.noarch 1:25.3-3.amzn2.0.2 will be installed
---> Package git-core.x86_64 0:2.23.4-1.amzn2.0.1 will be installed
---> Package git-core-doc.noarch 0:2.23.4-1.amzn2.0.1 will be installed
---> Package libsecret.x86_64 0:0.18.5-2.amzn2.0.2 will be installed
---> Package perl-Git.noarch 0:2.23.4-1.amzn2.0.1 will be installed
--> Processing Dependency: perl(Error) for package: perl-Git-2.23.4-1.amzn2.0.1.noarch
---> Package perl-TermReadKey.x86_64 0:2.30-20.amzn2.0.2 will be installed
--> Running transaction check
---> Package perl-Error.noarch 1:0.17020-2.amzn2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                      Arch                                               Version                                                        Repository                                              Size
=============================================================================================================================================================================================================================================
Installing:
 git                                                          x86_64                                             2.23.4-1.amzn2.0.1                                             amzn2-core                                             135 k
Installing for dependencies:
 emacs-filesystem                                             noarch                                             1:25.3-3.amzn2.0.2                                             amzn2-core                                              64 k
 git-core                                                     x86_64                                             2.23.4-1.amzn2.0.1                                             amzn2-core                                             5.0 M
 git-core-doc                                                 noarch                                             2.23.4-1.amzn2.0.1                                             amzn2-core                                             2.4 M
 libsecret                                                    x86_64                                             0.18.5-2.amzn2.0.2                                             amzn2-core                                             153 k
 perl-Error                                                   noarch                                             1:0.17020-2.amzn2                                              amzn2-core                                              32 k
 perl-Git                                                     noarch                                             2.23.4-1.amzn2.0.1                                             amzn2-core                                              47 k
 perl-TermReadKey                                             x86_64                                             2.30-20.amzn2.0.2                                              amzn2-core                                              31 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package (+7 Dependent packages)

Total download size: 7.9 M
Installed size: 41 M
Downloading packages:
(1/8): emacs-filesystem-25.3-3.amzn2.0.2.noarch.rpm                                                                                                                                                                   |  64 kB  00:00:00
(2/8): git-2.23.4-1.amzn2.0.1.x86_64.rpm                                                                                                                                                                              | 135 kB  00:00:00
(3/8): git-core-doc-2.23.4-1.amzn2.0.1.noarch.rpm                                                                                                                                                                     | 2.4 MB  00:00:00
(4/8): libsecret-0.18.5-2.amzn2.0.2.x86_64.rpm                                                                                                                                                                        | 153 kB  00:00:00
(5/8): git-core-2.23.4-1.amzn2.0.1.x86_64.rpm                                                                                                                                                                         | 5.0 MB  00:00:00
(6/8): perl-Error-0.17020-2.amzn2.noarch.rpm                                                                                                                                                                          |  32 kB  00:00:00
(7/8): perl-Git-2.23.4-1.amzn2.0.1.noarch.rpm                                                                                                                                                                         |  47 kB  00:00:00
(8/8): perl-TermReadKey-2.30-20.amzn2.0.2.x86_64.rpm                                                                                                                                                                  |  31 kB  00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         29 MB/s | 7.9 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : git-core-2.23.4-1.amzn2.0.1.x86_64                                                                                                                                                                                        1/8
  Installing : git-core-doc-2.23.4-1.amzn2.0.1.noarch                                                                                                                                                                                    2/8
  Installing : 1:emacs-filesystem-25.3-3.amzn2.0.2.noarch                                                                                                                                                                                3/8
  Installing : 1:perl-Error-0.17020-2.amzn2.noarch                                                                                                                                                                                       4/8
  Installing : perl-TermReadKey-2.30-20.amzn2.0.2.x86_64                                                                                                                                                                                 5/8
  Installing : libsecret-0.18.5-2.amzn2.0.2.x86_64                                                                                                                                                                                       6/8
  Installing : perl-Git-2.23.4-1.amzn2.0.1.noarch                                                                                                                                                                                        7/8
  Installing : git-2.23.4-1.amzn2.0.1.x86_64                                                                                                                                                                                             8/8
  Verifying  : libsecret-0.18.5-2.amzn2.0.2.x86_64                                                                                                                                                                                       1/8
  Verifying  : perl-TermReadKey-2.30-20.amzn2.0.2.x86_64                                                                                                                                                                                 2/8
  Verifying  : git-2.23.4-1.amzn2.0.1.x86_64                                                                                                                                                                                             3/8
  Verifying  : git-core-doc-2.23.4-1.amzn2.0.1.noarch                                                                                                                                                                                    4/8
  Verifying  : perl-Git-2.23.4-1.amzn2.0.1.noarch                                                                                                                                                                                        5/8
  Verifying  : git-core-2.23.4-1.amzn2.0.1.x86_64                                                                                                                                                                                        6/8
  Verifying  : 1:perl-Error-0.17020-2.amzn2.noarch                                                                                                                                                                                       7/8
  Verifying  : 1:emacs-filesystem-25.3-3.amzn2.0.2.noarch                                                                                                                                                                                8/8

Installed:
  git.x86_64 0:2.23.4-1.amzn2.0.1

Dependency Installed:
  emacs-filesystem.noarch 1:25.3-3.amzn2.0.2  git-core.x86_64 0:2.23.4-1.amzn2.0.1 git-core-doc.noarch 0:2.23.4-1.amzn2.0.1 libsecret.x86_64 0:0.18.5-2.amzn2.0.2 perl-Error.noarch 1:0.17020-2.amzn2 perl-Git.noarch 0:2.23.4-1.amzn2.0.1
  perl-TermReadKey.x86_64 0:2.30-20.amzn2.0.2

Complete!
[ec2-user@ip-172-31-81-123 myapp]$

No comments:

Post a Comment