Commands.page Logo

How to Install aria2 on Ubuntu Using Apt

This article provides a step-by-step guide on installing aria2 on Ubuntu using the apt package manager. It covers updating system packages, executing the installation command, and verifying that the tool is ready for use.

Update Package Lists

Before installing new software, ensure your package repository is up to date. Open your terminal and run the following command:

sudo apt update

Enter your user password when prompted. This process fetches the latest list of available packages from the configured sources.

Install aria2

Once the update is complete, install aria2 by executing the install command. Type the following into your terminal:

sudo apt install aria2

When the system asks for confirmation to proceed with the installation, type Y and press Enter. The package manager will download and configure the necessary files automatically.

Verify the Installation

To confirm that aria2 was installed successfully, check the version number. Run this command:

aria2c --version

If the installation was successful, the terminal will display the version information and supported features. You can now start using aria2c to download files from various protocols.