Tutorials

Download Torrents from the Command Line in Ubuntu

let’s talk about the process to download torrents from the command line in ubuntu. For this, you need to have good CLI-based torrent client. We are using transmission-cli client for this tutorial because it  is the easiest to use.

Steps:

To install transmission-cli, type the following command:

sudo apt install transmission-cli

Add URL

transmission-cli http://releases.ubuntu.com/16.10/ubuntu-16.10-desktop-amd64.iso.torrent -w ~/Downloads

Magnet Links

transmission-cli magnet:?xt=urn:btih:e249fe4dc957be4b4ce3ecaac280fdf1c71bc5bb&dn=ubuntu-mate-16.10-desktop-amd64.iso -w ~/Downloads

Torrent Files

Transmission-cli can be downloaded by adding a torrent file.
For example:
wget http://releases.ubuntu.com/16.10/ubuntu-16.10-desktop-amd64.iso.torrent.

To download with a torrent file:

transmission-cli ubuntu-16.10-desktop-amd64.iso.torrent -w ~/Downloads

Meanwhile Transmission client often doesn’t save setting which means that you should specify the peer blocklists each time before use. To get rid of this issues, do this:

transmission-cli http://releases.ubuntu.com/16.10/ubuntu-16.10-desktop-amd64.iso.torrent -w ~/Downloads -b http:/



READ THIS ALSO  Download Ubuntu Budgie 17.10, Ubuntu MATE 17.10, Kubuntu 17.10, Xubuntu 17.10

Subscribe To Our Newsletter.

Join our mailing list to receive the latest linux tutorials, tips & tricks, freebies,news and updates from our team.

You have Successfully Subscribed!