Install of MINGW fails when installing from MSYS2

26 Views Asked by At

I have MSYS2 installed on a Windows 11 machine, and in the terminal window for MSYS2 I use pacman to try to install MinGW but I get an immediate fail:

enter image description here

Anyone who has experienced the same thing, or could point me in the right direction? Any help is appreciated.

2

There are 2 best solutions below

0
Peter Centellini On

Turned out that company policy, to my big surprise, prevented me to install since they regarded mingw as non-approved, hence the "Permission denied".

0
Brecht Sanders On

Since your company has a policy against installing MSYS2 you could consider using MinGW-w64 from https://winlibs.com/ which requires no installer. But if they block things like gcc.exe than that won't work either, but it's worth a try.