21

I am learning C and I want to install MinGW on my laptop. The MinGW installer is a web-installer, it requires the computer to have access to the internet when installing. But the problem is that my computer's not connected to the internet. So it can't be installed.

So I am thinking of downloading the complete offline installer on my smart-phone and transfering it to my PC through blue-tooth.

I have already tried TDM-GCC, but even that requires me to download somthing.

So is there an offline installer to MinGW? If yes where can I get it?

  • 3
    Take a look: https://code.google.com/p/mingw-offline-install/downloads/detail?name=mingw-6.3.exe&can=2&q= – Leo Chapiro Mar 13 '15 at 09:36
  • 6
    STL maintains a nice packaged version of MingW on [his website](http://nuwen.net/mingw.html). – Kerrek SB Mar 13 '15 at 09:40
  • @Kerrek SB But is it trustable? –  Mar 13 '15 at 10:12
  • @duDE is it trustable? –  Mar 13 '15 at 10:13
  • @Kerrek SB is that a trustable and reliable site. I wont get mallwares, right? And is the version stable and secure? –  Mar 13 '15 at 10:15
  • 2
    @Switch: What really is trust? The site owner is Microsoft's library maintainer. – Kerrek SB Mar 13 '15 at 20:01
  • You can tether your smartphone connection to your laptop. Just try to indicate that this is a metered connection and preferably do this at the end of your billing cycle. This should do the trick for you, but I would appreciate if an up to date offline installer was available. – Mefitico Oct 17 '18 at 12:26

3 Answers3

10

I did not find an offline installer for MinGW,but instead I found a better Windows port; which is MinGW-W64

From http://mingw-w64.yaxm.org/doku.php:

Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.

Now to answer this question: it has to be mannually installed by downloading the zip file. It won't require additional download.

  • 4
    See [this question](https://stackoverflow.com/questions/38393755/mingw-w64-offline-installer) about offline install of MinGW-W64. – riderBill Sep 14 '17 at 02:32
1

You can download it from link : https://github.com/jonasstrandstedt/MinGW You need to extract the MinGW folder in C:\ eg: c:\MinGW . Then what you need to follow the steps given in the link above. In CodeBlock IDE go to settings>compiler>Tochain Executables. There you need to click on auto detect or specify the folder manually.

Ashiq Ullah
  • 125
  • 6
0

The most direct answer to the question "Is there an offline MinGW installer?" is "maybe, but it would be a snapshot from the past, and it's almost certainly not up-to-date with the latest available released versions." The individual packages are made available (almost) as soon as they're released, so capturing everything in a self-contained installer is a moving target.

But, you can use the standard installer offline with a bit of prep work if you use MSYS2's pacman, which manages dependencies and grabs all the right versions for you.

The details are given in an answer to another question (https://stackoverflow.com/a/46791235/).

AaronDanielson
  • 2,230
  • 28
  • 29