Looking for:
Gnu cpp compiler windows downloadGnu cpp compiler windows download.How to Install C and C++ Compilers on Windows
But many devs face difficulties when installing the compiler, so I am going to show you all the steps to do so in this article with screenshots to help you get it done.
I will be using Windows 11, but the same process is applicable for all other Windows operating systems unless you are using Windows XP You need to change some steps in Windows XP. Firstly we need to download an executable file from MSYS2. The website looks like below as of today. Finish downloading the executable file. It should not take much time depending on your internet speed.
I prefer to do it this way, but if you want to do the remaining tasks later, then you need to open the terminal by yourself from the start menu. The terminal will be closed. We have to open the terminal manually and update the rest of the packages.
Search the folder named MSYS2 64bit. Click on the folder to expand and get the terminal. If you get any installation prompt, then you need to type Y or y and press the enter key. Click the start button. Find the MSYS2 64bit folder. Click on that folder to expand it. Click on the terminal to open that.
Then, you need to open that terminal. As I am using a 64 bit operating system, I have opened the terminal for 64 bit. Type Y or y and press the enter key if you get the installation prompts. If you get any installation prompt, then simply type Y or y and press the enter key. If you used custom directories, then you need to go to the directory where you installed it. If you are using a 64 bit operating system like I am, then go to the mingw64 folder.
Open the Advanced System Settings. You can do that in many ways. A simple way is to simply click the start button and search for it like the below screenshot. If you want to get all the steps in a video, then you can watch this video as well. Thanks a lot for reading the entire article. If you have any suggestions then you may get in touch with me through my twitter or LinkedIn accounts. If you are into open source, then you can also follow me on GitHub as I am very active in contributing to open source projects.
If you like programming-related tutorials, then I have two YouTube channels. In one channel, I publish Bengali content regularly , whereas I publish English content regularly in my other channel. If you read this far, tweet to the author to show them you care. Tweet a thanks. Learn to code for free. Get started. Search Submit your search query. Forum Donate. Fahim Bin Amin. Scroll down a little bit until you find the download button for the executable file. Simply click on the installer button and save the installer file in any place you want.
After downloading the file, we will get this executable file. Double click on the executable file. Then click Next. Keep the name as it is, and click Next. Keep all this as it is, and click Next.
Give it some time to finish the installation process. Apply the command pacman -Syu to update the package database and the base packages. Type Y and press the enter key if you get this type of installation prompt. Type Y and press the enter key. Update the rest of the packages by applying the command, pacman -Su.
Wait a little to finish the installation. Close the window after finishing the installation. Wait for a little while. You've now finished installing the compilers. Give it some time to finish the installation. You can close the terminal. We have to go to the binary folder now. Go to the bin folder. Copy the directory. Click Environment Variables from the Advanced tab. Click on Path and select that.
Then click Edit. A window will appear as below: Click New. A blank box will appear. Paste the directory here. Click OK. Check the Install Now it is time to check whether we have successfully installed all of the above or not. Have a wonderful day!
No comments:
Post a Comment