![ubuntu 14.04 中 Tor 浏览器的 torcc 在哪里](https://linux22.com/image/981328/ubuntu%2014.04%20%E4%B8%AD%20Tor%20%E6%B5%8F%E8%A7%88%E5%99%A8%E7%9A%84%20torcc%20%E5%9C%A8%E5%93%AA%E9%87%8C.png)
我已经安装了 Tor
sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser
但我找不到 torcc。我该如何找到它?
答案1
该文件位于/etc/tor/torrc
。
如果您正在寻找该文件。但它在tor
包中。
并且这个包不在ppa中,而是在Ubuntuuniverse
存储库中。
您可以通过以下方式找到此文件的安装位置
dpkg-query -L tor | grep torrc
答案2
总结该软件包tor-browser
不包含torrc
。该文件位于软件包 中tor
。
tor
不会自动安装tor-browser
% apt-cache rdepends tor-browser
tor-browser
Reverse Depends:
tor-browser:i386
tor-browser 软件包不包含 torrc:
% dpkg-query -L tor-browser
/.
/opt
/opt/tor-browser-en
/opt/tor-browser-en/tor-browser-linux64-4.5.1_en-US.tar.xz
/usr
/usr/share
/usr/share/applications
/usr/share/applications/tor-browser-en.desktop
/usr/share/doc
/usr/share/doc/tor-browser
/usr/share/doc/tor-browser/changelog.Debian.gz
/usr/share/doc/tor-browser/copyright
/usr/share/pixmaps
/usr/share/pixmaps/tor-browser-en.png
/usr/bin
/usr/bin/tor-browser-en.sh
你必须安装tor
sudo apt-get install tor
列出包裹内容
% dpkg-query -L tor
/.
/usr
/usr/bin
/usr/bin/torify
/usr/bin/tor-resolve
/usr/bin/tor
/usr/bin/tor-gencert
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/tor
/usr/share/doc
/usr/share/doc/tor
/usr/share/doc/tor/README.privoxy
/usr/share/doc/tor/tor-exit-notice.html
/usr/share/doc/tor/README.polipo
/usr/share/doc/tor/torify.html
/usr/share/doc/tor/tor.html
/usr/share/doc/tor/README.Debian
/usr/share/doc/tor/NEWS.Debian.gz
/usr/share/doc/tor/copyright
/usr/share/doc/tor/changelog.Debian.gz
/usr/share/doc/tor/tor-gencert.html
/usr/share/doc/tor/tor-resolve.html
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/tor-gencert.1.gz
/usr/share/man/man1/torify.1.gz
/usr/share/man/man1/tor-resolve.1.gz
/usr/share/man/man1/tor.1.gz
/usr/share/man/man5
/usr/share/tor
/usr/share/tor/tor-service-defaults-torrc
/usr/sbin
/etc
/etc/logrotate.d
/etc/logrotate.d/tor
/etc/cron.weekly
/etc/cron.weekly/tor
/etc/apparmor.d
/etc/apparmor.d/abstractions
/etc/apparmor.d/abstractions/tor
/etc/apparmor.d/system_tor
/etc/default
/etc/default/tor
/etc/tor
/etc/tor/torrc
/etc/init.d
/etc/init.d/tor
/usr/share/man/man5/torrc.5.gz
/usr/sbin/tor