Skip to main content

Command Palette

Search for a command to run...

How to Uninstall qBittorrent on Linux

Updated
7 min read

Uninstalling software on Linux can sometimes feel tricky, especially if you're new to the system. If you want to remove qBittorrent from your Linux machine, you might wonder about the safest and cleanest way to do it. Whether you installed it via a package manager or from source, I’ll guide you through the process step-by-step.

In this article, you’ll learn how to uninstall qBittorrent on popular Linux distributions like Ubuntu, Fedora, and Arch Linux. I’ll also cover how to remove leftover configuration files to keep your system tidy. By the end, you’ll feel confident managing your software and freeing up space on your Linux system.

Understanding qBittorrent and Why You Might Uninstall It

qBittorrent is a popular open-source BitTorrent client known for its lightweight design and user-friendly interface. Many Linux users prefer it for downloading and sharing files over peer-to-peer networks. However, there are several reasons you might want to uninstall it:

  • You want to switch to a different torrent client.
  • You no longer use torrent software and want to free up space.
  • You need to troubleshoot issues by reinstalling qBittorrent.
  • You want to clean up your system by removing unused applications.

Knowing why you want to uninstall helps you decide if you want to remove just the application or also its settings and data.

How to Uninstall qBittorrent on Ubuntu and Debian-Based Systems

Ubuntu and Debian are among the most popular Linux distributions, and they use the APT package manager. If you installed qBittorrent using APT, uninstalling it is straightforward.

Step 1: Open the Terminal

You can open the terminal by pressing Ctrl + Alt + T or searching for "Terminal" in your applications menu.

Step 2: Remove qBittorrent Package

To uninstall qBittorrent but keep your configuration files, run:

sudo apt remove qbittorrent

If you want to remove qBittorrent along with its configuration files, use:

sudo apt purge qbittorrent

Step 3: Clean Up Unused Dependencies

After removing the package, some dependencies might no longer be needed. Clean them up with:

sudo apt autoremove

Step 4: Remove User Configuration Files (Optional)

qBittorrent stores user settings in hidden folders in your home directory. To delete these, run:

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

This step ensures no leftover files remain.

Summary for Ubuntu/Debian

CommandPurpose
sudo apt remove qbittorrentRemove app, keep config files
sudo apt purge qbittorrentRemove app and config files
sudo apt autoremoveRemove unused dependencies
rm -rf ~/.config/qBittorrentDelete user config files (optional)
rm -rf ~/.local/share/qBittorrentDelete user data files (optional)

How to Uninstall qBittorrent on Fedora and Red Hat-Based Systems

Fedora and Red Hat use the DNF package manager. The process is similar but uses different commands.

Step 1: Open the Terminal

Access the terminal via your applications menu or by pressing Ctrl + Alt + T.

Step 2: Remove qBittorrent Package

To uninstall qBittorrent but keep configuration files:

sudo dnf remove qbittorrent

Fedora’s DNF does not have a separate purge command like APT, so this command removes the package.

Step 3: Clean Up Dependencies

DNF automatically handles dependencies, but you can run:

sudo dnf autoremove

to remove orphaned packages.

Step 4: Delete User Configuration Files (Optional)

Remove qBittorrent’s config and data folders:

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

Summary for Fedora/Red Hat

CommandPurpose
sudo dnf remove qbittorrentRemove qBittorrent package
sudo dnf autoremoveRemove orphaned dependencies
rm -rf ~/.config/qBittorrentDelete user config files (optional)
rm -rf ~/.local/share/qBittorrentDelete user data files (optional)

How to Uninstall qBittorrent on Arch Linux and Manjaro

Arch Linux and its derivatives like Manjaro use the Pacman package manager. Here’s how to uninstall qBittorrent on these systems.

Step 1: Open the Terminal

Open your terminal emulator from the menu or with Ctrl + Alt + T.

Step 2: Remove qBittorrent Package

To remove qBittorrent but keep configuration files:

sudo pacman -R qbittorrent

To remove qBittorrent along with its dependencies and configuration files:

sudo pacman -Rns qbittorrent

The -Rns flag removes the package, its dependencies that are not required by other packages, and configuration files.

Step 3: Remove User Configuration Files (Optional)

Delete user-specific config and data folders:

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

Summary for Arch Linux/Manjaro

CommandPurpose
sudo pacman -R qbittorrentRemove package, keep configs
sudo pacman -Rns qbittorrentRemove package, dependencies, configs
rm -rf ~/.config/qBittorrentDelete user config files (optional)
rm -rf ~/.local/share/qBittorrentDelete user data files (optional)

How to Uninstall qBittorrent If Installed from Source or Flatpak

Sometimes, qBittorrent is installed from source or via Flatpak. These methods require different uninstall steps.

Uninstalling qBittorrent Installed from Source

If you compiled qBittorrent yourself, you likely used make and make install. To uninstall:

  1. Navigate to the source directory where you compiled qBittorrent.
  2. Run:
sudo make uninstall

This command removes installed files if the Makefile supports it.

If make uninstall is not available, you may need to manually delete files, which can be risky.

Uninstalling qBittorrent Installed via Flatpak

Flatpak is a popular way to install apps sandboxed from the system.

To uninstall qBittorrent installed via Flatpak:

  1. List installed Flatpak apps:
flatpak list
  1. Find the qBittorrent app ID (usually something like org.qbittorrent.qBittorrent).

  2. Uninstall with:

flatpak uninstall org.qbittorrent.qBittorrent

This removes the app and its sandboxed data.

Cleaning Up Leftover Files and Cache

Even after uninstalling qBittorrent, some files might remain. These include:

  • Downloaded torrent files.
  • Incomplete downloads.
  • Cache files.

To clean these up:

  • Check your default download folder for any leftover torrents.
  • Remove cache files located in:
~/.cache/qBittorrent

You can delete this folder with:

rm -rf ~/.cache/qBittorrent

Be careful not to delete any files you want to keep.

Troubleshooting Common Issues When Uninstalling qBittorrent

Sometimes, uninstalling software on Linux can run into issues. Here are common problems and solutions:

  • Package not found: Make sure you typed the package name correctly. Use apt list --installed | grep qbittorrent or equivalent to confirm.
  • Permission denied: Use sudo to run uninstall commands with administrative rights.
  • Leftover config files: Manually delete hidden folders in your home directory.
  • Flatpak app not found: Check the exact app ID with flatpak list.

If you encounter errors, searching the exact message online often helps.

Summary Table of Uninstall Commands by Distribution

DistributionRemove Package CommandRemove with Configs CommandClean User Files Command
Ubuntu/Debiansudo apt remove qbittorrentsudo apt purge qbittorrentrm -rf ~/.config/qBittorrent ~/.local/share/qBittorrent
Fedora/Red Hatsudo dnf remove qbittorrentN/Arm -rf ~/.config/qBittorrent ~/.local/share/qBittorrent
Arch Linux/Manjarosudo pacman -R qbittorrentsudo pacman -Rns qbittorrentrm -rf ~/.config/qBittorrent ~/.local/share/qBittorrent
FlatpakN/AN/Aflatpak uninstall org.qbittorrent.qBittorrent
SourceN/AN/Asudo make uninstall (in source directory)

Conclusion

Uninstalling qBittorrent on Linux is a simple process once you know the right commands for your distribution. Whether you use Ubuntu, Fedora, Arch, or Flatpak, you can remove the application cleanly and even delete leftover configuration files to keep your system tidy.

Remember to back up any important torrent data before uninstalling. If you installed qBittorrent from source, use the make uninstall command or remove files carefully. By following these steps, you’ll free up space and keep your Linux system organized without hassle.


FAQs

How do I remove qBittorrent configuration files after uninstalling?

You can delete configuration files by removing the folders ~/.config/qBittorrent and ~/.local/share/qBittorrent in your home directory using the command rm -rf ~/.config/qBittorrent ~/.local/share/qBittorrent.

Can I uninstall qBittorrent using a graphical package manager?

Yes, most Linux distributions have graphical package managers like Ubuntu Software or GNOME Software where you can search for qBittorrent and uninstall it with a few clicks.

What if I installed qBittorrent via Snap?

If you installed qBittorrent using Snap, uninstall it with:

sudo snap remove qbittorrent

This removes the snap package and its data.

Will uninstalling qBittorrent delete my downloaded files?

No, uninstalling qBittorrent does not delete your downloaded torrent files unless you manually remove them from your download directories.

How can I check if qBittorrent is still installed?

Run qbittorrent in the terminal. If it launches, it’s installed. Alternatively, use your package manager commands like apt list --installed | grep qbittorrent to check.

More from this blog

L

LinuxBloke | Linux Tips, Tricks & Troubleshooting

672 posts