Last update: March 17, 2019. This website uses cookies. By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. More information


Tor Versioning

Newer Tor Versions from the Whonix Repository[edit]

Newer Tor versions can be installed by enabling the Whonix stable-proposed-updates repository in Whonix-Gateway (whonix-gw-14) and then upgrading the system as usual. This is only recommended for testers.

Even Newer Tor Versions from The Tor Project Repository[edit]

Note: This action risks breaking connectivity, for instance if the latest Tor version from has not been fully tested by Whonix developers at a specific point in time. [1]

To proceed despite the risk, install the even newer Tor version by enabling the repository. The anon-shared-build-apt-sources-tpo package must be installed. This enables The Tor Project's apt-get signing key and installs the apt source torproject.list. [2]

In Whonix-Gateway (whonix-gw-14), update the package lists.

sudo apt-get update

Install anon-shared-build-apt-sources-tpo.

sudo apt-get install anon-shared-build-apt-sources-tpo

Refresh the package lists. [3]

sudo apt-get update

Install the (potentially) newer version of the tor package, as well as the package which keeps the Tor Project repository apt key up-to-date. [4]

sudo apt-get install tor


  1. This has happened in the past. For example, on one occasion Tor from came with AppArmor changes that were incompatible with anon-gw-anonymizer-config's /etc/apparmor.d/local/system_tor.anondist which resulted in Tor's systemd unit failing.
  2. Alternatively you can use The Tor Project's native instructions for Debian, but these manual steps are more difficult and involved. The verification of The Tor Project apt-get signing key is also harder. Since you already trust Whonix, the logical choice is to trust another Whonix package to install the right signing key.
  3. So the newly installed /etc/apt/sources.list.d/torproject.list takes effect.
  4. A later version of Tor will not always be installed. For example, at the time of writing the stretch repositories for both and have identical Tor versions. As the Debian stable release ages, the likelihood of receiving a newer Tor version from increases.

No user support in comments. See Support.

Comments will be deleted after some time. Specifically after comments have been addressed in form of wiki enhancements. See Wiki Comments Policy.

Add your comment
Whonix welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Random News:

Check out the Whonix blog.

https | (forcing) onion

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix is a trademark. Whonix is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix itself. (Why?)

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix is provided by ENCRYPTED SUPPORT LP. See Imprint.