I want to compile c programs to windows
So I searched in google how to that and I found that I need to install mingw32
I run:

 sudo apt-get install mingw32

and I get

E: Unable to locate package mingw32

SO I searched in google and I found this answer and also this answer.

I run:

sudo add-apt-repository universe


sudo apt-get update

still the same error What can I do to solve it?


On modern Debian derivatives, including Mint, mingw32 is no longer available; it has been replaced by mingw-w64:

sudo apt install mingw-w64

should work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.