Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
linux_faq:apt-key_is_deprecated_how_to_add [2022/04/02 15:58] – admin | linux_faq:apt-key_is_deprecated_how_to_add [2022/04/08 09:53] – admin | ||
---|---|---|---|
Line 11: | Line 11: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt install gnupg2 wget ca-certificates lsb-release software-properties-common | sudo apt install gnupg2 wget ca-certificates lsb-release software-properties-common | ||
- | gpg_key_url=" | + | #gpg_key_url=" |
+ | gpg_key_url=" | ||
gpg_keyring_path="/ | gpg_keyring_path="/ | ||
curl -fsSL " | curl -fsSL " | ||
Line 18: | Line 19: | ||
</ | </ | ||
При этом, в **Ubuntu 22.04** добавление pgp-файла в **/ | При этом, в **Ubuntu 22.04** добавление pgp-файла в **/ | ||
+ | |||
+ | < | ||
+ | gpg --no-default-keyring --keyring ./Opera.gpg --import Opera.key | ||
+ | sudo cp Opera.gpg / | ||
+ | |||
+ | |||
+ | wget -q -O - http:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ |