HOWTO Portage Fetch With Download Accelerator

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc



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}"

[edit] Restriction

This will not work successfully if you are using DeltUp

Personal tools