Skip to main content

[How-To] Uninstall qBittorrent from Ubuntu 24 VM

Purpose

This article aims to uninstall qBittorrent and everything related to it on a Ubuntu 24 VM. 

Prerequisites

List of prerequisites:

  • Sudo user
  • Ubuntu 24 LXC or VM

Instructions

Step 1: Remove qBittorrent Packages

This command removes the application and any related packages:

sudo apt purge --autoremove qbittorrent -y

Step 2: Remove Configuration Files (User-Specific)

qBittorrent stores config and data in your home directory. Run:

rm -rf ~/.config/qBittorrent ~/.local/share/qBittorrent ~/.cache/qBittorrent

Step 3: Check for System-Wide Config or Logs

If qBittorrent was run as a systemd service or had system-wide settings, you might want to check:

sudo rm -rf /etc/qbittorrent /var/lib/qbittorrent /var/log/qbittorrent

These directories may not exist - That's ok.

Step 4: Optional: Clean up APT Cache

To free up some extra space:

sudo apt clean

Step 5: Verify qBittorrent is Removed

Check if any qBittorrent files or services are still lingering:

which qbittorrent

You can also run this to make sure no process is running:

ps aux | grep -i qbittorrent

If this returns nothing, you have fully uninstalled qBittorrent.