Page 1 of 1

apt-fast - speed up downloading packages

Posted: Fri Aug 25, 2023 4:04 pm
by fredx181

apt-fast https://github.com/ilikenwf/apt-fast may seriously speed up downloading packages for installing on Debian and Ubuntu, it's using aria2 by default for downloading (command name is actually aria2c).
Here's a .deb package I've made https://github.com/doglinux/sid/raw/mas ... .0_all.deb , dependency is aria2 .
Usage: for example instead of apt install <packagename> do: apt-fast install <packagename>
All possible options for apt or apt-get do apply for apt-fast too, btw.


Re: apt-fast - speed up downloading packages

Posted: Fri Aug 25, 2023 6:10 pm
by dancytron

Installed on DD bookworm. Works as advertised so far.

edit: It's fast.

I just did libreoffice with recommends (about 1.5 gig) was really fast.


Re: apt-fast - speed up downloading packages

Posted: Fri Aug 25, 2023 6:38 pm
by fredx181
dancytron wrote: Fri Aug 25, 2023 6:10 pm

Installed on DD bookworm. Works as advertised so far.

edit: It's fast.

I just did libreoffice with recommends (about 1.5 gig) was really fast.

Nice! I used it on Sid with the snapshot,debian.org repo activated in sources.list, on itself download speed is very slow (if using just apt with snapshot repo) but really makes a difference when using apt-fast.
To make it using apt-fast as default , alias for apt and apt-get, I added in ~/.bashrc :
alias apt-get="apt-fast"
alias apt="apt-fast"
And restarted X .
So then, even if you run apt install <package> it will run with apt-fast . To test (download package(s) only) run apt install <package> -d


Re: apt-fast - speed up downloading packages

Posted: Sat Aug 26, 2023 9:01 pm
by dancytron

Speeds up the mklive script too.


Re: apt-fast - speed up downloading packages

Posted: Mon Aug 28, 2023 6:20 pm
by fredx181
dancytron wrote: Sat Aug 26, 2023 9:01 pm

Speeds up the mklive script too.

Interesting, curious, how you made mklive work with apt-fast ?


Re: apt-fast - speed up downloading packages

Posted: Mon Aug 28, 2023 6:24 pm
by dancytron

Maybe I just imagined it, but after I set it in .xsession I think it picked it up on it's own.


Re: apt-fast - speed up downloading packages

Posted: Mon Aug 28, 2023 6:46 pm
by fredx181
dancytron wrote: Mon Aug 28, 2023 6:24 pm

Maybe I just imagined it, but after I set it in .xsession I think it picked it up on it's own.

That cannot work AFAIK, well, I just thought you did perhaps some modifying of mklive, should be possible to make it work, actually these days I'm experimenting with mkive-sid using apt-fast with the http://snapshot.debian.org/ repo. (edit: but downloading from snaphot.debian has some sort of rate limit, no complaint btw, it's a great service!)


Re: apt-fast - speed up downloading packages

Posted: Mon Aug 28, 2023 6:55 pm
by dancytron

It was probably cached the second time now that I think about it.

Libre Office with recommends came down fast though.