I’ve not used Snap before, but I came across it and wanted to try installing Deluge, a free and open-source BitTorrent client, using it.
Snaps are app packages for desktop, cloud and IoT that are easy to install, secure, cross‐platform and dependency‐free. Snaps are discoverable and installable from the Snap Store, the app store for Linux with an audience of millions.
My server didn’t have Snap installed, so executing these commands took care of that:
sudo apt update
sudo apt install snapd
Upon searching for Deluge on the Snap Store, we can see that it’s really difficult to install:
root@server:~# sudo snap install deluge-lukewh
2022-08-05T10:21:52+02:00 INFO Waiting for automatic snapd restart...
deluge-lukewh 2.0.5 from LukeWH installed
And we can check that Deluge is running by querying the services:
root@server:~# snap services deluge-lukewh
Service Startup Current Notes
deluge-lukewh.deluge-web-service enabled active -
deluge-lukewh.deluged-service enabled active -
You can then open the Deluge WebGUI by going to http://server-ip-address:8112
(making sure to add a new rule to your firewall, if necessary). The default password for Deluge is deluge
, and it’ll ask you to change it as you log in for the first time.
It may also be beneficial to update the Server Port
from 8112
to something else, to prevent web crawler bots from searching for exposed WebGUIs using the default Deluge port. You may need to restart the Deluge services for a port change to be applied:
root@server:~# snap restart deluge-lukewh.deluged-service
Restarted.
root@server:~# snap restart deluge-lukewh.deluge-web-service
Restarted.
The final task for me was to update the Download folder to something a little more convenient.
Check out the Snap documentation for more information.