开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Windows install Wiki updated for a simpler option.


 

Thanks John

As i happen to have a recently reformatted PC with Windows 10, I took the chance to install the new d-Rats from scratch so I am here to share my experience

From the procedure indicated here:



I followed the various steps of "option 1":
- install of a fresh msys2 from:
Download and executed the installer: msys2-x86_64-20230127.exe

Download of the script with
wget


Opened shell and executed
./msys2_packages.sh

Which after a bit of time doing its stuff brought to the closure of the terminal

So I reopened the terminal from Win10 menu: "MSYS2 MSYS" And relaunched:
./msys2_packages.sh

This time it completed letting the terminal open and no apparent errors and

Then I proceed with:
pacman -Syu --noconfirm git
git clone
cd D-Rats
./d-rats.py


At this point I got a stop with:
/usr/bin/env: ‘python3’: No such file or directory


after some trial and errors (and reading the instructions at your link to the end) I understood this is because D-Rats needs to be launched not by the " MSYS2 MSYS" which I had opened before, but by "MSYS2 Mingw 64-bit" (you have to look for it in the Win10 menu as in my case wasn’t appearing in the proposed list)

This time I was able to launch D-Rats:
- cd D-Rats
- ./d-rats.py

And then I did the usual config ...

It took to me about 30 min, mostly for downloads, so I hope this helps having more testers on the new py3 version!

Have a nice weekend
maurizio

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of John E. Malmberg
Sent: 24 February 2023 14:57
To: [email protected]
Subject: [d-rats] Windows install Wiki updated for a simpler option.

Hello all,

I have updated

to provide an option that does not require setting up a Python Virtual Environment.

This option also allows you to set up a shortcut to launch D-Rats.

It also turns out that while D-Rats running on a Linux under the Windows Subsystem for Linux (WSL), it is reported to not have access to the USB serial ports, it will only operate with network devices.

There is an experimental add on to the WSL-2 that allows it to access serial ports. I have not tried any of this, and do not plan to.

If someone wants to experiment with that and provide a wiki article of the results good or bad, it would be appreciated.

Another option to MSYS2 is Cygwin. It should be able to provide the same environment as MSYS2.

Again, if someone wants to experiment with that and give instructions, it would be appreciated.

73,
-John
wb8tyw

Join [email protected] to automatically receive all group messages.