1
0
Fork 0

fix dangling small and update apt sources instructions

This commit is contained in:
Nick Sweeting 2021-02-09 12:36:30 -05:00 committed by GitHub
parent 39e7f84156
commit 90ef5e14b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ docker run -v $PWD:/data -it archivebox/archivebox help # to see more options
<details> <details>
<summary><b>Get ArchiveBox with <code>apt</code> on Ubuntu >=20.04</b></summary> <summary><b>Get ArchiveBox with <code>apt</code> on Ubuntu >=20.04</b></summary>
<i>First make sure you're on Ubuntu >= 20.04, or scroll down for older/non-Ubuntu instructions.</i> <i>First make sure you're on Ubuntu >= 20.04, or scroll down for older/non-Ubuntu system instructions.</i>
<pre lang="bash"><code> <pre lang="bash"><code>
# add the repo to your sources and install the archivebox package using apt # 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`: For other Debian-based systems or older Ubuntu systems you can add these sources to `/etc/apt/sources.list`:
<pre lang="bash"><code> <pre lang="bash"><code>
deb 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
deb-src http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main 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
</code></pre> </code></pre>
Then run `apt update; apt install archivebox; archivebox --version`.
(you may need to install some other dependencies manually however) (you may need to install some other dependencies manually however)
</details> </details>
@ -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. 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.
<small> <small><ol>
<li>Install ArchiveBox: <code>apt/brew/pip3 install archivebox</code></li>
1. Install ArchiveBox: `apt/brew/pip3 install archivebox` <li>Start a collection: <code>archivebox init</code></li>
2. Start a collection: `archivebox init` <li>Start archiving: <code>archivebox add 'https://example.com'</code></li>
3. Start archiving: `archivebox add 'https://example.com'` </ol></small>
</small>
<br/> <br/>
<div align="center"> <div align="center">