Raspberry Pi, Raspbian and Deluge. Using the BitTorrent network.

MarGib June 18, 2026
🌐 🇵🇱 Polski · 🇬🇧 EN
When it comes to Raspberry Pi and the Raspbian system, a piece of software that causes a "network flood" of traffic, namely Deluge, works very well for the BitTorrent network. Other solutions include, of course, Transmission, BitTorrent, and other popular and well-known torrent clients that have releases for the Debian family of distributions. Here, I will present Deluge — it is a cross-platform BitTorrent client that can be used in Linux, Mac OS, and Windows environments. Among the more interesting features offered by the application are bandwidth management, proxy support, support for trackerless torrents using the DHT protocol, and transmission encryption. The prototype for this program was a GNOME-based client called gTorrent; as it evolved, the authors decided to rename it to Deluge, and the goal of their work is to keep the program as lightweight as possible for the system. Testing various software and its performance on a Raspberry Pi 3, this client offers operation in both graphical and console modes, and after installation, it does not require any configuration for basic functionality. Deluge will be the best choice considering the ratio of its functionality to its lightness and ease of use.




Installing Deluge on Raspbian.

Step 1 - Choosing the configuration method.

There are several ways to run Deluge on the Raspbian system, the most popular of which is using the repository in graphical mode.

Graphical mode.

Raspbian - Launching the repository.

Raspbian - searching for the Deluge program in the repository.


Despite its simplicity, graphical mode is not the best option for Raspberry Pi. Every time you want to use your client, you would have to log in via VNC or connect a monitor to your Raspberry to launch the application and perform torrent-related actions — a waste of time.

WebUI mode (access via web browser)

In this mode, access to the application is provided through any available web browser, which is much more convenient than launching a remote desktop. An additional possibility in this mode is using a smartphone to control the application's operation.

Server/Client mode

Server mode is probably the best option you can use for a Raspberry Pi. In this case, the idea is to configure the application to accept connections from a so-called "Thin Client". Such a configuration allows you to take advantage of the benefits offered by a standard client on any operating system, which will be connected to the remote server where the actual file downloading will take place.

Step 2 - Configuring Deluge for remote connection

We perform the installation using the following commands. (Unless the installation was previously done in graphical mode)


sudo apt-get install deluged
sudo apt-get install deluge-console

After installation, we start the deluge process

# deluged
# sudo pkill deluged

Starting the daemon was intended to create a configuration file that we will slightly edit. We make a copy of the current file and perform the modifications.

cp ~/.config/deluge/auth ~/.config/deluge/auth.old


vim ~/.config/deluge/auth


In the configuration file, we add an entry in the format:

user:password:level

an example entry might look like this:

pi:raspberry:10

Next, we start the service and go to the console:

# deluged
# deluge-console




In the console, we perform the basic configuration:


config -s allow_remote True
config allow_remote
exit

After the above, you need to perform a restart once more to confirm the entered configuration. Now the server is ready to accept connections from any client.

You can download the client for your system from the Deluge creators' website.

After installation, you will need to perform a simple configuration in the client.

Deluge client configuration part 1



After performing the above steps, we will be asked to restart the client. Upon startup, a connection wizard will appear, in which we will connect to the Deluge server previously installed on the Raspberry Pi.

Deluge client configuration part 2

Added connection to the Deluge server on Raspberry Pi

We select the added configuration and click "Connect". From now on, using the client installed on your laptop or another computer, we can order torrent file downloads to the server running on the Raspberry Pi. The download will continue even after the laptop is turned off. We can retrieve the files after they are downloaded from the set location, e.g., from an external USB drive plugged into the Raspberry Pi.

Access via WWW

The installation of the necessary packages enabling the Deluge server to expose its interface for web browsers is done as follows:

sudo apt-get install deluged
sudo apt-get install python-mako
sudo apt-get install deluge-web
deluge-web
The above sequence also assumes the installation of Deluge (if not done previously); the next component is Mako (a template gallery for WebUI), and finally starting the deluge-web service.

The web service is running, and you can now verify that it works by going to the page:

http://192.168.0.14:8112/


By default, Deluge-web does not run in the background, so after using Ctrl+c, the service will be stopped, which is good because it still needs to be configured a bit.

We go to the configuration file:

vim ~/.config/deluge/web.conf

The file looks like this by default:

{
  "file": 1,
  "format": 1
}{
  "sidebar_show_zero": false,
  "show_session_speed": false,
  "pwd_sha1": "2ce1a410bcdcc53064129b6d950f2e9fee4edc1e",
  "show_sidebar": true,
  "sessions": {},
  "enabled_plugins": [],
  "base": "/",
  "first_login": true,
  "theme": "gray",
  "pkey": "ssl/daemon.pkey",
  "cert": "ssl/daemon.cert",
  "session_timeout": 3600,
  "https": false,
  "default_daemon": "",
  "sidebar_multiple_filters": true,
  "pwd_salt": "c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad",
  "port": 8112
}


In the file, we can choose, for example, our own port number or the template color.

Upon the first launch, we will be asked for a password. The default password to enter is "deluge". I recommend changing the password immediately after logging in! Further configuration will look exactly the same as in the case of the client we configured earlier on the desktop. There is no need to add connection addresses in this case because the web client is an interface for the Deluge server itself on our Raspberry Pi.

We run the web client in the background with the command:

# nohup deluge-web &


Deluge - web interface - connection manager and password configuration



Configuring file download locations.

To start, you need to create appropriate locations leading, for example, to a Pendrive connected and mounted on the Raspberry Pi.

#  mkdir pliki_torrent
#  mkdir pobierane
#  mkdir pobrane
#  mkdir kopie_torrent

The purpose of the directories is:

pliki_torrent - for files from which the download should start (auto-download)
pobierane - temporary files that are currently being downloaded
pobrane - finished downloads and files ready for use
kopie_torrent - a backup copy of the torrent files from which the download was started

We set the created locations appropriately in the desktop and web clients:

Deluge download location configuration - desktop client

Okay, we have everything we need to comfortably download Linux distribution ISO images and other files on the Torrent network.

If you want to take care of your anonymity, you can optionally use the connection capabilities using an appropriate proxy. More information on this topic can be read at the links below:









You should handle the torrent network with caution and carefully choose the materials you download and share so as not to break the law.

Facebook X E-mail

Comments

Dodaj komentarz

Explore

Labels

