HOWTO Portage Fetch With Download Accelerator

HOWTO Portage Fetch With Download Acceleratorhttp://gentoo-wiki.com/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 []
  • 1 Introduction
  • 2 Installation
  • 3 Configuration
  • 4 Restriction
[ 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}"

你可能感兴趣的:(#gentoo)