💾 Archived View for perso.pw › blog › articles › gentoo-emerge-bandwidth.gmi captured on 2024-02-05 at 10:21:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-05-24)

➡️ Next capture (2024-03-21)

-=-=-=-=-=-=-

How to limit bandwidth usage of emerge in Gentoo

on Mastodon

If for some reason you need to reduce the download speed of emerge

when downloading sources you can use a tweak in portage's make.conf as

explained

[in the handbook](https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Variables#Fetch_commands).

To keep wget and just add the bandwidth limit, add this to

FETCHCOMMAND="${FETCHCOMMAND} --limit-rate=200k"

Of course, adjust your rate to your need.