Skip to content

Instantly share code, notes, and snippets.

@apeckham
Created August 4, 2015 19:18
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save apeckham/8e91d4bc66c32d6730db to your computer and use it in GitHub Desktop.
Save apeckham/8e91d4bc66c32d6730db to your computer and use it in GitHub Desktop.
aria2 on amazon linux
# download from http://sourceforge.net/projects/aria2/files/stable/aria2-1.19.0
sudo yum install gcc-g++ openssl-devel -y
tar xvfj aria2...tar.bz2
./configure
make -j$(nproc)
sudo make install
@AjaxOdessa
Copy link

For the recent AMIs I suggest gcc48-c++ instead of gcc-g++

@ddierickx
Copy link

An update for AWS Linux 2, also enables metalink support.

#/bin/bash

set -e

RELEASE=1.33.1

wget https://github.com/aria2/aria2/releases/download/release-$RELEASE/aria2-$RELEASE.tar.gz
tar -xzvf aria2-$RELEASE.tar.gz

sudo yum install gcc-c++ openssl-devel libxml2-devel -y

pushd aria2-$RELEASE
./configure
make -j$(nproc)
sudo make install
popd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment