diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index 62faa36106..2e9c1b0476 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -78,8 +78,8 @@ To install Atom on Debian, Ubuntu, or related distributions, add our official package repository to your system by running the following commands: ``` command-line -$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - -$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' +$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg +$ sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/atom-archive-keyring.gpg arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update ```