Skip to content

Commit

Permalink
cleanup README.org
Browse files Browse the repository at this point in the history
pointing to apt-fast installation instructions

Signed-off-by: Stefan Lendl <[email protected]>
  • Loading branch information
stfl committed Mar 16, 2024
1 parent 48a3c78 commit a676220
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions README.org
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
* apt-fast-mirrors
A fastest mirror selector for apt-fast. Currently only works on Debian
A fastest mirror selector for apt-fast.

To fetch the fastest mirrors and add the 10 fastest to the `MIRRORS` variable in `/etc/apt-fast.conf`, run:

#+BEGIN_SRC bash
sudo python3 af-mirrors.py
sudo ./af-mirrors.py
#+END_SRC

The fastest mirror is also added to `/etc/apt/sources.list.d/sources_<repo>.list`.

** Prerequisites

*** Install apt-fast

#+BEGIN_SRC bash
sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast
#+END_SRC
Install apt-fast according to the [[https://github.com/ilikenwf/apt-fast?tab=readme-ov-file#installation][official instructions]].

*** Install dependencies

Expand All @@ -35,6 +29,5 @@ sudo apt-fast install lsb-release netselect-apt netselect
wget http://ftp.debian.org/debian/pool/main/n/netselect/netselect_0.3.ds1-30.1_amd64.deb
wget http://ftp.debian.org/debian/pool/main/n/netselect/netselect-apt_0.3.ds1-30.1_all.deb

sudo dpkg -i netselect_0.3.ds1-30.1_amd64.deb
sudo dpkg -i netselect-apt_0.3.ds1-30.1_all.deb
sudo dpkg -i netselect_0.3.ds1-30.1_amd64.deb netselect-apt_0.3.ds1-30.1_all.deb
#+END_SRC

0 comments on commit a676220

Please sign in to comment.