Dev/Etc

몇 분 만에 Linux에 Git을 설치하는 방법

쇼크리더 2023. 3. 19. 19:13
반응형

Linux에 git 설치하는 방법에 대해 알아보겠습니다.

1. 설치 확인

"no git in" 메시지가 출력되면 설치가 안된 것입니다.

설치가 됐으면 "/usr/bin/git" 메시지가 결과가 나옵니다.

$ which git

//출력 결과
/usr/bin/which: no git in (/home/opc/.local/bin:/home/opc/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)

2. git 설치

2.1. Fedora(또는 비슷하게 RPM 기반 패키지 시스템을 사용하는 RHEL, CentOS)에서는 아래와 같이 dnf 를 사용

그 외 Unix 배포판에 설치하려면 http://git-scm.com/download/linux 에서 확인
$ sudo dnf install git-all

//결과
마지막 메타자료 만료확인 2:10:07 이전인: 2023년 03월 19일 (일) 오전 07시 35분 22초.
종속성이 해결되었습니다.
============================================================================================================================================================
 꾸러미                                구조                버전                                                        레포지터리                      크기
============================================================================================================================================================
설치 중:
 git-all                               noarch              2.31.1-3.el8_7                                              ol8_appstream                   49 k
종속 꾸러미 설치 중:
 apr                                   x86_64              1.6.3-12.el8                                                ol8_appstream                  129 k
 apr-util                              x86_64              1.6.1-6.el8                                                 ol8_appstream                  105 k
 git                                   x86_64              2.31.1-3.el8_7                                              ol8_appstream                  162 k
 git-core                              x86_64              2.31.1-3.el8_7                                              ol8_appstream                  4.8 M
 git-core-doc                          noarch              2.31.1-3.el8_7                                              ol8_appstream                  2.6 M
 git-credential-libsecret              x86_64              2.31.1-3.el8_7                                              ol8_appstream                   55 k
 git-daemon                            x86_64              2.31.1-3.el8_7                                              ol8_appstream                  864 k
 git-email                             noarch              2.31.1-3.el8_7                                              ol8_appstream                   90 k
 git-gui                               noarch              2.31.1-3.el8_7                                              ol8_appstream                  307 k
 git-instaweb                          noarch              2.31.1-3.el8_7                                              ol8_appstream                   64 k
 git-subtree                           x86_64              2.31.1-3.el8_7                                              ol8_appstream                   71 k
 git-svn                               noarch              2.31.1-3.el8_7                                              ol8_appstream                  111 k
 gitk                                  noarch              2.31.1-3.el8_7                                              ol8_appstream                  209 k
 gitweb                                noarch              2.31.1-3.el8_7                                              ol8_appstream                  190 k
 httpd                                 x86_64              2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1               ol8_appstream                  1.4 M
 httpd-filesystem                      noarch              2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1               ol8_appstream                   43 k
 httpd-tools                           x86_64              2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1               ol8_appstream                  109 k
 libXft                                x86_64              2.3.3-1.el8                                                 ol8_appstream                   67 k
 libserf                               x86_64              1.3.9-9.module+el8.7.0+20838+7cfc8c53                       ol8_appstream                   60 k
 mod_http2                             x86_64              1.15.7-5.module+el8.6.0+20548+01710940                      ol8_appstream                  154 k
 oracle-logos-httpd                    noarch              84.5-1.0.1.el8                                              ol8_baseos_latest               29 k
 perl-Authen-SASL                      noarch              2.16-13.el8                                                 ol8_appstream                   57 k
 perl-CGI                              noarch              4.38-2.el8                                                  ol8_appstream                  208 k
 perl-Compress-Raw-Bzip2               x86_64              2.081-1.el8                                                 ol8_baseos_latest               40 k
 perl-Compress-Raw-Zlib                x86_64              2.081-1.el8                                                 ol8_baseos_latest               68 k
 perl-Digest-HMAC                      noarch              1.03-17.module+el8.3.0+7692+542c56f9                        ol8_appstream                   20 k
 perl-Digest-SHA                       x86_64              1:6.02-1.el8                                                ol8_appstream                   66 k
 perl-Encode-Locale                    noarch              1.05-10.module+el8.3.0+7692+542c56f9                        ol8_appstream                   22 k
 perl-Error                            noarch              1:0.17025-2.el8                                             ol8_appstream                   46 k
 perl-GSSAPI                           x86_64              0.28-25.el8                                                 ol8_appstream                   64 k
 perl-Git                              noarch              2.31.1-3.el8_7                                              ol8_appstream                   78 k
 perl-Git-SVN                          noarch              2.31.1-3.el8_7                                              ol8_appstream                   95 k
 perl-HTML-Parser                      x86_64              3.72-15.module+el8.3.0+7692+542c56f9                        ol8_appstream                  119 k
 perl-HTML-Tagset                      noarch              3.20-34.module+el8.3.0+7692+542c56f9                        ol8_appstream                   24 k
 perl-HTTP-Date                        noarch              6.02-19.module+el8.3.0+7692+542c56f9                        ol8_appstream                   19 k
 perl-HTTP-Message                     noarch              6.18-1.module+el8.3.0+7692+542c56f9                         ol8_appstream                  100 k
 perl-IO-Compress                      noarch              2.081-1.el8                                                 ol8_baseos_latest              258 k
 perl-IO-HTML                          noarch              1.001-11.module+el8.3.0+7692+542c56f9                       ol8_appstream                   28 k
 perl-LWP-MediaTypes                   noarch              6.02-15.module+el8.3.0+7692+542c56f9                        ol8_appstream                   29 k
 perl-MailTools                        noarch              2.20-2.el8                                                  ol8_appstream                  113 k
 perl-Memoize                          noarch              1.03-421.el8                                                ol8_appstream                  118 k
 perl-Net-SMTP-SSL                     noarch              1.04-5.el8                                                  ol8_appstream                   15 k
 perl-TermReadKey                      x86_64              2.37-7.el8                                                  ol8_appstream                   40 k
 perl-Time-HiRes                       x86_64              4:1.9758-2.el8                                              ol8_appstream                   61 k
 perl-TimeDate                         noarch              1:2.30-15.module+el8.3.0+7692+542c56f9                      ol8_appstream                   53 k
 perl-YAML                             noarch              1.24-3.module+el8.1.0+5422+43f20e79                         ol8_appstream                   93 k
 subversion                            x86_64              1.10.2-5.module+el8.7.0+20838+7cfc8c53                      ol8_appstream                  1.1 M
 subversion-libs                       x86_64              1.10.2-5.module+el8.7.0+20838+7cfc8c53                      ol8_appstream                  1.5 M
 subversion-perl                       x86_64              1.10.2-5.module+el8.7.0+20838+7cfc8c53                      ol8_appstream                  979 k
 tk                                    x86_64              1:8.6.8-1.el8                                               ol8_appstream                  1.6 M
 utf8proc                              x86_64              2.6.1-3.module+el8.7.0+20838+7cfc8c53                       ol8_appstream                   73 k
