Search:  
Gentoo Wiki

HOWTO_Portage_Fetch_With_Download_Accelerator


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

Introduction

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

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

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

Restriction

This will not work successfully if you are using Deltup.

Retrieved from "http://www.gentoo-wiki.info/HOWTO_Portage_Fetch_With_Download_Accelerator"

Last modified: Wed, 01 Oct 2008 19:24:00 +0000 Hits: 11,807