Ubuntu uses the command line to quickly install the Edge browser

The test here is to use the Ubuntu20.04 version

Edge official website: Edge download page

If it is inconvenient to enter the official website, the four-line command can also be done directly

1. Open the terminal and enter the following command to add the APT repository of Microsoft Edge:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'

2. Add public key

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF

3. Update the software package

sudo apt update

4. Start the installation

sudo apt install microsoft-edge-dev

Guess you like

Origin blog.csdn.net/qq_39085747/article/details/131079978