Linux 8 Artificial Intelligence 6 Google 6 Windows 6 internet 6 news 6 AI 5 entertainment 5 God 4 Security 4 automation 4 books 4 coaching 4 new technologies 4 technology 4 Android 3 Business 3 FIFA 3 Microsoft 3 Mind 3 RedHat 3 Software 3 Windows system administration 3 artificial intelligence 3 chrome 3 help 3 people 3 photography 3 reading 3 trivia 3 Configuration 2 FAQ 2 LLM 2 Machine Learning 2 Programs 2 Technology 2 ansible 2 applications 2 bash 2 browsers 2 children 2 cloud storage 2 computer science 2 computers 2 conferences 2 curiosities 2 death 2 documentary 2 extensions 2 facebook 2 faith 2 file storage 2 fix 2 games 2 hacker 2 health 2 human 2 media 2 mind manipulation 2 mobile apps 2 mobile phones 2 money 2 multimedia 2 network 2 personal competencies 2 personal development 2 personal thoughts 2 photos 2 religion 2 trick 2 wealth 2 web applications 2 64 bit 1 7 1 AI Frameworks 1 AI History 1 AI Safety 1 AI in sports 1 AIMP 1 Alan Watts 1 Alexander Gerst 1 Anonymous 1 Anthropic 1 Asus 1 Automation 1 BIG DATA 1 Banking 1 Bill Warner 1 Bono 1 CUDA 1 CentOS 1 Centos 1 Chemtrails 1 Claude 1 Claude AI 1 Coaching 1 Constitutional AI 1 Darwin 1 Debian 1 Deluge 1 DevOps 1 Diagnostics 1 Drones 1 EA GAMES 1 EA SPORTS 1 Emigration 1 FIFA 16 1 Fable 1 Firefox 1 Football 1 Free 1 Free Red Hat 1 Future of Finance 1 GUI 1 Generation Z 1 Google projects 1 Got Talent 1 HTML 1 ISIS 1 ISS 1 Intel 1 Intelligence 1 Islam 1 Islamic State 1 Jacquard 1 Jboss 1 Kali Linux 1 Kylian Mbappé 1 Londoners 1 Maps 1 Medicine 1 My take 1 Mythos 1 NVIDIA 1 Neural Networks 1 Open Source 1 Opera 1 Pac-Man 1 Perceptron 1 Personal Development 1 Personal Finance 1 Personal development 1 Poland 1 Poles 1 PowerShell 1 Privacy 1 Productivity 1 Programming 1 Psychology 1 RHEL7 1 Raspberry PI 1 Raspbian 1 Red Hat 1 Red Hat Enterprise Linux Developer Suite 1 Robo-advisors 1 Rust 1 SUSE 1 Snip. 1 Social Media 1 Software Engineering 1 Soli 1 Solo Projects 1 Solopreneurship 1 Sport 1 Time Management 1 Tips 1 Tools 1 U2 1 Ubuntu 1 Vivaldi 1 WBC 1 Windows 10 1 Windows errors 1 Work 1 World Cup 1 World Cup 2026 1 X-Files 1 X-files 1 ZenFone 1 a drop of motivation 1 addiction 1 aids 1 animations 1 assertiveness 1 audio 1 automateit 1 autonomous cars 1 awareness 1 bash on windows 1 bat files 1 batch 1 better life 1 better living 1 better quality 1 bin/bash 1 body language 1 boxing 1 brain 1 campaign 1 cards 1 chemistry 1 clearance 1 clothing industry 1 cmd 1 coldplay 1 command history 1 communication 1 communities 1 computer intelligence 1 configuration management 1 conspiracy 1 conspiracy theories 1 converter 1 creativity 1 cyberattacks 1 data 1 date and time 1 deep learning 1 digital clothing 1 dreams 1 dubai 1 dying 1 e-book 1 earning 1 economy 1 emotions 1 evolution 1 exploitation 1 extreme 1 file size 1 flat earth 1 flying 1 food 1 football 1 for sale 1 format change 1 free 1 friend location 1 future of transport 1 future of work 1 genius 1 geoengineering 1 good movie 1 growing up 1 hacking 1 helion 1 history 1 hobby 1 hostname 1 hostnamectl 1 how many people live on earth 1 humor 1 immortality 1 innovation 1 interesting websites 1 interface 1 investing 1 investments 1 kuba wojewódzki 1 labor market 1 light 1 login 1 machine learning 1 magic 1 make life harder 1 making money 1 messenger 1 mind programming 1 mindfulness 1 mounting 1 movie 1 mp3 player 1 music 1 music player 1 mysteries 1 net use 1 network resources 1 new player 1 new things 1 onestep4red 1 opensource 1 parenting 1 parents 1 pdf 1 penetration testing 1 performance 1 philosophy 1 plague 1 player 1 plugin 1 poison 1 protection 1 questions 1 radar 1 red 1 reportage 1 robotaxi 1 science 1 scientific facts 1 screen 1 screenshot 1 shell 1 show 1 skydive 1 smart clothing 1 social media 1 society 1 software 1 space 1 sport 1 sports 1 stalking 1 statistics 1 sub-millimeter sensor 1 system acceleration 1 system administration 1 tablet 1 talk show 1 television 1 terminal 1 terrorism 1 the world in numbers 1 threats 1 time travel 1 timelapse 1 tools 1 torrent 1 ubuntu 1 upbringing 1 users 1 weather 1 webmaster 1 windows automation 1 wisdom 1 work 1 world 1 world cup 2026 1 www 1 you are a miracle 1 youtube 1 zeitgeist 1

Blog archive

Table of contents