Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Tor Browser...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zaidgs
n00b
n00b


Joined: 08 Sep 2015
Posts: 16

PostPosted: Wed Sep 09, 2015 4:21 pm    Post subject: Installing Tor Browser... Reply with quote

What is the best method to install Tor Browser on Gentoo??

I have tried using

layman --fetch --add torbrowser

Which adds (an outdated?) Tor Browser layout, but it seems that the packages are broken.

I am actually very surprised that Tor Browser is not a default package in the main Gentoo tree, as it is quite an important and popular web browser.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2056
Location: United Kingdom

PostPosted: Thu Sep 10, 2015 2:42 pm    Post subject: Reply with quote

I just download the tarball from the Tor Web site and follow the instructions:

https://www.torproject.org/projects/torbrowser.html.en#downloads

Code:
$ tar -xvJf tor-browser-linux64-5.0.2_en-US.tar.xz

To launch the browser:

Code:
$ cd tor-browser_en-US
$ ./start-tor-browser.desktop

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2307
Location: Adendorf, Germany

PostPosted: Fri Sep 11, 2015 11:54 am    Post subject: Reply with quote

A bug report or any message to the maintainer might be helpful.

However, the package in the overlay is neither outdated, nor broken. According to the torbrowser overlay site, they have an ebuild for the most recent version, so I tried it out:
Code:
 # layman -a torbrowser

 * Adding overlay...
 * Overlay "torbrowser" is not an official. Continue install? [y/n]: y
(...)
 * Successfully added overlay(s) torbrowser.

 # eix-update
(...)
 # eix -e torbrowser
* www-client/torbrowser [1]
     Available versions:  (~)38.2.1_p502 {egl hardened test}
     Homepage:            https://www.torproject.org/projects/torbrowser.html https://gitweb.torproject.org/tor-browser.git
     Description:         The Tor Browser

[1] "torbrowser" /var/lib/layman/torbrowser
Looks good so far.

But the version numbering is a bit confusing.
"38.2.1" is the Mozilla Firefox Version used
"_p502" is TOR Version 5.0.2, which is the most recent
Code:
 # emerge --ask torbrowser

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[ebuild  N    ~] www-client/torbrowser-38.2.1_p502::torbrowser  USE="-custom-cflags -custom-optimization dbus -debug -egl gstreamer -gstreamer-0 -hardened jemalloc3 jit -pulseaudio (-selinux) startup-notification -system-cairo -system-icu -system-jpeg -system-libvpx -system-sqlite {-test} -wifi" 49.166 KiB

Total: 1 package (1 new), Size of downloads: 49.166 KiB

Would you like to merge these packages? [Yes/No] no

Quitting.
This looks like the tor browser mirrors the mozilla firefox USE flags? Better make them match, I guess:
Code:
 # grep firefox /etc/portage/package.use/gentoo.use | sed -e 's,firefox,torbrowser,' >> /etc/portage/package.use/gentoo.use
The Version of the installed firefox matches, too:
Code:
 # eix -c -e firefox
[I] www-client/firefox (38.2.1@08.09.2015): Firefox Web Browser
This means all the dependencies installed match the TOR dependencies.

If you wonder, I masked Firefox-40 because it sporadically segfaults. (AFAIK this is a known bug)

Now to TOR:
Code:
 # emerge --ask torbrowser

These are the packages that would be merged, in order:

Calculating dependencies  .... done!
[ebuild  N    ~] www-client/torbrowser-38.2.1_p502::torbrowser  USE="-custom-cflags -custom-optimization dbus -debug -egl -gstreamer gstreamer-0 -hardened jemalloc3 jit -pulseaudio (-selinux) startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite {-test} wifi" 49.166 KiB

Total: 1 package (1 new), Size of downloads: 49.166 KiB

Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Running pre-merge checks for www-client/torbrowser-38.2.1_p502
 * Checking for at least 4 GiB disk space at "/home/portage/www-client/torbrowser-38.2.1_p502/temp" ...                                                     [ ok ]
>>> Emerging (1 of 1) www-client/torbrowser-38.2.1_p502::torbrowser
>>> Installing (1 of 1) www-client/torbrowser-38.2.1_p502::torbrowser
>>> Recording www-client/torbrowser in "world" favorites file...
>>> Jobs: 1 of 1 complete                           Load avg: 7.31, 7.18, 5.18

 * Messages for package www-client/torbrowser-38.2.1_p502:

 * This patched firefox build is _NOT_ recommended by Tor upstream but uses
 * the exact same sources. Use this only if you know what you are doing!
 * Torbrowser uses port 9150 to connect to Tor. You can change the port
 * in the connection settings to match your setup.
 *
 * To get the advanced functionality of Torbutton (network information,
 * new identity), Torbrowser needs to access a control port.
 * See 99torbrowser.example in /usr/share/doc/torbrowser-38.2.1_p502 and check "man tor"
 * for further information.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Merges alright, starts up alright.
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 92

PostPosted: Sat Sep 12, 2015 9:25 am    Post subject: Re: Installing Tor Browser... Reply with quote

zaidgs wrote:
Which adds (an outdated?) Tor Browser layout, but it seems that the packages are broken.


I'm the maintainer of the torbrowser overlay. Could you explain what is outdated and/or broken?

You can install either www-client/torbrowser-launcher or www-client/torbrowser from the overlay.
Have a look at https://github.com/MeisterP/torbrowser-overlay/blob/master/Readme.md to understand the difference between the two packages.
Back to top
View user's profile Send private message
mschraff
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2008
Posts: 105

PostPosted: Sun Nov 03, 2019 10:03 pm    Post subject: Reply with quote

Please excuse me for excavating such an old thread, but I´m just about installing the torbrowser from the overlay and portage tells me that this package alone has 557.389 KiB So with all its dependencies I need to download and install 870.341 KiB. Isn´t that far too much for a browser especially when the older torbrowser version (see below) just seemed to have about 49.116 KiB?
_________________
DELL Latitude 5550 intel Core i5-5300 CPU @ 2.30GHz
gentoo genkernel-5.4.38 gcc 9.3.0 portage 2.3.89-r3
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3950

PostPosted: Mon Nov 04, 2019 9:27 am    Post subject: Reply with quote

Use the "normal" portable version from tor website.
https://www.torproject.org/dist/torbrowser/9.0/tor-browser-linux64-9.0_en-US.tar.xz
Back to top
View user's profile Send private message
mschraff
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2008
Posts: 105

PostPosted: Wed Nov 06, 2019 8:14 pm    Post subject: Reply with quote

Tank you! That worked for me. Downloaded and unzipped the package and it worked "out of the box".

Best
_________________
DELL Latitude 5550 intel Core i5-5300 CPU @ 2.30GHz
gentoo genkernel-5.4.38 gcc 9.3.0 portage 2.3.89-r3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum