Recently I wanted to do some research on data which is available only via torrent. Also it is a very huge file. I don't want to do this in my local machine, so I decided to spin up a Digital Ocean droplet. After some search, I found that Deluge is a best tool to do it. Deluge provides both GUI and console support. In this article, we will see how to install and use deluge from the console.
Install Deluge in Ubuntu
sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge deluged deluge-console
Where:
deluge
- torrent client GUIdeluged
- torrent client daemondeluge-console
- torrent client console
How to run
1. Run Deluge daemon
deluged
This will run deluge in the background.
2. Run Deluge Console
deluge-console
This will open up new console where you can type deluge commands.
3. Add a torrent file to start download
In order to download, you need to add your torrent file to deluge using:
add -p torrent_path torrent_file_name
Where:
torrent_path
is a path where you have your torrent file.torrent_file_name
is actual torrent file name
Example:
add -p /home/john songs.torrent
Other useful commands
You can use following commands in the deluge console.
info - Show information about the torrents
add - Add a torrent
rm - Remove a torrent
cache - Show information about the disk cache
exit - Exit from the client.
halt - Shutdown the deluge server.
pause - Pause a torrent
resume - Resume a torrent
help - displays help on other commands
Here info
is very useful command which displays current stats of the torrent download.
Hope it helps. Have a great day.