LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-03-2017, 09:11 PM   #16
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Quote:
Originally Posted by paxolin View Post
Yes, I did the upgrade and have restarted my machine.
I have a couple of other issues (not related, and nothing to do with the upgrade). I'll start new posts for those. As Arnie would say: I'll be back...
Thanks again for your help.
Edit: Just remembered: Do I need to do anything else about the repository for Tor?
Ok. I need to get some kip anyway. Yes, we still need to get that up-to-date Tor Browser installed, the upgrade was just getting your system cleaner before we do that. I worked through it earlier on and have put together some instructions. Let me know when you're ready.
 
Old 07-04-2017, 09:54 AM   #17
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok. I need to get some kip anyway. Yes, we still need to get that up-to-date Tor Browser installed, the upgrade was just getting your system cleaner before we do that. I worked through it earlier on and have put together some instructions. Let me know when you're ready.
Did you get any kip? I could probably let you have some. The Kip is the currency of Laos - there's about 10,000 Kip to the UK pound.
Anyway, on with the show. The Tor browser repository?
My Tor installation seems to have disappeared from the menu now, I don't know if it was the cleanup that caused that?
 
Old 07-04-2017, 10:06 AM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by paxolin View Post
Did you get any kip? I could probably let you have some. The Kip is the currency of Laos - there's about 10,000 Kip to the UK pound.
Anyway, on with the show. The Tor browser repository?
My Tor installation seems to have disappeared from the menu now, I don't know if it was the cleanup that caused that?
I did indeed, thanks, although I only had a 1/10000 of a pound of them.

Yes, it was the purge that removed Tor, and thus the menu entry.

Let's do this in stages. If you come across any problems, stop and report back.

The following assumes you're running Mint Cinnamon. All command line unless otherwise stated. Taken largely from the link I posted above.

The first thing you need to do is add the Tor repository to your software source.