취약한 종속 꾸러미 설치 중:
 apr-util-bdb                          x86_64              1.6.1-6.el8                                                 ol8_appstream                   24 k
 apr-util-openssl                      x86_64              1.6.1-6.el8                                                 ol8_appstream                   27 k
모듈 스트림 활성화:
 httpd                                                     2.4
 perl-YAML                                                 1.24
 subversion                                                1.10

연결 요약
============================================================================================================================================================
설치  54 꾸러미

총계 내려받기 크기: 19 M
설치된 크기 : 70 M
진행 할 까요? [y/N]: y
꾸러미 내려받기 중:
(1/54): oracle-logos-httpd-84.5-1.0.1.el8.noarch.rpm                                                                        156 kB/s |  29 kB     00:00
(2/54): perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64.rpm                                                                      154 kB/s |  40 kB     00:00
(3/54): apr-1.6.3-12.el8.x86_64.rpm                                                                                         2.7 MB/s | 129 kB     00:00
(4/54): apr-util-1.6.1-6.el8.x86_64.rpm                                                                                     4.3 MB/s | 105 kB     00:00
(5/54): apr-util-bdb-1.6.1-6.el8.x86_64.rpm                                                                                 934 kB/s |  24 kB     00:00
(6/54): perl-Compress-Raw-Zlib-2.081-1.el8.x86_64.rpm                                                                       186 kB/s |  68 kB     00:00
(7/54): apr-util-openssl-1.6.1-6.el8.x86_64.rpm                                                                             3.2 MB/s |  27 kB     00:00
(8/54): perl-IO-Compress-2.081-1.el8.noarch.rpm                                                                             990 kB/s | 258 kB     00:00
(9/54): git-2.31.1-3.el8_7.x86_64.rpm                                                                                       2.9 MB/s | 162 kB     00:00
(10/54): git-all-2.31.1-3.el8_7.noarch.rpm                                                                                  599 kB/s |  49 kB     00:00
(11/54): git-credential-libsecret-2.31.1-3.el8_7.x86_64.rpm                                                                 564 kB/s |  55 kB     00:00
(12/54): git-core-2.31.1-3.el8_7.x86_64.rpm                                                                                  17 MB/s | 4.8 MB     00:00
(13/54): git-daemon-2.31.1-3.el8_7.x86_64.rpm                                                                               5.9 MB/s | 864 kB     00:00
(14/54): git-core-doc-2.31.1-3.el8_7.noarch.rpm                                                                             7.6 MB/s | 2.6 MB     00:00
(15/54): git-email-2.31.1-3.el8_7.noarch.rpm                                                                                785 kB/s |  90 kB     00:00
(16/54): git-gui-2.31.1-3.el8_7.noarch.rpm                                                                                  2.9 MB/s | 307 kB     00:00
(17/54): git-instaweb-2.31.1-3.el8_7.noarch.rpm                                                                             1.1 MB/s |  64 kB     00:00
(18/54): git-subtree-2.31.1-3.el8_7.x86_64.rpm                                                                              1.1 MB/s |  71 kB     00:00
(19/54): git-svn-2.31.1-3.el8_7.noarch.rpm                                                                                  2.1 MB/s | 111 kB     00:00
(20/54): gitweb-2.31.1-3.el8_7.noarch.rpm                                                                                   3.1 MB/s | 190 kB     00:00
(21/54): httpd-filesystem-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.noarch.rpm                                          8.0 MB/s |  43 kB     00:00
(22/54): httpd-tools-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64.rpm                                                17 MB/s | 109 kB     00:00
(23/54): libXft-2.3.3-1.el8.x86_64.rpm                                                                                       12 MB/s |  67 kB     00:00
(24/54): gitk-2.31.1-3.el8_7.noarch.rpm                                                                                     1.8 MB/s | 209 kB     00:00
(25/54): httpd-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64.rpm                                                     9.8 MB/s | 1.4 MB     00:00
(26/54): libserf-1.3.9-9.module+el8.7.0+20838+7cfc8c53.x86_64.rpm                                                           739 kB/s |  60 kB     00:00
(27/54): mod_http2-1.15.7-5.module+el8.6.0+20548+01710940.x86_64.rpm                                                        2.3 MB/s | 154 kB     00:00
(28/54): perl-Digest-HMAC-1.03-17.module+el8.3.0+7692+542c56f9.noarch.rpm                                                   480 kB/s |  20 kB     00:00
(29/54): perl-CGI-4.38-2.el8.noarch.rpm                                                                                     3.2 MB/s | 208 kB     00:00
(30/54): perl-Authen-SASL-2.16-13.el8.noarch.rpm                                                                            788 kB/s |  57 kB     00:00
(31/54): perl-Digest-SHA-6.02-1.el8.x86_64.rpm                                                                              1.2 MB/s |  66 kB     00:00
(32/54): perl-Error-0.17025-2.el8.noarch.rpm                                                                                1.2 MB/s |  46 kB     00:00
(33/54): perl-Encode-Locale-1.05-10.module+el8.3.0+7692+542c56f9.noarch.rpm                                                 468 kB/s |  22 kB     00:00
(34/54): perl-GSSAPI-0.28-25.el8.x86_64.rpm                                                                                 1.2 MB/s |  64 kB     00:00
(35/54): perl-Git-2.31.1-3.el8_7.noarch.rpm                                                                                 1.4 MB/s |  78 kB     00:00
(36/54): perl-Git-SVN-2.31.1-3.el8_7.noarch.rpm                                                                             1.6 MB/s |  95 kB     00:00
(37/54): perl-HTTP-Date-6.02-19.module+el8.3.0+7692+542c56f9.noarch.rpm                                                     566 kB/s |  19 kB     00:00
(38/54): perl-HTML-Tagset-3.20-34.module+el8.3.0+7692+542c56f9.noarch.rpm                                                   177 kB/s |  24 kB     00:00
(39/54): perl-HTTP-Message-6.18-1.module+el8.3.0+7692+542c56f9.noarch.rpm                                                   981 kB/s | 100 kB     00:00
(40/54): perl-HTML-Parser-3.72-15.module+el8.3.0+7692+542c56f9.x86_64.rpm                                                   748 kB/s | 119 kB     00:00
(41/54): perl-IO-HTML-1.001-11.module+el8.3.0+7692+542c56f9.noarch.rpm                                                      563 kB/s |  28 kB     00:00
(42/54): perl-LWP-MediaTypes-6.02-15.module+el8.3.0+7692+542c56f9.noarch.rpm                                                403 kB/s |  29 kB     00:00
(43/54): perl-MailTools-2.20-2.el8.noarch.rpm                                                                               1.7 MB/s | 113 kB     00:00
(44/54): perl-Memoize-1.03-421.el8.noarch.rpm                                                                               2.2 MB/s | 118 kB     00:00
(45/54): perl-TermReadKey-2.37-7.el8.x86_64.rpm                                                                             1.0 MB/s |  40 kB     00:00
(46/54): perl-Net-SMTP-SSL-1.04-5.el8.noarch.rpm                                                                            301 kB/s |  15 kB     00:00
(47/54): perl-Time-HiRes-1.9758-2.el8.x86_64.rpm                                                                            1.0 MB/s |  61 kB     00:00
(48/54): perl-YAML-1.24-3.module+el8.1.0+5422+43f20e79.noarch.rpm                                                           2.2 MB/s |  93 kB     00:00
(49/54): perl-TimeDate-2.30-15.module+el8.3.0+7692+542c56f9.noarch.rpm                                                      559 kB/s |  53 kB     00:00
(50/54): subversion-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64.rpm                                                        12 MB/s | 1.1 MB     00:00
(51/54): subversion-libs-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64.rpm                                                   11 MB/s | 1.5 MB     00:00
(52/54): subversion-perl-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64.rpm                                                  6.5 MB/s | 979 kB     00:00
(53/54): utf8proc-2.6.1-3.module+el8.7.0+20838+7cfc8c53.x86_64.rpm                                                          1.1 MB/s |  73 kB     00:00
(54/54): tk-8.6.8-1.el8.x86_64.rpm                                                                                           11 MB/s | 1.6 MB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------
합계                                                                                                                         10 MB/s |  19 MB     00:01
연결 확인 실행 중
연결 확인에 성공했습니다.
연결 시험 실행 중
연결 시험에 성공했습니다.
연결 실행 중
  준비 중           :                                                                                                                                   1/1
  설치 중           : apr-1.6.3-12.el8.x86_64                                                                                                          1/54
  스크립트릿 실행 중: apr-1.6.3-12.el8.x86_64                                                                                                          1/54
  설치 중           : apr-util-bdb-1.6.1-6.el8.x86_64                                                                                                  2/54
  설치 중           : apr-util-openssl-1.6.1-6.el8.x86_64                                                                                              3/54
  설치 중           : apr-util-1.6.1-6.el8.x86_64                                                                                                      4/54
  스크립트릿 실행 중: apr-util-1.6.1-6.el8.x86_64                                                                                                      4/54
  설치 중           : git-core-2.31.1-3.el8_7.x86_64                                                                                                   5/54
  설치 중           : utf8proc-2.6.1-3.module+el8.7.0+20838+7cfc8c53.x86_64                                                                            6/54
  설치 중           : perl-TermReadKey-2.37-7.el8.x86_64                                                                                               7/54
  설치 중           : libserf-1.3.9-9.module+el8.7.0+20838+7cfc8c53.x86_64                                                                             8/54
  스크립트릿 실행 중: libserf-1.3.9-9.module+el8.7.0+20838+7cfc8c53.x86_64                                                                             8/54
  설치 중           : subversion-libs-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                    9/54
  스크립트릿 실행 중: subversion-libs-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                    9/54
  설치 중           : subversion-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                        10/54
  스크립트릿 실행 중: subversion-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                        10/54
  설치 중           : perl-TimeDate-1:2.30-15.module+el8.3.0+7692+542c56f9.noarch                                                                     11/54
  설치 중           : perl-Net-SMTP-SSL-1.04-5.el8.noarch                                                                                             12/54
  설치 중           : perl-Memoize-1.03-421.el8.noarch                                                                                                13/54
  설치 중           : perl-Error-1:0.17025-2.el8.noarch                                                                                               14/54
  설치 중           : perl-Compress-Raw-Zlib-2.081-1.el8.x86_64                                                                                       15/54
  설치 중           : perl-MailTools-2.20-2.el8.noarch                                                                                                16/54
  설치 중           : perl-HTTP-Date-6.02-19.module+el8.3.0+7692+542c56f9.noarch                                                                      17/54
  설치 중           : subversion-perl-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                   18/54
  스크립트릿 실행 중: subversion-perl-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                   18/54
  설치 중           : git-core-doc-2.31.1-3.el8_7.noarch                                                                                              19/54
  설치 중           : perl-Git-2.31.1-3.el8_7.noarch                                                                                                  20/54
  설치 중           : git-2.31.1-3.el8_7.x86_64                                                                                                       21/54
  설치 중           : git-credential-libsecret-2.31.1-3.el8_7.x86_64                                                                                  22/54
  설치 중           : git-daemon-2.31.1-3.el8_7.x86_64                                                                                                23/54
  스크립트릿 실행 중: git-daemon-2.31.1-3.el8_7.x86_64                                                                                                23/54
  설치 중           : git-subtree-2.31.1-3.el8_7.x86_64                                                                                               24/54
  설치 중           : httpd-tools-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64                                                                25/54
  설치 중           : perl-YAML-1.24-3.module+el8.1.0+5422+43f20e79.noarch                                                                            26/54
  설치 중           : perl-Git-SVN-2.31.1-3.el8_7.noarch                                                                                              27/54
  설치 중           : git-svn-2.31.1-3.el8_7.noarch                                                                                                   28/54
  설치 중           : perl-Time-HiRes-4:1.9758-2.el8.x86_64                                                                                           29/54
  설치 중           : perl-LWP-MediaTypes-6.02-15.module+el8.3.0+7692+542c56f9.noarch                                                                 30/54
  설치 중           : perl-IO-HTML-1.001-11.module+el8.3.0+7692+542c56f9.noarch                                                                       31/54
  설치 중           : perl-HTML-Tagset-3.20-34.module+el8.3.0+7692+542c56f9.noarch                                                                    32/54
  설치 중           : perl-GSSAPI-0.28-25.el8.x86_64                                                                                                  33/54
  설치 중           : perl-Encode-Locale-1.05-10.module+el8.3.0+7692+542c56f9.noarch                                                                  34/54
  설치 중           : perl-Digest-SHA-1:6.02-1.el8.x86_64                                                                                             35/54
  설치 중           : perl-Digest-HMAC-1.03-17.module+el8.3.0+7692+542c56f9.noarch                                                                    36/54
  설치 중           : perl-Authen-SASL-2.16-13.el8.noarch                                                                                             37/54
  설치 중           : git-email-2.31.1-3.el8_7.noarch                                                                                                 38/54
  설치 중           : libXft-2.3.3-1.el8.x86_64                                                                                                       39/54
  스크립트릿 실행 중: tk-1:8.6.8-1.el8.x86_64                                                                                                         40/54
  설치 중           : tk-1:8.6.8-1.el8.x86_64                                                                                                         40/54
  스크립트릿 실행 중: tk-1:8.6.8-1.el8.x86_64                                                                                                         40/54
  설치 중           : git-gui-2.31.1-3.el8_7.noarch                                                                                                   41/54
  설치 중           : gitk-2.31.1-3.el8_7.noarch                                                                                                      42/54
  스크립트릿 실행 중: httpd-filesystem-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.noarch                                                           43/54
  설치 중           : httpd-filesystem-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.noarch                                                           43/54
  설치 중           : perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64                                                                                      44/54
  설치 중           : perl-IO-Compress-2.081-1.el8.noarch                                                                                             45/54
  설치 중           : perl-HTTP-Message-6.18-1.module+el8.3.0+7692+542c56f9.noarch                                                                    46/54
  설치 중           : perl-HTML-Parser-3.72-15.module+el8.3.0+7692+542c56f9.x86_64                                                                    47/54
  설치 중           : perl-CGI-4.38-2.el8.noarch                                                                                                      48/54
  설치 중           : gitweb-2.31.1-3.el8_7.noarch                                                                                                    49/54
  설치 중           : oracle-logos-httpd-84.5-1.0.1.el8.noarch                                                                                        50/54
  설치 중           : mod_http2-1.15.7-5.module+el8.6.0+20548+01710940.x86_64                                                                         51/54
  설치 중           : httpd-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64                                                                      52/54
  스크립트릿 실행 중: httpd-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64                                                                      52/54
  설치 중           : git-instaweb-2.31.1-3.el8_7.noarch                                                                                              53/54
  설치 중           : git-all-2.31.1-3.el8_7.noarch                                                                                                   54/54
  스크립트릿 실행 중: httpd-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64                                                                      54/54
  스크립트릿 실행 중: git-all-2.31.1-3.el8_7.noarch                                                                                                   54/54
  확인 중           : oracle-logos-httpd-84.5-1.0.1.el8.noarch                                                                                         1/54
  확인 중           : perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64                                                                                       2/54
  확인 중           : perl-Compress-Raw-Zlib-2.081-1.el8.x86_64                                                                                        3/54
  확인 중           : perl-IO-Compress-2.081-1.el8.noarch                                                                                              4/54
  확인 중           : apr-1.6.3-12.el8.x86_64                                                                                                          5/54
  확인 중           : apr-util-1.6.1-6.el8.x86_64                                                                                                      6/54
  확인 중           : apr-util-bdb-1.6.1-6.el8.x86_64                                                                                                  7/54
  확인 중           : apr-util-openssl-1.6.1-6.el8.x86_64                                                                                              8/54
  확인 중           : git-2.31.1-3.el8_7.x86_64                                                                                                        9/54
  확인 중           : git-all-2.31.1-3.el8_7.noarch                                                                                                   10/54
  확인 중           : git-core-2.31.1-3.el8_7.x86_64                                                                                                  11/54
  확인 중           : git-core-doc-2.31.1-3.el8_7.noarch                                                                                              12/54
  확인 중           : git-credential-libsecret-2.31.1-3.el8_7.x86_64                                                                                  13/54
  확인 중           : git-daemon-2.31.1-3.el8_7.x86_64                                                                                                14/54
  확인 중           : git-email-2.31.1-3.el8_7.noarch                                                                                                 15/54
  확인 중           : git-gui-2.31.1-3.el8_7.noarch                                                                                                   16/54
  확인 중           : git-instaweb-2.31.1-3.el8_7.noarch                                                                                              17/54
  확인 중           : git-subtree-2.31.1-3.el8_7.x86_64                                                                                               18/54
  확인 중           : git-svn-2.31.1-3.el8_7.noarch                                                                                                   19/54
  확인 중           : gitk-2.31.1-3.el8_7.noarch                                                                                                      20/54
  확인 중           : gitweb-2.31.1-3.el8_7.noarch                                                                                                    21/54
  확인 중           : httpd-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64                                                                      22/54
  확인 중           : httpd-filesystem-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.noarch                                                           23/54
  확인 중           : httpd-tools-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64                                                                24/54
  확인 중           : libXft-2.3.3-1.el8.x86_64                                                                                                       25/54
  확인 중           : libserf-1.3.9-9.module+el8.7.0+20838+7cfc8c53.x86_64                                                                            26/54
  확인 중           : mod_http2-1.15.7-5.module+el8.6.0+20548+01710940.x86_64                                                                         27/54
  확인 중           : perl-Authen-SASL-2.16-13.el8.noarch                                                                                             28/54
  확인 중           : perl-CGI-4.38-2.el8.noarch                                                                                                      29/54
  확인 중           : perl-Digest-HMAC-1.03-17.module+el8.3.0+7692+542c56f9.noarch                                                                    30/54
  확인 중           : perl-Digest-SHA-1:6.02-1.el8.x86_64                                                                                             31/54
  확인 중           : perl-Encode-Locale-1.05-10.module+el8.3.0+7692+542c56f9.noarch                                                                  32/54
  확인 중           : perl-Error-1:0.17025-2.el8.noarch                                                                                               33/54
  확인 중           : perl-GSSAPI-0.28-25.el8.x86_64                                                                                                  34/54
  확인 중           : perl-Git-2.31.1-3.el8_7.noarch                                                                                                  35/54
  확인 중           : perl-Git-SVN-2.31.1-3.el8_7.noarch                                                                                              36/54
  확인 중           : perl-HTML-Parser-3.72-15.module+el8.3.0+7692+542c56f9.x86_64                                                                    37/54
  확인 중           : perl-HTML-Tagset-3.20-34.module+el8.3.0+7692+542c56f9.noarch                                                                    38/54
  확인 중           : perl-HTTP-Date-6.02-19.module+el8.3.0+7692+542c56f9.noarch                                                                      39/54
  확인 중           : perl-HTTP-Message-6.18-1.module+el8.3.0+7692+542c56f9.noarch                                                                    40/54
  확인 중           : perl-IO-HTML-1.001-11.module+el8.3.0+7692+542c56f9.noarch                                                                       41/54
  확인 중           : perl-LWP-MediaTypes-6.02-15.module+el8.3.0+7692+542c56f9.noarch                                                                 42/54
  확인 중           : perl-MailTools-2.20-2.el8.noarch                                                                                                43/54
  확인 중           : perl-Memoize-1.03-421.el8.noarch                                                                                                44/54
  확인 중           : perl-Net-SMTP-SSL-1.04-5.el8.noarch                                                                                             45/54
  확인 중           : perl-TermReadKey-2.37-7.el8.x86_64                                                                                              46/54
  확인 중           : perl-Time-HiRes-4:1.9758-2.el8.x86_64                                                                                           47/54
  확인 중           : perl-TimeDate-1:2.30-15.module+el8.3.0+7692+542c56f9.noarch                                                                     48/54
  확인 중           : perl-YAML-1.24-3.module+el8.1.0+5422+43f20e79.noarch                                                                            49/54
  확인 중           : subversion-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                        50/54
  확인 중           : subversion-libs-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                   51/54
  확인 중           : subversion-perl-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                                                                   52/54
  확인 중           : tk-1:8.6.8-1.el8.x86_64                                                                                                         53/54
  확인 중           : utf8proc-2.6.1-3.module+el8.7.0+20838+7cfc8c53.x86_64                                                                           54/54

