From 90ef5e14b5b690e655e41e935ae53008fa22f35b Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 9 Feb 2021 12:36:30 -0500 Subject: [PATCH] fix dangling small and update apt sources instructions --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 76b51be3..86c0217b 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ docker run -v $PWD:/data -it archivebox/archivebox help # to see more options
Get ArchiveBox with apt on Ubuntu >=20.04 -First make sure you're on Ubuntu >= 20.04, or scroll down for older/non-Ubuntu instructions. +First make sure you're on Ubuntu >= 20.04, or scroll down for older/non-Ubuntu system instructions.

 # add the repo to your sources and install the archivebox package using apt
@@ -181,12 +181,15 @@ archivebox help  # to see more options
 For other Debian-based systems or older Ubuntu systems you can add these sources to `/etc/apt/sources.list`:
 
 

-deb http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main
-deb-src http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main
+echo "deb http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main" > /etc/apt/sources.list.d/archivebox.list
+echo "deb-src http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main" >> /etc/apt/sources.list.d/archivebox.list
+sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C258F79DCC02E369
+sudo apt update
+sudo apt install archivebox
+archivebox --version
+# then continue the instructions above
 
-Then run `apt update; apt install archivebox; archivebox --version`. - (you may need to install some other dependencies manually however)
@@ -252,13 +255,11 @@ archivebox help # to see more options No matter which install method you choose, they all roughly follow this 3-step process and all provide the same CLI, Web UI, and on-disk data format. - - -1. Install ArchiveBox: `apt/brew/pip3 install archivebox` -2. Start a collection: `archivebox init` -3. Start archiving: `archivebox add 'https://example.com'` - - +
    +
  1. Install ArchiveBox: apt/brew/pip3 install archivebox
  2. +
  3. Start a collection: archivebox init
  4. +
  5. Start archiving: archivebox add 'https://example.com'
  6. +