Cannot locate Tor Browser directory and run tor after installation

When reporting a bug, please include as many of these as possible:

  • Operating System you are using
  • Tor Browser version
  • Tor Browser Security Level
  • Step by step of how you got to the issue, so we can reproduce it (e.g. I opened the browser, typed a url, clicked on (i) icon, then my browser crashed)
  • (optional) A screenshot of the problem
  • The Tor log
    I decided to install Tor Browser. My laptop runs Debian GNU/Linux 11 (bullseye) x86_64. I found and followed the steps to get it from Debian repository by adding the gpg key here - Debian Repository | Tor Project | Support
    These were the steps I completed successfully:
# apt install apt-transport-https

Created the /etc/apt/sources.list.d/tor.list file with the following content:

   deb     [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bullseye main
   deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bullseye main

Next step didn’t work out right away but after I realized I have to prepend the tee command with sudo it worked and I noticed how the /usr/share/keyrings/tor-archive-keyring.gpg appeared:

# wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null

Lastly I had to do this:

# apt update
   # apt install tor deb.torproject.org-keyring

The installation process seemed successful to me but I could not find the Tor Browser directory anywhere on my system. Hence, I could not run the file to start it.
First, I checked the dpkg command to see which files where installed:

~$ dpkg --listfiles tor
/.
/etc
/etc/apparmor.d
/etc/apparmor.d/abstractions
/etc/apparmor.d/abstractions/tor
/etc/apparmor.d/system_tor
/etc/cron.weekly
/etc/cron.weekly/tor
/etc/default
/etc/default/tor
/etc/init.d
/etc/init.d/tor
/etc/logrotate.d
/etc/logrotate.d/tor
/etc/runit
/etc/runit/runsvdir
/etc/runit/runsvdir/default
/etc/sv
/etc/sv/tor
/etc/sv/tor/.meta
/etc/sv/tor/.meta/installed
/etc/sv/tor/log
/etc/sv/tor/log/run
/etc/sv/tor/run
/etc/tor
/etc/tor/torrc
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/tor.service
/lib/systemd/system/tor@.service
/lib/systemd/system/tor@default.service
/lib/systemd/system-generators
/lib/systemd/system-generators/tor-generator
/usr
/usr/bin
/usr/bin/tor
/usr/bin/tor-gencert
/usr/bin/tor-print-ed-signing-cert
/usr/bin/tor-resolve
/usr/bin/torify
/usr/sbin
/usr/sbin/tor-instance-create
/usr/share
/usr/share/doc
/usr/share/doc/tor
/usr/share/doc/tor/NEWS.Debian.gz
/usr/share/doc/tor/README.Debian
/usr/share/doc/tor/changelog.Debian.gz
/usr/share/doc/tor/changelog.gz
/usr/share/doc/tor/copyright
/usr/share/doc/tor/tor-exit-notice.html
/usr/share/doc/tor/tor-gencert.html
/usr/share/doc/tor/tor-print-ed-signing-cert.html
/usr/share/doc/tor/tor-resolve.html
/usr/share/doc/tor/tor.html
/usr/share/doc/tor/torify.html
/usr/share/doc/tor/torrc.sample.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/tor
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/tor-gencert.1.gz
/usr/share/man/man1/tor-print-ed-signing-cert.1.gz
/usr/share/man/man1/tor-resolve.1.gz
/usr/share/man/man1/tor.1.gz
/usr/share/man/man1/torify.1.gz
/usr/share/man/man5
/usr/share/man/man8
/usr/share/man/man8/tor-instance-create.8.gz
/usr/share/runit
/usr/share/runit/meta
/usr/share/runit/meta/tor
/usr/share/runit/meta/tor/installed
/usr/share/tor
/usr/share/tor/tor-service-defaults-torrc
/usr/share/tor/tor-service-defaults-torrc-instances
/var
/var/log
/var/log/runit
/var/log/runit/tor
/etc/sv/tor/log/supervise
/etc/sv/tor/supervise
/usr/sbin/tor
/usr/share/man/man5/torrc.5.gz

Another dpkg query:

Package: tor
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 5791
Maintainer: Peter Palfrader <weasel@debian.org>
Architecture: amd64
Version: 0.4.8.11-1~d11.bullseye+1
Depends: libc6 (>= 2.29), libcap2 (>= 1:2.10), libevent-2.1-7 (>= 2.1.8-stable), liblzma5 (>= 5.1.1alpha+20120614), libseccomp2 (>= 0.0.0~20120605), libssl1.1 (>= 1.1.1), libsystemd0, libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4), adduser, runit-helper (>= 2.10.0~), lsb-base
Recommends: logrotate, tor-geoipdb, torsocks
Suggests: mixmaster, torbrowser-launcher, socat, apparmor-utils, nyx, obfs4proxy
Breaks: runit (<< 2.1.2-36~)
Conflicts: libssl0.9.8 (<< 0.9.8g-9)
Conffiles:
 /etc/apparmor.d/abstractions/tor bd44d363fecd2c77cfb26f845b51eb67
 /etc/apparmor.d/system_tor 2920c5c9e0dac3172176b998e4894767
 /etc/cron.weekly/tor 78214da84411cbfef01ed0c037514288
 /etc/default/tor 4eed467922fcd0eb49f8c2fa938d53c0
 /etc/init.d/tor 6cc688c9411c61015c3e4f91e61bc408
 /etc/logrotate.d/tor 48d59700002533a13c8799f525131f66
 /etc/sv/tor/.meta/installed d41d8cd98f00b204e9800998ecf8427e
 /etc/sv/tor/log/run 2cc2421f383e3c33b38c633f0f347afd
 /etc/sv/tor/run 932ab4780e10b49178d255fd902bbf46
 /etc/tor/torrc cea1d9bfe6449819df2151a69475603d
Description: anonymizing overlay network for TCP
 Tor is a connection-based low-latency anonymo.........................

Here is my sources.list file:

~$ cat /etc/apt/sources.list
# deb cdrom:[Official Debian GNU/Linux Live 11.6.0 gnome 2022-12-17T11:47]/ bullseye main

#deb cdrom:[Official Debian GNU/Linux Live 11.6.0 gnome 2022-12-17T11:47]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

I do not know how to start Tor browser. Please help me.

1 Like

The instructions you followed are made to install tor, not Tor Browser.
The recommended way to install Tor Browser is to download it from TorProject website.
For more precise instructions, you can follow the Tor Browser manual for downloading and installing Tor Browser

1 Like

Oh. Thank you for opening my eyes :slightly_smiling_face:
Everything works.

1 Like