Pejman Moghadam / Slackware

Slackware 13.1 - Installing trickle (with epkg)

Public domain


Installation

install libevent before this

Download Link

cd /usr/src
wget -c "http://pmoghadam.com/homepage/Pages/Deposit/Source-packages/trickle-1.07.tar.gz"
su - install

cd /usr/src
tar xf trickle-1.07.tar.gz
cd trickle-1.07
./configure  --prefix=/usr/
sed -i -e 's,#define in_addr_t unsigned long,,' config.h
make
make install DESTDIR=/usr/local/encap/trickle-1.07
logout
cd /usr/local/encap/
mkencap trickle-1.07
epkg trickle-1.07

Usage

trickle -d 15 \
    aria2c --listen-port 6885 --max-upload-limit 20K --seed-time 2 "$URL"

BY: Pejman Moghadam
TAG: trickle, epkg, traffic-control
DATE: 2012-10-01 22:12:47


Pejman Moghadam / Slackware [ TXT ]