Ubuntu 21.10にMicrosoft Edgeをインストールする

1.OSバージョンの確認

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=21.10 DISTRIB_CODENAME=impish DISTRIB_DESCRIPTION="Ubuntu 21.10"
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"

2.必要なパッケージをインストールします

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo apt update
# sudo apt install software-properties-common apt-transport-https wget
# sudo apt update # sudo apt install software-properties-common apt-transport-https wget
# sudo apt update
# sudo apt install software-properties-common apt-transport-https wget

3.MicrosoftGPGキーをインポートします

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
# sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main"
# wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK # sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main"
# wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
# sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main"

4.Microsoft Edgeをインストールします

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo apt install microsoft-edge-dev
# sudo apt install microsoft-edge-dev
# sudo apt install microsoft-edge-dev

5.アップデートとアップグレードを行います

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo apt update && sudo apt upgrade
# sudo apt update && sudo apt upgrade
# sudo apt update && sudo apt upgrade

6.Edgeを起動します
ソフトウェア一覧に「Edge」を起動します。

Ubuntu 21.10

Posted by arkgame