Create the new file containing the software source (I've chosen a reasonable filename):

Code:
gksudo xed /etc/apt/sources.list.d/tor-xenial.list
Add the following lines to the file when it opens up in the editor:

Code:
deb http://deb.torproject.org/torproject.org xenial main
deb-src http://deb.torproject.org/torproject.org xenial main
Save and the file and quit the editor.

Add the signing key (2 separate commands):

Code:
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
 
Old 07-05-2017, 12:36 AM   #19
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I did indeed, thanks, although I only had a 1/10000 of a pound of them.

Yes, it was the purge that removed Tor, and thus the menu entry.

Let's do this in stages. If you come across any problems, stop and report back.

The following assumes you're running Mint Cinnamon. All command line unless otherwise stated. Taken largely from the link I posted above.

The first thing you need to do is add the Tor repository to your software source.

Create the new file containing the software source (I've chosen a reasonable filename):

Code:
gksudo xed /etc/apt/sources.list.d/tor-xenial.list
Add the following lines to the file when it opens up in the editor:

Code:
deb http://deb.torproject.org/torproject.org xenial main
deb-src http://deb.torproject.org/torproject.org xenial main
Save and the file and quit the editor.

Add the signing key (2 separate commands):

Code:
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
Have I done this correctly? This is the result, but I don't see tor in my menu:
Code:
~ $ gksudo xed /etc/apt/sources.list.d/tor-xenial.list
watt@PCMint ~ $ gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg: keyring `/home/watt/.gnupg/secring.gpg' created
gpg: keyring `/home/watt/.gnupg/pubring.gpg' created
gpg: requesting key 886DDD89 from hkp server keys.gnupg.net
gpg: key 886DDD89: public key "deb.torproject.org archive signing key" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
watt@PCMint ~ $ gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
[sudo] password for watt: 
OK
Perhaps I'm short on kip?
 
Old 07-05-2017, 05:34 AM   #20
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
That was only the first stage.


Create a home for the Tor Browser:

Code:
cd ~

mkdir tor

cd tor
Download the Tor Browser (this is the current version as of writing this post; the current version can be obtained at https://www.torproject.org/projects/....html.en#linux):

Code:
wget https://www.torproject.org/dist/torbrowser/7.0.2/tor-browser-linux64-7.0.2_en-US.tar.xz
Unpack Tor Browser (the same filename as above) and enter directory:

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

cd tor-browser_en-US
Create a launcher for Tor Browser on your desktop:

Code:
cp start-tor-browser.desktop ~/Desktop

Last edited by hydrurga; 07-06-2017 at 12:00 AM. Reason: Faulty URL
 
Old 07-05-2017, 11:50 PM   #21
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Tried to follow the instructions (as per post #20), but...I ignored the line with the link telling me to d/l the Tor browser, as I thought the following line of code seemed to be telling terminal to do that anyway?
I wasn’t sure why there seemed to be two instructions for the same thing?

I pasted all the code into terminal and ran that. At the end I still didn’t have a Tot browser – not that I could see.

I pasted the terminal results in a new post, but during that my screen locked and I was unable to unlock it. I ended up having to remove the power, as everything had locked up. So my post never made it, and the terminal results have been lost in space – probably somewhere near the planet Zanussi.

Since then I did have a look at the Tor browser downloads, and clicked on Linux 7.0.2 64 bit
After it d/l, I had a window pop up offering to extract it. When I clicked Extract, I I was asked where to extract it to - I’m guessing the Tor folder? I haven’t done that yet, as I’d like confirmation on that point.

Last edited by paxolin; 07-05-2017 at 11:52 PM.
 
Old 07-05-2017, 11:59 PM   #22
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by paxolin View Post
Tried to follow the instructions (as per post #20), but...I ignored the line with the link telling me to d/l the Tor browser, as I thought the following line of code seemed to be telling terminal to do that anyway?
I wasn’t sure why there seemed to be two instructions for the same thing?

I pasted all the code into terminal and ran that. At the end I still didn’t have a Tot browser – not that I could see.

I pasted the terminal results in a new post, but during that my screen locked and I was unable to unlock it. I ended up having to remove the power, as everything had locked up. So my post never made it, and the terminal results have been lost in space – probably somewhere near the planet Zanussi.

Since then I did have a look at the Tor browser downloads, and clicked on Linux 7.0.2 64 bit
After it d/l, I had a window pop up offering to extract it. When I clicked Extract, I I was asked where to extract it to - I’m guessing the Tor folder? I haven’t done that yet, as I’d like confirmation on that point.
The colon after the "Download the Tor Browser..." line indicated that the next instruction showed you how you were to download it.

Please cd to ~/tor so that you're back on track with the instructions, and then use the wget command as stated in post #20. Don't do anything else after that has completed - just report back.
 
Old 07-06-2017, 12:27 AM   #23
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
The colon after the "Download the Tor Browser..." line indicated that the next instruction showed you how you were to download it.

Please cd to ~/tor so that you're back on track with the instructions, and then use the wget command as stated in post #20. Don't do anything else after that has completed - just report back.
I did a "dir" after I changed to the tor directory, make sure it was empty. I seem to have the d/l in there already though?
Code:
watt@PCMint ~ $ cd tor
watt@PCMint ~/tor $ dir
tor-browser-linux64-7.0.2_en-US.tar.xz
Do you want me to leave it, or something else?

Last edited by paxolin; 07-06-2017 at 12:39 AM.
 
Old 07-06-2017, 12:41 AM   #24
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
That's great, thanks. Now carry out the rest of the instructions in post #20.
 
Old 07-06-2017, 01:29 AM   #25
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
That's great, thanks. Now carry out the rest of the instructions in post #20.
I now have a Tor Browser Setup on my desktop, but I haven't clicked it yet.
 
Old 07-06-2017, 01:42 AM   #26
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Great. Double click it.
 
Old 07-06-2017, 01:53 AM   #27
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Great. Double click it.
I can double click it, but it does nothing at all.
See the image below, plus the text in the "Command" box:

sh -c '"$(dirname "$*")"/Browser/start-tor-browser --detach || ([ ! -x "$(dirname "$*")"/Browser/start-tor-browser ] && "$(dirname "$*")"/start-tor-browser --detach)' dummy %k

If that's any help?
Attached Thumbnails
Click image for larger version

Name:	TorShortcut.png
Views:	31
Size:	56.4 KB
ID:	25386  
 
Old 07-06-2017, 02:08 AM   #28
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Oh darn it. This is one of the problems of not doing everything in one go, of spacing it out over several days. I missed a section from my notes.

Please carry out the following two commands (which should have come after the signing key was installed, but we can do it now):

Code:
sudo apt-get update

sudo apt-get install tor deb.torproject.org-keyring
 
Old 07-06-2017, 02:19 AM   #29
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Oh darn it. This is one of the problems of not doing everything in one go, of spacing it out over several days. I missed a section from my notes.

Please carry out the following two commands (which should have come after the signing key was installed, but we can do it now):

Code:
sudo apt-get update

sudo apt-get install tor deb.torproject.org-keyring
Done that. I see there were some comments at the bottom of the terminal text about bits having disappeared, if it's relevant?
Code:
watt@PCMint ~ $ sudo apt-get update
[sudo] password for watt: 
Ign:1 http://mirror1.ku.ac.th/linuxmint-packages serena InRelease
Hit:2 http://mirror1.ku.ac.th/linuxmint-packages serena Release                
Hit:3 http://mirror.kku.ac.th/ubuntu xenial InRelease                          
Hit:4 http://mirror.kku.ac.th/ubuntu xenial-updates InRelease                  
Hit:5 http://mirror.kku.ac.th/ubuntu xenial-backports InRelease                
Get:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Hit:9 http://deb.torproject.org/torproject.org xenial InRelease                
Hit:10 http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial InRelease 
Hit:11 http://archive.canonical.com/ubuntu xenial InRelease                    
Hit:12 http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial InRelease        
Hit:7 http://screenshots.getdeb.net xenial-getdeb InRelease                    
Hit:13 https://deb.opera.com/opera-stable stable InRelease    
Fetched 102 kB in 1s (62.9 kB/s)
Reading package lists... Done
watt@PCMint ~ $ sudo apt-get install tor deb.torproject.org-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  mixmaster torbrowser-launcher socat tor-arm apparmor-utils obfsproxy
  obfs4proxy
Recommended packages:
  tor-geoipdb torsocks
The following NEW packages will be installed
  deb.torproject.org-keyring tor
0 to upgrade, 2 to newly install, 0 to remove and 1 not to upgrade.
Need to get 1,190 kB of archives.
After this operation, 4,100 kB of additional disk space will be used.
Get:1 http://deb.torproject.org/torproject.org xenial/main amd64 deb.torproject.org-keyring all 2016.08.22 [5,220 B]
Get:2 http://deb.torproject.org/torproject.org xenial/main amd64 tor amd64 0.3.0.9-1~xenial+1 [1,185 kB]
Fetched 1,190 kB in 2s (481 kB/s)
Selecting previously unselected package deb.torproject.org-keyring.
(Reading database ... 238890 files and directories currently installed.)
Preparing to unpack .../deb.torproject.org-keyring_2016.08.22_all.deb ...
gpg: keyring `/tmp/tmp.hEa1hc8dY1/secring.gpg' created
Unpacking deb.torproject.org-keyring (2016.08.22) ...
Selecting previously unselected package tor.
Preparing to unpack .../tor_0.3.0.9-1~xenial+1_amd64.deb ...
Unpacking tor (0.3.0.9-1~xenial+1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up deb.torproject.org-keyring (2016.08.22) ...
Setting up tor (0.3.0.9-1~xenial+1) ...
Something or somebody made /var/lib/tor disappear.
Creating one for you again.
Something or somebody made /var/log/tor disappear.
Creating one for you again.
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Still not tried to run it again yet.
 
Old 07-06-2017, 02:22 AM   #30
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Good, because it wouldn't run.

Now change the command in the desktop shortcut so it reads (replace "paxolin" with your username for all three occurrences):

Code:
sh -c '/home/paxolin/tor/tor-browser_en-US/Browser/start-tor-browser --detach || ([ ! -x /home/paxolin/tor/tor-browser_en-US/Browser/start-tor-browser ] && /home/paxolin/tor/tor-browser_en-US/start-tor-browser --detach)' dummy %k
Once that has been done and the shortcut has been closed again, try double clicking on it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tor downloaded in centOS 7 but is failing to start and giving an error mesage that is "Failed to parse/validate config: Failed to bind one " th3g3ntl3man Linux - Newbie 1 01-20-2017 10:44 AM
LXer: Tails 2.6 Anonymous Linux Live CD Is Out, Brings Tor 0.2.8.7 and Tor Browser 6.0.5 LXer Syndicated Linux News 0 09-21-2016 01:32 AM
LXer: Tor Browser 4.5.2 Is Out with the Latest Tor Anonymity Network Software LXer Syndicated Linux News 0 06-17-2015 02:40 PM
LXer: Tor Browser Bundle-Tor Goes Portable LXer Syndicated Linux News 1 09-02-2011 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration