gpg --no-default-keyring --keyring skype-stable.gpg --keyserver keyserver.ubuntu.com --recv-keys 1F3045A5DF7587C3
gpg --no-default-keyring --keyring $HOME/.gnupg/skype-stable.gpg --export > ./skypeforlinux-keyring.gpg
sudo cp ./skypeforlinux-keyring.gpg /usr/share/keyrings/;
sudo chmod 644 /usr/share/keyrings/skypeforlinux-keyring.gpg;
nano /etc/apt/sources.list.d/skype-stable.list
echo 'deb [arch="amd64" signed-by=/usr/share/keyrings/skypeforlinux-keyring.gpg] https://repo.skype.com/deb stable main' | sudo tee -a /etc/apt/sources.list.d/skype-stable.list
архитектура может быть "all"
Download the GPG key for the Microsoft repository.
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
Add this GPG key to the trusted keys in your system.
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
Now, add the repository to your sources.list directory.
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list'
It would be good to remove the downloaded GPG key because it has already been added to the system.
sudo rm microsoft.gpg
The above-mentioned commands add the necessary repositories. Now, you just need to install Microsoft Edge using these commands:
sudo apt update && sudo apt install microsoft-edge-stable