I've tried multiple combinations of apt and snap and
wget
dpkg -i aria2_1.36.0-1_amd64.debBut I always end up with dependency issues or a non-working binary.
61 Answer
This happens because of dependencies which need backporting. You are not alone with this problem, so really this new Aria2 version is available in compiled deb packages from two Rob Savoury's PPAs:
Adding any of these PPAs to the system will cause upgrade of many packages to new versions. If you are sure with walking this way - use commands below:
sudo add-apt-repository ppa:savoury1/backports
sudo apt-get update
sudo apt-get install aria2 --only-upgradeThen you will have two choices:
Upgrade all other packages using just added PPA by
sudo apt-get dist-upgradeRemove the just added PPA keeping most of the packages at their current 18.04 LTS versions while having newest Aria2 by
sudo add-apt-repository -r ppa:savoury1/backports
To keep system manageable I would recommend to use latter method.
If you do not want to add the PPA, you have to download aria2 package with its dependencies manually and install them by commands below
cd ~/Downloads
wget -c
wget -c
wget -c
wget -c
wget -c
wget -c
wget -c
wget -c
sudo apt-get install ./aria2_1.36.0-1~18.04.sav0_amd64.deb ./libaria2-0-dev_1.36.0-1~18.04.sav0_amd64.deb ./libaria2-0_1.36.0-1~18.04.sav0_amd64.deb ./libgnutls30_3.7.3-4ubuntu1~18.04.sav0_amd64.deb ./libnettle8_3.7.3-1~18.04.sav0_amd64.deb ./libtasn1-6_4.18.0-4~18.04.sav0_amd64.deb ./libhogweed6_3.7.3-1~18.04.sav0_amd64.deb ./libp11-kit0_0.23.20-1ubuntu0.1~18.04.sav0_amd64.deb 1