Xfce 데스크탑 환경을 사용하여 Debian 10을 설치했습니다. 다음과 같은 최소한의 브라우저 세트를 설치했습니다.
$ sudo apt -y install firefox chromium
opera
개발 목적으로 , yandex-browser
및 도 설치하고 싶습니다 google-chrome
. 이전에는 브라우저를 사용하여 이 작업을 수행했습니다.
콘솔에서 이 작업을 어떻게 수행할 수 있나요?
답변1
먼저 브라우저 저장소를 추가한 다음 해당 저장소에서 브라우저 자체를 설치하는 두 부분으로 구성된 브라우저를 설치하는 스크립트를 만듭니다. browsers.deb.sh
:
wget -qO - https://deb.opera.com/archive.key | sudo apt-key add
sudo tee /etc/apt/sources.list.d/opera-stable.list <<DEBREPO
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades
deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
DEBREPO
sudo tee /etc/apt/sources.list.d/opera-developer.list <<DEBREPO
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades
deb https://deb.opera.com/opera-developer/ stable non-free #Opera Browser (final releases)
DEBREPO
wget -qO - https://repo.yandex.ru/yandex-browser/YANDEX-BROWSER-KEY.GPG | sudo apt-key add
sudo tee /etc/apt/sources.list.d/yandex-browser-beta.list <<DEBREPO
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://repo.yandex.ru/yandex-browser/deb beta main
DEBREPO
wget -qO - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add
sudo tee /etc/apt/sources.list.d/google-chrome.list <<DEBREPO
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
DEBREPO
sudo apt update
sudo apt -y install opera-stable opera-developer yandex-browser-beta google-chrome-stable
opera-developer
opera-stable
yandex-browser-beta
google-chrome-stable