HOWTO_Portage_Fetch_With_Download_Accelerator


Предыдущая | Следующая

 

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"