Speeding up downloads: Faster or alternative download sources for installation (and pull)

This is just a quick PSA kind of post that some may find useful:

As probably everyone who has used Guix knows, the official download sources as hosted on the official GNU website are often down or slow due to being overloaded by either DDOS or legitimate traffic. But before you cry and give up installing Guix thinking it is doomed to be unusably slow, you should try using some of the alternative download sources:

Specifically for the installation (i.e. running the install.sh script which downloads an archive with the base Guix stuff in it), you can use a mirror instead of the main site’s ftp server to get the archive.

This can be done by editing the install.sh script:

sed -i 's/ftp.gnu.org/ftpmirror.gnu.org/g' install.sh

See GNU Mirror List - GNU Project - Free Software Foundation for more info.

Also as mentioned in Mirrors for git.savannah.gnu.org?, there are other options besides the default savannah git server which is used for guix pull. Including an officially managed one on Codeberg (which I found to be much faster in addition to being a good fall back if the other one is being DDOSed).

All together, this is the basic process that gave a much faster Guix install and first pull.

# Getting the install script
wget guix.gnu.org/install.sh
chmod +x install.sh
# Using ftpmirror.gnu.org instead of main site to reduce load on the main server and get faster downloads
sed -i 's/ftp.gnu.org/ftpmirror.gnu.org/g' install.sh
# Running the normal install process
sudo ./install.sh
guix pull --url=https://codeberg.org/guix/guix
1 Like