Windows WSL 2 + Chrome 웹 브라우저 설치
(Windows 10 Build 19044부터) WSL 2 환경에 Linux GUI 앱을 실행할 수 있다 보니,
Run Linux GUI apps on the Windows Subsystem for Linux
; https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
Chrome도 ^^ 설치해서,
How to install Chrome on Ubuntu through the terminal
; https://www.xda-developers.com/how-install-chrome-ubuntu/
실행하는 것이 가능합니다. 간단하게 deb 파일 다운로드하고,
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
설치를 진행하면 되는데,
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
Selecting previously unselected package google-chrome-stable.
(Reading database ... 88102 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (120.0.6099.71-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on fonts-liberation; however:
Package fonts-liberation is not installed.
google-chrome-stable depends on libu2f-udev; however:
Package libu2f-udev is not installed.
google-chrome-stable depends on xdg-utils (>= 1.0.2); however:
Package xdg-utils is not installed.
dpkg: error processing package google-chrome-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
google-chrome-stable
혹시 저렇게 오류가 발생하면 메시지에 따라 다음과 같이 구성 요소를 먼저 설치해 줍니다.
$ sudo apt install fonts-liberation libu2f-udev xdg-utils -y
어쨌든 잘 되었다면, WSL Shell에서 실행만 해주면,
$ google-chrome-stable
(리눅스의) 크롬 웹 브라우저가 윈도우 화면에서 뜨는 것을 볼 수 있습니다. ^^
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]