Darn, I just restarted the relay because tor 0.3.5.7 came out today before seeing this email. I have been playing with the Windows Powershell regarding this and made some interesting discoveries.
So, I found that the Windows Powershell equivalent to linux's "apt-get" is "install-package -Name". And so, I tried running "install-package -name tor" and got this error (see the attached screenshot).
The error is that tor project is not in the list for Windows to install packages from on Windows (it's not finding tor packages as a result), as I discovered at the other attached image.
However, according to my research at https://docs.microsoft.com/en-us/powershell/module/packagemanagement/registe...
Windows Powershell can register sources to install packages from via Register-PackageSource -Name command listed. So Something along the lines of
PS C:> Register-PackageSource -Name "tor" -Location "http://torurl" -ProviderName "TorProject" may have interesting results possibly. What is the tor packages download url so I may try this? Once this is returned to me I will return to the list with my findings.
Cheers.
-----Original Message----- From: tor-relays tor-relays-bounces@lists.torproject.org On Behalf Of teor Sent: Monday, January 28, 2019 10:24 PM To: tor-relays@lists.torproject.org Subject: Re: [tor-relays] Having Trouble With Speed Of OBFS4 Bridge
On January 29, 2019 3:45:55 AM UTC, Keifer Bly keifer.bly@gmail.com wrote:
Thanks. I also wanted to ask, is there a way to upgrade tor using Windows Powershell? The way I am doing that is downloading the tor expert bundle when a new one is released and manually replacing both tor.exe and obfs4.exe with the new versions. I have tor installed as a Windows service via powershell, so is there a way to do this? I am asking because the current tor expert bundle is tor 0.3.4.8 whereas I believe 0.3.5.7 has been released. Thank you.
Hmm, I thought someone answered this question already, but I can't find the answer in the list archives.
0.3.4.8 is still a supported version. You don't need to update.
One simple way to keep Tor up to date on Windows is to use the Chocolatey package manager to install the tor package: https://chocolatey.org/packages/tor
It has Tor 0.3.3.9, which is still a recommended version.
You can script chocolately using the "choco" command.
Otherwise, you can script powershell to download and install packages.
I can't help you with the details, because I don't do a lot of work on Windows. But maybe someone else on the list can.
If you work out how to do it, please write back to the list with the scripts you used.
T
-- teor ---------------------------------------------------------------------- _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays