How to Install Latest Deluge BitTorrent Client on Ubuntu 16.04/14.04

Deluge is a free, open-source and lightweight BitTorrent client, available for Linux, FreeBSD, Mac OS X and Windows. It has a rich collection of plugins that you can install to extend its functionality. The latest stable version, 1.3.13, was released on July 20, 2016. Deluge BitTorrent 1.3.13 features an extremely large set of bug fixes.

Install Latest Deluge on Ubuntu 16.04/14.04 Desktop from PPA

The Ubuntu software repository includes Deluge 1.3.12. To ensure that you get the most recent version, you need to install it from official Deluge PPA.

Here’s how.

Fire up a terminal window (CTRL+ALT+T), then run the following 2 lines of comands one at a time.

sudo add-apt-repository ppa:deluge-team/ppa

sudo apt update && sudo apt install deluge

install latest deluge on ubuntu 16.04 LTS

This PPA also works on other Linux distributions that are based on Ubuntu 16.04/14.04 such as Linux Mint and Elementary OS. If you already have deluge installed, then the above commands will update your deluge to the latest version. Don’t worry, your existing torrents will be fine.

Once installed, you can start it from Unity Dash or application menu.

deluge bittorrent client on ubuntu 16.04 lts

Deluge 1.3.13 user interface

deluge 1.3.13 linux mint elementary os

Install Deluge BitTorrent on Ubuntu 16.04 Server

You can install Deluge BitTorrent daemon on a server and manage the program via a Web browser. Using a server to download torrrent is very fast. Today’s server typically has 100Mbit download and upload speed.

Use the following command to install Deluge Web UI and the Deluge daemon on Ubuntu 16.04 server

sudo add-apt-repository ppa:deluge-team/ppa

sudo apt-get update

sudo apt-get install deluge-webui deluged

Then create the deluge user and group so that deluge can run as a separate user. This will increase your server’s security.

sudo adduser --system --gecos "Deluge Service" --disabled-password --group --home /var/lib/deluge deluge

The --disabled-password flag disable login access for the deluge user. You may want to add your user account to the deluge group with the following command so that the user account has access to the files downloaded by Deluge BitTorrent.

sudo gpasswd -a your-user-name deluge

Once that’s done, create a systemd service file for deluge with your favourite text editor such as nano.

sudo nano /etc/systemd/system/deluged.service

Copy and paste the following lines into the file.

Description=Deluge Bittorrent Client Daemon


ExecStart=/usr/bin/deluged -d


# Configures the time to wait before service is stopped forcefully.


In nano text editor, press CTRL+O to save the file, then CTRL+X to exit. Now start deluge deamon with the following command. Since we want Deluge to run as the deluge user, there’s no need to add sudo to the command, but you will be asked to enter your password.

systemctl start deluged

You may also want to enable auto start when Ubuntu 16.04 is booted up.

systemctl enable deluged

Check Deluge status:

systemctl status deluged

deluge webui ubuntu

You can see that deluged is running and enabled.

Accessing Deluge WebUI

To be able to access the deluge WebUI, we also need to create a systemd service file for deluge web.

sudo nano /etc/systemd/system/deluge-web.service

Copy and paste the following texts into the file.

Description=Deluge Bittorrent Client Web Interface






Save and close the file. Then start and enable deluge-web, check its status. Again, there’ no need to add sudo to the commands.

systemctl start deluge-web

systemctl enable deluge-web

systemctl status deluge-web

The deluge-web service will listen on TCP 8112 port. Now in your Web browser address bar, type


You will be asked to enter a password, which by default is deluge, to access the Web UI. It’s recommended to change the default password.

After you choose to change pasword, the connection manager window will pop up asking you to connect to Deluge daemon which is listening on Select the connection and click Connect button.

deluge webui connect to daemon

Then you will be able to change the WebUI password.

change deluge webui default password

And now you can start using Deluge BitTorrent on your Ubuntu 16.04 server.

install deluge on ubuntu 16.04 server

To add new torrents, click the add button on the upper left corner.

deluge bittorrent web ui add torrent

You can add a torrent file from your local computer or add magnet link.

Set Up Nginx Reverse Proxy for Deluge WebUI

A reverse proxy is a proxy for another server, in this case the Deluge WebUI. First install Nginx on Ubuntu 16.04.

sudo apt install nginx

Start Nginx

sudo systemctl start nginx

Then create a Nginx server block file for Deluge WebUI.

sudo nano /etc/nginx/conf.d/deluge-webui.conf

Copy and paste the following texts into the file. Replace the red-colored text with your own domain name. You should also set the A record for your domain name.

server {
  listen 80;

  access_log /var/log/nginx/;
  location / {

Save and close the file. Then test Nginx configuration.

sudo nginx -t

If the test is successful, reload Nginx

sudo systemctl reload nginx

Now you can access Deluge WebUI via your domain name.

Do you like Deluge? What other BitTorrent client do you recommend? Leave your comments below. As always, if you found this post useful,  subscribe to our free newsletter or follow us on Google+Twitter or like our Facebook page.

Rate this tutorial
[Total: 15 Average: 4.3]
  • frans daniel

    Long too path error!
    “Long path tool” is very helpful for this problem. You can solve this problem like copy, delete, long path files by using this tool.
    I used to have similar problems too, but after using “long path tool” everything was solved.