HOWTO Portage Fetch With Download Accelerator

From Gentoo Linux WikiJump to: navigation, search Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Please improve it in any way that you see fit, and remove this notice `Cleanup` from the article. For tips on cleaning and formatting see Cleanup process

Contents [] [edit] Introduction

Download accelerators can be used with emerge to download distfiles as an alternate to wget.

[edit] Installation

One can either use axel or prozilla...

Axel is a light Unix multithreaded download accelerator.

Code: Installation emerge axel

Prozilla is a basic download manager. However is currently hard masked in the portage tree.

Code: Installation emerge prozilla [edit] Configuration

Add the following to your /etc/make.conf if you are using axel:

File: /etc/make.conf FETCHCOMMAND="/usr/bin/axel -a -o /\${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/axel -a -o /\${DISTDIR}/\${FILE} \${URI}"

or similarly add the following to your /etc/make.conf if you are using prozilla:

File: /etc/make.conf FETCHCOMMAND="/usr/bin/proz -k=6 \${URI} -P \${DISTDIR}"