Downloading information over the torrent protocol on the Linux platform might be executed by the command-line. The benefit of utilizing torrents in the terminal is that it permits customers to download recordsdata to computer systems remotely, and even over the native community. Together with that, Linux customers can simply seed recordsdata remotely, quite than having to have a consumer open on their machine all the time. On this tutorial, we’ll present you the way to get going with downloading torrents in the command-line.

Use a VPN when downloading torrents on Linux

Z

Although downloading information by the torrent protocol has legit makes use of, most web service suppliers don’t see it that approach. Many block their customers from even accessing torrent protocols regardless if the content material is authorized or not. So, in the event you plan to use this app to download torrent recordsdata, we extremely suggest utilizing a VPN.

ExpressVPN takes the prime spot as the finest VPN reviewed by our safety consultants. It really works nicely on Linux and has a superb consumer for download. Higher nonetheless, they provide quick download speeds with 256-bit AES encryption and excellent ahead secrecy throughout 94 completely different international locations. Additionally, they’ve an unique supply for AddictiveTips readers: 3 months free on the annual plan, a 49% low cost.

Putting in Aria2 on Linux

There are a number of respectable command-line solely torrent purchasers for Linux. One in all the finest ones to use, nonetheless, is Aria2. The rationale? It could actually deal with torrent magnet hyperlinks, torrent recordsdata together with different varieties of downloading sorts like FTP/SFTP, HTTP, Metalink, and extra.

Putting in the Aria2 consumer is feasible on most Linux distributions fairly simply. On this part of the information, we’ll cowl how to get the app arrange and put in on Ubuntu, Debian, Arch Linux, Fedora, and OpenSUSE. We’ll additionally present you the place to get the supply code in case your Linux OS doesn’t have a pre-built package deal obtainable for simple set up.

Ubuntu

On Ubuntu, the Aria2 download app is on the market for set up in the “Universe” software program repository. In case you are utilizing a model of Ubuntu Linux that doesn’t have already got the “Universe” repo turned on, open up a terminal window and enter the following command.

sudo add-apt-repository universe

Subsequent, run the replace command to end establishing the repository on Ubuntu.

sudo apt replace

Lastly, you possibly can set up Aria2 with:

sudo apt set up aria2

Debian

Aria2 is on Debian in the “Main” software program repository. To get it going, launch a terminal window and enter the following Apt-get command.

sudo apt-get set up aria2

Arch Linux

On Arch Linux, you’ll discover Aria2 in the “Community” software program repository. To put in it, be certain that the “Community” software program repository is enabled in /and so forth/pacman.conf. Then, use the Pacman package deal supervisor to set up the software program.

sudo pacman -S aria2

Fedora

The Aria2 download consumer is in the major Fedora Linux software program sources, so it’s fairly simple to set up. To get it working, open up a terminal and use the Dnf command beneath.

sudo dnf set up aria2 -y

OpenSUSE

All variations of OpenSUSE Linux have Aria2 obtainable to customers in the OSS software program repository. To set it up, launch a terminal window. Then, use the Zypper package deal supervisor to download the app.

sudo zypper set up aria2

Generic Linux

The supply code for the Aria2 download utility is on the market on the developer’s official web site. To download it click on here. For info on how to compile the program, check out the official documentation.

Download torrents from the command-line

Aria2 handles torrent recordsdata by specifying the magnet URL or torrent file. To start out a download, open up a terminal window by urgent Ctrl + Alt + T or Ctrl + Shift + T.

As soon as a terminal is open, you possibly can add a torrent in the following methods:

aria2c 'magnet-link'

Or

aria2c 'web-link-to-torrent-file'

Or

aria2c -T /location/of/torrent/file.torrent

When the download is full, press the Ctrl + C keyboard mixture. Urgent it is going to finish the download and print a message letting you realize the place your file(s) are on your laptop.

Download a number of torrents without delay

Aria2 can let customers download many torrent recordsdata at one time. To do it, launch a terminal like ordinary. Then, use the contact command to create a clean textual content file.

contact ~/aria2-torrents

Utilizing the echo command, add the torrent Magnet hyperlinks, Torrent file hyperlinks or native recordsdata to the aria2-torrents textual content file.

Observe: make sure to change the torrent hyperlink with the Magnet hyperlink or Torrent file location.

echo 'torrent-link 1' >> ~/aria2-torrents
echo 'torrent-link 2' >> ~/aria2-torrents
echo 'torrent-link 3' >> ~/aria2-torrents

When the desired quantity of torrents are added to the textual content file, begin the download with:

aria2c -i ~/aria2-torrents

Press Ctrl + C to cease the consumer when the downloads are executed.

Clear the textual content file

After downloading, it’s a good suggestion to filter the textual content in the aria2-torrents textual content file. To do it, enter the following command.

echo ' ' > ~/aria2-torrents



Source link

Share.
Leave A Reply

Exit mobile version