I would like to install aria2c on centos7. I tried with
yum install aria/aria2/aria2c but I receive "no package available".
What is the proper way to install aria2c on centos7?
On CentOS 7.2.1511, I was able to install it through the EPEL repository:
$ yum install epel-release -y $ yum install aria2 -y
Under the assumption that you've tried
yum install aria2 (instead of the literal
yum install aria/aria2/aria2c command you listed), the Install Aria2 (Command-line download manager) on RHEL/CentOS and Fedora linux page suggests the following command:
yum --enablerepo=rpmforge install aria2 -y
If you need the rpmforge repo, you can apparently get it with either:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
or for 32-bit:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
RPMforge repository is dead and no more maintained, the only way to install aria2 command-line download tool on CentOS or RHEL distribution from EPEL repository, as shown here - https://www.tecmint.com/aria2-multi-protocol-commandline-download-tool-for-linux/.
# yum install epel-release -y # yum install aria2 -y
The available version is 1.18.0. So in this case you might need to compile and install the latest 1.34.0 from the source package as shown here.
- wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- rpm -ivh epel-release-latest-7.noarch.rpm
- yum -y install aria2