<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ankush Bhagat</title>
    <description>The latest articles on DEV Community by Ankush Bhagat (@ankushbhagat).</description>
    <link>https://dev.to/ankushbhagat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2220104%2Fb6331946-07f6-49ad-8812-c6b14655418d.jpg</url>
      <title>DEV Community: Ankush Bhagat</title>
      <link>https://dev.to/ankushbhagat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ankushbhagat"/>
    <language>en</language>
    <item>
      <title>Run qBittorrent in Android</title>
      <dc:creator>Ankush Bhagat</dc:creator>
      <pubDate>Wed, 16 Oct 2024 12:31:49 +0000</pubDate>
      <link>https://dev.to/ankushbhagat/run-qbittorrent-in-android-38nn</link>
      <guid>https://dev.to/ankushbhagat/run-qbittorrent-in-android-38nn</guid>
      <description>&lt;p&gt;Have you ever wanted to run qBittorrent on your Android device? With Termux and proot-distro, it's possible! In this guide, I'll show you how to set up qBittorrent-nox (the headless version of qBittorrent) on your Android phone using Debian in Termux. Let’s get started!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What You’ll Need:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1. Termux installed on your Android device (preferably from F-Droid).&lt;/li&gt;
&lt;li&gt;2. An active internet connection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What is Termux?&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://termux.dev/en/" rel="noopener noreferrer"&gt;Termux&lt;/a&gt; is a terminal emulator and Linux environment for Android. With Termux, you can run a full-fledged Linux distribution on your Android device.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is qBittorrent-nox?&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;qBittorrent-nox&lt;/strong&gt; is the headless (no GUI) version of qBittorrent, perfect for running on servers or, in this case, your Android device through a terminal interface. You can still control it via a web UI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-by-Step Guide&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1. Install Termux and Update the Package Manager&lt;/strong&gt;&lt;br&gt;
First, open Termux on your Android device and update the package manager to make sure you have the latest versions of the necessary tools.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pkg update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pkg upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Install proot-distro&lt;/strong&gt;&lt;br&gt;
Now, install proot-distro. This tool allows us to install and run full Linux distributions inside Termux.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pkg &lt;span class="nb"&gt;install &lt;/span&gt;proot-distro
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Install Debian Using proot-distro&lt;/strong&gt;&lt;br&gt;
Next, we’ll install the Debian distribution. Debian is a stable and popular Linux distribution that's perfect for running qBittorrent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;proot-distro &lt;span class="nb"&gt;install &lt;/span&gt;debian
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;4. Log into the Debian Environment&lt;/strong&gt;&lt;br&gt;
Now, log into your newly installed Debian system using the command below. This will drop you into a Debian shell.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;proot-distro login debian
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You are now running Debian inside Termux!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Update Debian's Package Manager&lt;/strong&gt;&lt;br&gt;
Just like we did in Termux, let's update and upgrade the package manager inside Debian to ensure everything is up to date.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;6. Install qBittorrent-nox&lt;/strong&gt;&lt;br&gt;
Finally, it's time to install qBittorrent-nox. Since we're inside Debian, the process is simple. Run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt install -y qbittorrent-nox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;7. Start qBittorrent-nox&lt;/strong&gt;&lt;br&gt;
To start qBittorrent, just use this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;qbittorrent-nox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;9. Access qBittorrent's Web UI Externally&lt;/strong&gt;&lt;br&gt;
At this point, qBittorrent is listening on all network interfaces, so you can access the web UI from your mobile browser or local network. Open your browser and enter:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://localhost:8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;10. Control qBittorrent with qBitController&lt;/strong&gt;&lt;br&gt;
Now that qBittorrent is set up for remote access, you can control it using the qBitController app.&lt;/p&gt;

&lt;p&gt;Download qBitController from the Play Store or from &lt;a href="https://play.google.com/store/apps/details?id=dev.bartuzen.qbitcontroller" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Open the app and configure the server settings:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqcfsim2oa5yx7d801e3k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqcfsim2oa5yx7d801e3k.png" alt="Image description" width="800" height="1109"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Credentials:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Host: localhost
Port: 8080 (or whatever port you configured)
Username: admin
Password: adminadmin (or your custom credentials)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should now be able to control qBittorrent from the app!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;br&gt;
You’ve successfully installed qBittorrent-nox on Android using Termux and Debian with proot-distro, and configured it for remote access with a client app like qBitController. Now, you can manage your torrents on your Android device from a clean mobile interface.&lt;/p&gt;

&lt;p&gt;If you run into any issues or have questions, feel free to leave a comment below. Happy torrenting!&lt;/p&gt;

</description>
      <category>android</category>
      <category>linux</category>
      <category>termux</category>
      <category>torrent</category>
    </item>
  </channel>
</rss>
