웹사이트 검색

RHEL 8에 Google 크롬을 설치하는 방법


Google Chrome은 데스크톱 컴퓨터는 물론 스마트폰과 태블릿에서 가장 널리 사용되므로 Red Hat 8 Linux에 설치하는 방법에 대한 요청은 전혀 놀라운 일이 아닙니다. – Google은 일반 사용자와 기술에 정통한 사용자 모두를 만족시키는 풍부한 기능 목록을 보유하고 있습니다. Google의 Chrome 기능 페이지를 방문하면 웹 브라우저의 기능에 대해 자세히 알아볼 수 있습니다.

RHEL 8은 기본적으로 많은 사랑을 받는 Firefox 브라우저와 함께 제공되지만 최신 Google Chrome 버전을 쉽게 설치하여 실행할 수 있습니다. Yum 패키지 관리자 도구를 사용하여 다른 배포판에서 사용할 수 있습니다. 아래 단계를 따르세요.

참고: 32비트 Linux 배포판에 대한 Google Chrome의 지원은 2016년 3월에 종료되었으며 더 이상 <을 지원하지 않습니다. Strong>RHEL 6.X이므로 계속 진행하기 전에 배포판을 버전 8(권장)로 업데이트하세요. 또한 계속하기 전에 단계를 검토하여 프로세스를 이해했는지 확인하세요.

Google YUM 저장소 활성화

즐겨 사용하는 텍스트 편집기를 사용하여 /etc/yum.repos.d/google-chrome.repo라는 파일을 만들고 다음 코드 줄을 추가하세요.

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

RHEL 8에 Google 크롬 설치

yum 명령을 사용하여 브라우저를 설치하면 모든 종속성을 시스템으로 가져옵니다.

먼저 다음 명령을 실행하여 최신 Google Chrome 버전을 받고 있는지 확인하세요.

yum info google-chrome-stable
샘플 출력
Updating Subscription Management repositories.
google-chrome                                                                                                                                                 1.5 kB/s | 3.3 kB     00:02    
Available Packages
Name         : google-chrome-stable
Version      : 75.0.3770.80
Release      : 1
Arch         : x86_64
Size         : 56 M
Source       : google-chrome-stable-75.0.3770.80-1.src.rpm
Repo         : google-chrome
Summary      : Google Chrome
URL          : https://chrome.google.com/
License      : Multiple, see https://chrome.google.com/
Description  : The web browser from Google
             : 
             : Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

위 출력에서 Google Chrome 75의 최신 버전을 저장소에서 사용할 수 있음을 분명히 알 수 있습니다. 따라서 아래와 같이 yum 명령을 사용하여 설치해 보겠습니다. 그러면 필요한 모든 종속 항목이 자동으로 설치됩니다.

yum install google-chrome-stable
샘플 출력
Updating Subscription Management repositories.
Last metadata expiration check: 0:05:23 ago on Thursday 23 May 2019 11:11:17 AM UTC.
Dependencies resolved.
========================================================================================================================
 Package                            Arch                Version                     Repository                  Size
========================================================================================================================
Installing:
 google-chrome-stable               x86_64              75.0.3770.80-1              google-chrome               56 M
Installing dependencies:
 at                                 x86_64              3.1.20-11.el8               LocalRepo_AppStream         81 k
 bc                                 x86_64              1.07.1-5.el8                LocalRepo_AppStream         129 k
 cups-client                        x86_64              1:2.2.6-25.el8              LocalRepo_AppStream         167 k
 ed                                 x86_64              1.14.2-4.el8                LocalRepo_AppStream         82 k
 libX11-xcb                         x86_64              1.6.7-1.el8                 LocalRepo_AppStream         14 k
 libXScrnSaver                      x86_64              1.2.3-1.el8                 LocalRepo_AppStream         31 k
 libappindicator-gtk3               x86_64              12.10.0-19.el8              LocalRepo_AppStream         43 k
 libdbusmenu                        x86_64              16.04.0-12.el8              LocalRepo_AppStream         140 k
 libdbusmenu-gtk3                   x86_64              16.04.0-12.el8              LocalRepo_AppStream         41 k
 liberation-fonts                   noarch              1:2.00.3-4.el8              LocalRepo_AppStream         19 k
 liberation-fonts-common            noarch              1:2.00.3-4.el8              LocalRepo_AppStream         26 k
 liberation-mono-fonts              noarch              1:2.00.3-4.el8              LocalRepo_AppStream         504 k
 liberation-sans-fonts              noarch              1:2.00.3-4.el8              LocalRepo_AppStream         609 k
 liberation-serif-fonts             noarch              1:2.00.3-4.el8              LocalRepo_AppStream         607 k
 libindicator-gtk3                  x86_64              12.10.1-14.el8              LocalRepo_AppStream         70 k
 mailx                              x86_64              12.5-29.el8                 LocalRepo_AppStream         257 k
 psmisc                             x86_64              23.1-3.el8                  LocalRepo_AppStream         150 k
 redhat-lsb-core                    x86_64              4.1-47.el8                  LocalRepo_AppStream         45 k
 redhat-lsb-submod-security         x86_64              4.1-47.el8                  LocalRepo_AppStream         22 k
 spax                               x86_64              1.5.3-13.el8                LocalRepo_AppStream         217 k
 time                               x86_64              1.9-3.el8                   LocalRepo_AppStream         54 k

Transaction Summary
========================================================================================================================
Install  22 Packages

Total size: 60 M
Total download size: 56 M
Installed size: 206 M
Is this ok [y/N]: 

RHEL 8에서 Google Chrome 업데이트

RHEL 8에서 Google Chrome 브라우저를 업데이트하는 것은 다음 명령을 실행하는 것만큼 간단합니다.

yum update google-chrome-stable
샘플 출력
Updating Subscription Management repositories.
google-chrome                      1.2 kB/s | 1.3 kB     00:01    
Dependencies resolved.
Nothing to do.
Complete!

Chrome 시작하기

일반 사용자로 Chrome을 시작했는지 확인하세요. 여기서는 루트 권한이 필요하지 않습니다.

google-chrome &

짜잔! 쉽지요? 동일한 명령이 Fedora 및 그 파생 제품은 물론 RHEL/CentOS 7.x에서도 작동하므로 걱정할 호환성 문제가 없습니다. .

Google Chrome을 사용하여 탐색하는 것이 재미있을 것이라고 확신합니다. 댓글 섹션에서 귀하의 경험을 자유롭게 공유해 주세요.