From 3f4815f3ee88376cab1fa65cfd1db177e62e32c5 Mon Sep 17 00:00:00 2001 From: ThamesDev <86201791+ThamesDev@users.noreply.github.com> Date: Sun, 20 Jun 2021 18:53:42 +0100 Subject: [PATCH 1/2] Changing a line of the Linux installation apt-key has been deprecated. Here I have suggested an alternative, (slightly more future-proof) way to install. Apologies if the code isn't the most efficient, I'm very new to this! --- content/getting-started/sections/installing-atom.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index 62faa36106..a281de0f9b 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -78,7 +78,9 @@ 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 - +# apt-key has been deprecated. These two commands are used in its place. +$ sudo touch /usr/share/keyrings/atom-archive-keyring.gpg +$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg $ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update ``` From fe50243deb3b12d7022d076d26db6cc498c4e727 Mon Sep 17 00:00:00 2001 From: Thames <86201791+ThamesDev@users.noreply.github.com> Date: Sun, 20 Jun 2021 21:47:43 +0100 Subject: [PATCH 2/2] Clean up installing-atom.md Clean up the code, remove an unnecessary comment. --- content/getting-started/sections/installing-atom.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index a281de0f9b..5b80f8cdfb 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -78,8 +78,6 @@ To install Atom on Debian, Ubuntu, or related distributions, add our official package repository to your system by running the following commands: ``` command-line -# apt-key has been deprecated. These two commands are used in its place. -$ sudo touch /usr/share/keyrings/atom-archive-keyring.gpg $ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg $ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update