설치되었습니다:
  apr-1.6.3-12.el8.x86_64                                                         apr-util-1.6.1-6.el8.x86_64
  apr-util-bdb-1.6.1-6.el8.x86_64                                                 apr-util-openssl-1.6.1-6.el8.x86_64
  git-2.31.1-3.el8_7.x86_64                                                       git-all-2.31.1-3.el8_7.noarch
  git-core-2.31.1-3.el8_7.x86_64                                                  git-core-doc-2.31.1-3.el8_7.noarch
  git-credential-libsecret-2.31.1-3.el8_7.x86_64                                  git-daemon-2.31.1-3.el8_7.x86_64
  git-email-2.31.1-3.el8_7.noarch                                                 git-gui-2.31.1-3.el8_7.noarch
  git-instaweb-2.31.1-3.el8_7.noarch                                              git-subtree-2.31.1-3.el8_7.x86_64
  git-svn-2.31.1-3.el8_7.noarch                                                   gitk-2.31.1-3.el8_7.noarch
  gitweb-2.31.1-3.el8_7.noarch                                                    httpd-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64
  httpd-filesystem-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.noarch           httpd-tools-2.4.37-51.0.1.module+el8.7.0+20923+af3b70dd.1.x86_64
  libXft-2.3.3-1.el8.x86_64                                                       libserf-1.3.9-9.module+el8.7.0+20838+7cfc8c53.x86_64
  mod_http2-1.15.7-5.module+el8.6.0+20548+01710940.x86_64                         oracle-logos-httpd-84.5-1.0.1.el8.noarch
  perl-Authen-SASL-2.16-13.el8.noarch                                             perl-CGI-4.38-2.el8.noarch
  perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64                                      perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
  perl-Digest-HMAC-1.03-17.module+el8.3.0+7692+542c56f9.noarch                    perl-Digest-SHA-1:6.02-1.el8.x86_64
  perl-Encode-Locale-1.05-10.module+el8.3.0+7692+542c56f9.noarch                  perl-Error-1:0.17025-2.el8.noarch
  perl-GSSAPI-0.28-25.el8.x86_64                                                  perl-Git-2.31.1-3.el8_7.noarch
  perl-Git-SVN-2.31.1-3.el8_7.noarch                                              perl-HTML-Parser-3.72-15.module+el8.3.0+7692+542c56f9.x86_64
  perl-HTML-Tagset-3.20-34.module+el8.3.0+7692+542c56f9.noarch                    perl-HTTP-Date-6.02-19.module+el8.3.0+7692+542c56f9.noarch
  perl-HTTP-Message-6.18-1.module+el8.3.0+7692+542c56f9.noarch                    perl-IO-Compress-2.081-1.el8.noarch
  perl-IO-HTML-1.001-11.module+el8.3.0+7692+542c56f9.noarch                       perl-LWP-MediaTypes-6.02-15.module+el8.3.0+7692+542c56f9.noarch
  perl-MailTools-2.20-2.el8.noarch                                                perl-Memoize-1.03-421.el8.noarch
  perl-Net-SMTP-SSL-1.04-5.el8.noarch                                             perl-TermReadKey-2.37-7.el8.x86_64
  perl-Time-HiRes-4:1.9758-2.el8.x86_64                                           perl-TimeDate-1:2.30-15.module+el8.3.0+7692+542c56f9.noarch
  perl-YAML-1.24-3.module+el8.1.0+5422+43f20e79.noarch                            subversion-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64
  subversion-libs-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64                   subversion-perl-1.10.2-5.module+el8.7.0+20838+7cfc8c53.x86_64
  tk-1:8.6.8-1.el8.x86_64                                                         utf8proc-2.6.1-3.module+el8.7.0+20838+7cfc8c53.x86_64

완료되었습니다!

2.2. Ubuntu등의 데비안 계열 배포판에서는 apt 를 사용

$ sudo apt install git-all

3. git 버전 확인

$ git --version

//결과
git version 2.31.1

수고하셨습니다.  끝.

 

#리눅스 #깃 #RHEL #레드햇 #CentOS #Ubuntu #우분투

반응형