rpiswag
Posts: 804
Joined: Mon May 19, 2014 10:04 pm

Running a TOR Relay on a Raspberry Pi.

Fri Jul 24, 2015 8:45 pm

How do I download the latest stable version of TOR. I am not talking about the latest version of the Raspbian repo. I am talking about the latest stable version on the tor website.
A computer's power can't be just measured Gigahertz. It is the same thing with us humans.

Heater
Posts: 14454
Joined: Tue Jul 17, 2012 3:02 pm

Re: Running a TOR Relay on a Raspberry Pi.

Fri Jul 24, 2015 8:49 pm

Memory in C++ is a leaky abstraction .

rpiswag
Posts: 804
Joined: Mon May 19, 2014 10:04 pm

Re: Running a TOR Relay on a Raspberry Pi.

Fri Jul 24, 2015 9:34 pm

I think that is the instructions for the unstable version of tor.
A computer's power can't be just measured Gigahertz. It is the same thing with us humans.

Heater
Posts: 14454
Joined: Tue Jul 17, 2012 3:02 pm

Re: Running a TOR Relay on a Raspberry Pi.

Fri Jul 24, 2015 10:28 pm

If you clone the git repository you have all stable and unstable versions. Like so:

Code: Select all

$ git clone https://git.torproject.org/tor.git
Cloning into 'tor'...
remote: Counting objects: 150749, done.
remote: Compressing objects: 100% (31813/31813), done.
remote: Total 150749 (delta 120113), reused 148946 (delta 118591)
Receiving objects: 100% (150749/150749), 33.78 MiB | 1.06 MiB/s, done.
Resolving deltas: 100% (120113/120113), done.
Checking connectivity... done.
$ cd tor/
$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/maint-0.1.2
  remotes/origin/maint-0.2.0
  remotes/origin/maint-0.2.1
  remotes/origin/maint-0.2.2
  remotes/origin/maint-0.2.3
  remotes/origin/maint-0.2.4
  remotes/origin/maint-0.2.5
  remotes/origin/maint-0.2.6
  remotes/origin/master
  remotes/origin/release-0.2.1
  remotes/origin/release-0.2.2
  remotes/origin/release-0.2.3
  remotes/origin/release-0.2.4
  remotes/origin/release-0.2.5
  remotes/origin/release-0.2.6
$ git branch
* master
$ git checkout remotes/origin/maint-0.2.6
Note: checking out 'remotes/origin/maint-0.2.6'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 9d1801b... Bump maint-0.2.6 to 0.2.6.10-dev
$ git branch
* (detached from origin/maint-0.2.6)
  master
$
So build whichever version you want.
Memory in C++ is a leaky abstraction .

rpiswag
Posts: 804
Joined: Mon May 19, 2014 10:04 pm

Re: Running a TOR Relay on a Raspberry Pi.

Fri Jul 24, 2015 10:57 pm

Will typing these commands run the sable or unstable version of tor?

Code: Select all

git clone https://git.torproject.org/tor.git
cd tor
./autogen.sh
./configure --disable-asciidoc
make
make install
A computer's power can't be just measured Gigahertz. It is the same thing with us humans.

Heater
Posts: 14454
Joined: Tue Jul 17, 2012 3:02 pm

Re: Running a TOR Relay on a Raspberry Pi.

Fri Jul 24, 2015 11:35 pm

generally git clone https://whatever project will get you the latest version of the main line of the projects development. Depending on how they run things that may or may not be any kind of stable version.

If you notice in my last post I showed the command "git branch -a" which gets you a list of all the tagged versions. That we hope are released versions that are known to work. Again depends on how the project is run.

Then you see that I do "git checkout remotes/origin/maint-0.2.6" which gets me all the sources of that particular version into the current directory.

That "git branch" command I put at the end just confirms I have the checked out branch. It's marked with an "*".

Now I might do the auto.., configure..make..stuff.

Which may or may not work depending on the build instructions that pertain to the project at that time. Hopefully there is a README and/or an INSTALL file in the checked out version that explains what to do.

If none of that works it's time to contact the tor maintainers. Presumably they have a mailing list or forum or whatever.
Memory in C++ is a leaky abstraction .

rpiswag
Posts: 804
Joined: Mon May 19, 2014 10:04 pm

Re: Running a TOR Relay on a Raspberry Pi.

Sat Jul 25, 2015 12:00 am

I found a page on the tor project site that has different ways to download tor and one of them is to get the source code for tor. Here is the link https://www.torproject.org/download/download
A computer's power can't be just measured Gigahertz. It is the same thing with us humans.

User avatar
default_user8
Posts: 678
Joined: Mon Nov 18, 2013 3:11 am

Re: Running a TOR Relay on a Raspberry Pi.

Sat Jul 25, 2015 5:10 pm

Two heads are better than one, unless one's a goat head.

Return to “General discussion”