How to upgrade qBittorrent to the latest stable (upstream) version?

I currently have the 2.9.7 version of qBittorrent.

I want to upgrade to the latest version, 3.0.8.

sudo apt-get upgrade qbittorrent returns that the program is up-to-date:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And install after removal do nothing but reinstall version 2.9.7!

What am I missing?


The version of qBittorrent in Ubuntu is always quite old (since it's updated regularly and most feature and minor bugfix updates don't make it into the official Ubuntu version).

But there is an easy solution!

qBittorrent's maintainer (sledgehammer999) maintains a PPA providing stable qBittorrent builds. I recommend using that.

To enable this PPA and install qBittorrent from it (or upgrade the version you currently have to the version it provides), open a Terminal window (Ctrl+Alt+T) and run:

sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
sudo apt-get update
sudo apt-get install qbittorrent

(Or you can run sudo apt-get upgrade in place of the third line--if some version of qBittorrent is already installed from Ubuntu packages, both ways work.)

I use qBittorrent from that PPA--it works great.

Source: qBittorrent Downloads page (Other Binary Packages section)

For more information on PPAs, see:

  • PPA (Ubuntu community documentation)
  • What are PPAs and how do I use them?
  • Are PPA's safe to add to my system and what are some "red flags" to watch out for?