{"id":168,"date":"2026-04-15T18:32:15","date_gmt":"2026-04-15T18:32:15","guid":{"rendered":"https:\/\/sites.tntech.edu\/acrockett\/?p=168"},"modified":"2026-04-15T19:44:07","modified_gmt":"2026-04-15T19:44:07","slug":"download-install-mingw","status":"publish","type":"post","link":"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/15\/download-install-mingw\/","title":{"rendered":"Download, Install, &amp; Test MinGW"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">STEP ONE: Pause Your Antivirus Software<\/h1>\n\n\n\n<p>If you have any antivirus software (Norton, TotalAV, Guardio, Avast, AVG, Aura, Bitdefender, Surfshark, Avira, etc.) on your computer, pause it so that you can fully download the zip file in the next step. If you do not know how to pause your antivirus, do a google search on how to pause for your software. Note: some antivirus software allows you to download zip files, but many don\u2019t.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">STEP TWO: Install Mingw<\/h1>\n\n\n\n<p>Go to <a href=\"https:\/\/winlibs.com\/\">https:\/\/winlibs.com<\/a>. Then, scroll down until you see the Release versions and then choose the LATEST version, which should be at the top (GCC 15.1.0 as of 6\/5\/2025). I recommend choosing to download the Zip archive for Win64, which is highlighted below. Note: the LATEST version may be different from the time that I made this document.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"382\" src=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/winlibs_mingw_download-1024x382.png\" alt=\"\" class=\"wp-image-169\" srcset=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/winlibs_mingw_download-1024x382.png 1024w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/winlibs_mingw_download-300x112.png 300w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/winlibs_mingw_download-768x287.png 768w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/winlibs_mingw_download.png 1104w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The .<strong>zip<\/strong> file will be downloaded. It will have a ginormous name that will begin with <strong><code><mark>winlibs-x86_64-posix-seh-gcc-15 <\/mark><\/code><\/strong>and will end with <code><strong><mark>.zip<\/mark><\/strong><\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"106\" height=\"156\" src=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/winlibs_folder_name.png\" alt=\"\" class=\"wp-image-170\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">STEP THREE: Extract the Zip File<\/h1>\n\n\n\n<p>Right-click and select <strong>Extract All<\/strong>. Click <strong>Browse<\/strong> to select your <strong>C:<\/strong> drive and then click the <strong>Select Folder<\/strong> button. <\/p>\n\n\n\n<p>Click the <strong>Extract<\/strong> button.&nbsp; This will take several minutes (depending on your internet connection and speed of your computer) because over 11,000 items will be extracted.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"634\" src=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/browse_c_select-folder.png\" alt=\"\" class=\"wp-image-171\" srcset=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/browse_c_select-folder.png 867w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/browse_c_select-folder-300x219.png 300w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/browse_c_select-folder-768x562.png 768w\" sizes=\"auto, (max-width: 867px) 100vw, 867px\" \/><\/figure>\n<\/div>\n\n\n<p>After it has completed, you will have a <strong>MinGW folder<\/strong> in the <strong>C: drive<\/strong> that looks like the screen capture below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"799\" height=\"514\" src=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/mingw-folder.png\" alt=\"\" class=\"wp-image-174\" srcset=\"https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/mingw-folder.png 799w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/mingw-folder-300x193.png 300w, https:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/mingw-folder-768x494.png 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">STEP FOUR: Set up a System Environment Variable to MinGW<br><\/h1>\n\n\n\n<p>Below are the steps to add the path to your mingw64 <code><strong><mark>bin<\/mark><\/strong><\/code> folder to the Windows PATH environment variable.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to your File Explorer and go to <strong>This PC<\/strong> and then <strong>C:<\/strong> drive and then <strong>mingw64<\/strong> and then <strong>bin<\/strong>.&nbsp; Then, click in the white space beside the file directory to highlight the path.&nbsp;<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/Screenshot-2026-04-15-125650.png\" alt=\"screenshot of highlighting path\"><br><\/li>\n\n\n\n<li>Hit <strong>CTRL+C<\/strong> to copy the path.<br><\/li>\n\n\n\n<li>In the Windows search bar, type <strong>&#8216;environment&#8217;<\/strong> and click on&nbsp;<strong>Edit the system environment variables<\/strong>.&nbsp; If this option is not available, you can also select \u201c<strong>Edit environment variables for your account<\/strong>\u201d and this will work as well.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/Screenshot-2026-04-15-130940.png\" alt=\"edit environment variables\"><br><\/li>\n\n\n\n<li>Click the <strong>Environment Variables <\/strong>button.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/Screenshot-2026-04-15-131237.png\" alt=\"environment variables button\"><br><\/li>\n\n\n\n<li>In the bottom half of the window under <strong>System variables<\/strong>, choose the <strong>Path<\/strong> variable (either double click or single click and select the Edit button).&nbsp; If you can\u2019t access System variables, try editing the <strong>Path<\/strong> variable under the top window that says \u201c<strong>User variables for xxx<\/strong>\u201d (where xxx is your user name).<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/Screenshot-2026-04-15-131734.png\" alt=\"edit path\"><br><\/li>\n\n\n\n<li>In the &#8220;Edit environment variable&#8221; window, select&nbsp;<strong>New<\/strong>.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/Screenshot-2026-04-15-132007.png\" alt=\"click new button\"><br><\/li>\n\n\n\n<li>Paste (<strong>CTRL+V<\/strong>) the path that you already copied in the blank space that is now highlighted.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/paste.png\" alt=\"paste\"><br><\/li>\n\n\n\n<li>Click <strong>OK<\/strong> to save the Path update.<br><\/li>\n\n\n\n<li>Click <strong>OK<\/strong> in the Environment Variables window.<br><\/li>\n\n\n\n<li>Click <strong>OK<\/strong> in the System Properties window. <br><\/li>\n\n\n\n<li>If you already have a command prompt window open, you will need to close it and open a new <strong>Command Prompt<\/strong> window for the new PATH location to be available.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">STEP FIVE: Test That it is Installed<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>To test that MinGW is correctly installed you need to open a Command Prompt window. There are multiple ways to do this but the quickest way is to click in your Windows <strong>Search <\/strong>bar and type <strong>cmd <\/strong>and then hit your Enter key on your keyboard.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/command-prompt.png\" alt=\"open command prompt\"><br><\/li>\n\n\n\n<li>Then, in the Command Prompt, type g++ and then hit the Enter key on your keyboard.<br><\/li>\n\n\n\n<li>If you get a response that says &#8220;g++: fatal error: no input files&#8221; then this means MinGW is successfully installed and the g++ application is looking for a C++ source file to compile but you didn&#8217;t name a file for it to compile.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/good-install-of-mingw.png\" alt=\"good install mingw\"><br><\/li>\n\n\n\n<li>If you get a response that says &#8220;g++ is not recognized as an internal or external command, operable program or batch file&#8221; then MinGW is NOT successfully installed or you didn&#8217;t successfully set up your Environment Variable path to the MinGW\/bin folder.<br><br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/problem-install.png\" alt=\"problem install of MinGW\"><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEP ONE: Pause Your Antivirus Software If you have any antivirus software (Norton, TotalAV, Guardio, Avast, AVG, Aura, Bitdefender, Surfshark, Avira, etc.) on your computer, pause it so that you can fully download the zip file in the next step. If you do not know how to pause your antivirus, do a google search on [&hellip;]<\/p>\n","protected":false},"author":119,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[24,25,18,23],"class_list":{"0":"post-168","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-uncategorized","7":"tag-24","8":"tag-25","9":"tag-c","10":"tag-setting-up-computer","11":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":5,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":195,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/168\/revisions\/195"}],"wp:attachment":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}