
Oracle-Linux-8.9-2024.01.26-0
오라클에서 받은 VM 에서 크롬을 실행하려고 하는데 다음 오류가 발생합니다.
root/.cache/puppeteer/chrome/linux-121.0.6167.85/chrome-linux64/chrome: error while loading shared libraries: libdrm.so.2: cannot open shared object file: No such file or directory
실제로 크롬이나 Google 크롬 자체를 설치하려고 하면 오류가 발생합니다.
[root@ilk testcases]# dnf install google-chrome-stable
Last metadata expiration check: 2:51:07 ago on Wed Feb 21 11:34:51 2024.
No match for argument: google-chrome-stable
Error: Unable to find a match: google-chrome-stable
[root@ilk testcases]# yum install google-chrome-stable
Last metadata expiration check: 2:51:22 ago on Wed Feb 21 11:34:51 2024.
No match for argument: google-chrome-stable
Error: Unable to find a match: google-chrome-stable
[root@ilk testcases]# yum install chromium
Last metadata expiration check: 2:51:32 ago on Wed Feb 21 11:34:51 2024.
No match for argument: chromium
Error: Unable to find a match: chromium
참고: 제가 이것을 실행하기 전에도 그랬습니다 yum update -y
.yum update
그래서 Oracle VM에서는 아무것도 작동하지 않습니다!!!!
답변1
크롬 브라우저를 설치하려면 다음 두 가지 방법을 사용할 수 있습니다.
브라우저를 직접 다운로드하십시오. 이 명령을 실행해 보세요.
yum localinstall https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Google 저장소를 설치한 다음 브라우저를 설치합니다. 자세한 안내를 확인하실 수 있습니다이 페이지