After months of researching and trying all sorts of methods the following has worked:

Step 1: Download the build_tools.exe of your choice

Step 2: Make sure you are on a machine with the exact same environment you are going to install the c++ dependencies on. i.e. If server is windows server 2016 64bit run a vm to emulate that exact environment.

Step 3: Goto this site to get a list of all possible components you can download in the next step - https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2019

Step 4: Follow the following instructions to get a local cache download of your choice - https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019

Step 5: copy everything to the server and continue following the instructions from step 4

Step 6: restart the machine to apply paths properly

Step 7: copy rc.exe and rcdll.dll from C:\Program Files (x86)\Windows Kits\8.0\bin\x86 to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin

Step 8: Download the latest setuptools from pypi.org

Step 9: run the following command with admin rights python -m pip install path/to/setuptools.tar --upgrade

Step 10: Restart machine again to apply paths.

Once all steps are followed c++ 14.0 (or of your choice) will be installed properly and linked with no issues.

Answer from Marco Fernandes on Stack Overflow
🌐
Softonic
en.softonic.com › downloads › c-compiler
Download C Compiler - Best Software & Apps
September 7, 2026 - Download for iPhone · 4.9 · Compile and run C, C++11, Python 3, and more offline · Supports C/C++ APIs like POSIX, OpenGL ES 2.0, and SQLite3 · C/C++ autocomplete plus syntax diagnostics for cleaner code · Jump to declarations, macros, and headers from code ·
Apps
Download software for Windows. Download CapCut, VidMate, VLC media player and more
Articles
Softonic offers you a range of tutorials, tips, top lists, previews and galleries for Windows, Mac, Android, iPhone and more.
Home Games
Download Games - Software for Windows. Download Free Fire, Grand Theft Auto V, Minecraft: Java & Bedrock Edition and more
Home Browsers
Download Browsers - Software for Windows. Download Google Chrome, Google Chrome (64-bit), Google Input Tools and more
Top answer
1 of 4
5

After months of researching and trying all sorts of methods the following has worked:

Step 1: Download the build_tools.exe of your choice

Step 2: Make sure you are on a machine with the exact same environment you are going to install the c++ dependencies on. i.e. If server is windows server 2016 64bit run a vm to emulate that exact environment.

Step 3: Goto this site to get a list of all possible components you can download in the next step - https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2019

Step 4: Follow the following instructions to get a local cache download of your choice - https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019

Step 5: copy everything to the server and continue following the instructions from step 4

Step 6: restart the machine to apply paths properly

Step 7: copy rc.exe and rcdll.dll from C:\Program Files (x86)\Windows Kits\8.0\bin\x86 to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin

Step 8: Download the latest setuptools from pypi.org

Step 9: run the following command with admin rights python -m pip install path/to/setuptools.tar --upgrade

Step 10: Restart machine again to apply paths.

Once all steps are followed c++ 14.0 (or of your choice) will be installed properly and linked with no issues.

2 of 4
2

Install chocolatey, then use their script to install Visual Studio 2019 build tools, better use following command:

choco install visualstudio2019buildtools --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US"

After that you will see Visual Studio GUI installer where you can manually select packages needed (be aware of size)

Source: https://chocolatey.org/packages/visualstudio2019buildtools

Discussions

Offline C compiler?
What do you use that isn't offline? A web IDE? But yes, you definitely can. For Mac, you want to use the clang compiler. I'd imagine Xcode comes with it More on reddit.com
🌐 r/cprogramming
115
31
March 13, 2025
How to OFFLINE install GCC CC and C compiler in LINUX RHEL7.3
A local mirror repo is the best option in my opinion, as u/veive mentioned. You can use tools like reposync to pull down a mirror of active repos to the local machine, and transfer this mirror either to the machine you're wanting to install GCC on or make it available on the same network. Repo URLs do not need to be remote, file URLs are completely valid. This means you can either use a local reposync'd copy made earlier or mounted installation media. If you have installation media for RHEL with the packages you want on it (anything but the minimal and netboot images should work for GCC), you can just point repo configs to their local paths. Some people discussing reposync on CentOS: https://www.centos.org/forums/viewtopic.php?t=61184 Installing from the repos on DVD installation media with RHEL: https://access.redhat.com/solutions/1355683 Using reposync with a RH support subscription (RHN): http://casesup.com/create-a-local-mirror-of-the-latest-update-for-red-hat-enterprise-linux-without-satellite/ A last ditch option if this proves too complex is to just work out the installation RPMs and their dependencies manually, transfer them into your isolated environment and install them directly with yum or rpm - neither tool needs an actual repository to work with, you can just give them a list of pre-downloaded package files to install. This is a fairly manual and annoying process. More on reddit.com
🌐 r/linuxquestions
25
3
September 5, 2018
Best way to install python?
The regular, recommended way (for Windows) is to download it from python.org. By the way, there is no way to "download Python through VSCode". VSCode doesn't have a feature for that. I assume you're talking about the Python extension in VSCode. But that's something completely different. More on reddit.com
🌐 r/learnpython
11
4
March 13, 2021
Help finding a good Python compiler.
Hey all, I need help finding a good compiler to run scripts in the Python language. I'm rather new to computer science, programming, and coding in… More on reddit.com
🌐 r/learnprogramming
4
0
December 17, 2022
🌐
Programiz
programiz.com › c-programming › online-compiler
Online C Compiler (Editor)
September 28, 2026 - Online Python Compiler Online R Compiler Online SQL Editor Online HTML/CSS Editor Online Java Compiler Online C Compiler Online C++ Compiler Online C# Compiler Online JavaScript Compiler Online Typescript Compiler Online GoLang Compiler Online Rust Compiler Scala Online Compiler Dart Online Compiler Ruby Online Compiler Online PHP Compiler Online Swift Compiler · Copy Link Copied to clipboard · or share using · Your last three programs are saved locally. Currently empty · Install Learn Python App Offline · Learn Python Offline · main.c Output · Visualize · Dark mode Light mode Share Restore code Download Contact us ·
🌐
Soft112
c-c-offline-compiler-ios.soft112.com
C/C++ Offline compiler 1.5.0 Free Download
C/C++ Offline compiler - The c/c++ compiler integrates the c language IDE and offline compilation environment Support offline compilation of C projects Support multiple file import,...
🌐
Python
wiki.python.org › moin › WindowsCompilers
Windows Compilers - Python Wiki
Distutils will automatically detect the compiler and use it. Visual Studio 2015 was upgraded by Microsoft to Visual Studio 2017. See the previous paragraph to install it. This is a standalone version of Visual C++ 10.0 compiler, you don't need to install Visual Studio 2010.
🌐
Reddit
reddit.com › r/cprogramming › offline c compiler?
r/cprogramming on Reddit: Offline C compiler?
March 13, 2025 -

This is probably a stupid question, but I'm gonna have an 8-hour flight with no wifi, and I thought it would be a good time to work on my C assignments. Is there a way that I can, I guess, pre-load a compiler onto my Mac so I can still compile and execute code without being connected to the interwebs, and can I do this inside my IDE? And if so, where would I go to learn to set this up? thanks!

🌐
App Store
apps.apple.com › top charts › education › c/c++ offline compiler
C/C++ Offline compiler App - App Store
The c/c++ compiler integrates the c language IDE and offline compilation environment Support offline compilation of C projects Support multiple file import, Support scanf, printf and other functions, Support command line operation Support ClangFormat one-click formatting code In addition, there are online compilers for c, c++, c#, objective-c, and F# for your reference and study, to help novices who want to learn the c language and its extensions to get started quickly.
Rating: 3.6 ​ - ​ 5 votes
Find elsewhere
🌐
Intel
intel.com › developers › tools › oneapi › components › intel® oneapi dpc++/c++ compiler › download
Download Intel® oneAPI DPC+/C+ Compiler
The Intel oneAPI DPC++ Compiler is available from pip package manager as a runtime package only. if you require the full compiler, please select an Online or Offline version. Install Miniforge. Create and activate a new conda environment, replacing <your-env-name> with your preferred name for the environment: conda create -n <your-env-name> conda activate <your-env-name> conda install -c https://software.repos.intel.com/python/conda/ -c conda-forge <package-name> The following packages are available for installation: For executing applications written in DPC++ or C++ after they are compiled: dpcpp-cpp-rt includes the DPC++ and C++ runtime libraries ·
🌐
Reddit
reddit.com › r/linuxquestions › how to offline install gcc cc and c compiler in linux rhel7.3
r/linuxquestions on Reddit: How to OFFLINE install GCC CC and C compiler in LINUX RHEL7.3
September 5, 2018 -

Hi all, as the title mentions i am unable to offline install GCC CC and C Compiler in my LINUX RHEL7.3 with no internet access. The closest i have come is to understand the need to download a package and transfer it to my server but i am unable to find any package available to download. Any links is greatly appreciated.

Also, another way i heard is to create a DVD iso image of the packages and transfer it to LINUX server before mounting it. Again, the roadblock here is finding any online resource for these packages. I have not came across any proper documentation of this on reddit, superuser, stackoverflow etc...

Top answer
1 of 4
2
A local mirror repo is the best option in my opinion, as u/veive mentioned. You can use tools like reposync to pull down a mirror of active repos to the local machine, and transfer this mirror either to the machine you're wanting to install GCC on or make it available on the same network. Repo URLs do not need to be remote, file URLs are completely valid. This means you can either use a local reposync'd copy made earlier or mounted installation media. If you have installation media for RHEL with the packages you want on it (anything but the minimal and netboot images should work for GCC), you can just point repo configs to their local paths. Some people discussing reposync on CentOS: https://www.centos.org/forums/viewtopic.php?t=61184 Installing from the repos on DVD installation media with RHEL: https://access.redhat.com/solutions/1355683 Using reposync with a RH support subscription (RHN): http://casesup.com/create-a-local-mirror-of-the-latest-update-for-red-hat-enterprise-linux-without-satellite/ A last ditch option if this proves too complex is to just work out the installation RPMs and their dependencies manually, transfer them into your isolated environment and install them directly with yum or rpm - neither tool needs an actual repository to work with, you can just give them a list of pre-downloaded package files to install. This is a fairly manual and annoying process.
2 of 4
2
OP if possible I recommend that you get internet access, however I have worked in environments where that is not possible for various reasons. In environments like that, you can set up a local mirror. https://access.redhat.com/solutions/9892 If you are in an environment where you can have a network but not internet access, it may be a good idea to get a server set up with a red hat mirror on your network.
🌐
GitHub
github.com › gayensouvik1 › my-compiler
GitHub - gayensouvik1/my-compiler: an offline compiler for c,cpp,java,python
an offline compiler for c,cpp,java,python. Contribute to gayensouvik1/my-compiler development by creating an account on GitHub.
Author: gayensouvik1
🌐
App Store
apps.apple.com › top charts › education › c compiler free (offline, debug)
C Compiler Free (Offline, Debug) - App Store - Apple
Download C Compiler Free (Offline, Debug) by 辉 马 on the App Store. See screenshots, ratings and reviews, user tips, and more apps like C Compiler Free (Offline,…
Rating: 3.2 ​ - ​ 6 votes
🌐
Itsourcecode
itsourcecode.com › home › best python compiler (interpreter) online and offline
Best Python Compiler (Interpreter) Online and Offline
July 11, 2026 - In order to use the said compiler, you just need to download it and unpack it to start. This compiler also comes a prepackage with most of the popular data science and Python Libraries like Numpy, Pandas and Scipy. These libraries will allow you to work straight away. The said compiler was best Python compiler because it comes with bundles features which includes C and C++ compilers.
🌐
Apps on Windows
appsonwindows.com › apk › 7260255
Coding C - The offline C compiler on Windows PC Download Free - com.kvassyu.coding.c
Download and install Coding C - The offline C compiler 1.3.4 on Windows PC. Coding C is really simple IDE. It provides compile and run functionality that allows...
🌐
SciVision
scivision.dev › python-windows-visual-c-14-required
Pip install says Microsoft Visual C++ is required | Scientific Computing
September 30, 2026 - Check PyPI for a prebuilt wheel compatible with your Python version and Windows architecture to avoid the need for a local build. Otherwise, it will be necessary to build the package from source by installing Microsoft’s Build Tools for Visual Studio. In the installer, select Desktop development with C++ and include the MSVC C++ compiler and Windows SDK components for the target architecture.
🌐
Programiz
programiz.com › python-programming › online-compiler
Online Python Compiler (Editor)
Online Python Compiler Online R Compiler Online SQL Editor Online HTML/CSS Editor Online Java Compiler Online C Compiler Online C++ Compiler Online C# Compiler Online JavaScript Compiler Online Typescript Compiler Online GoLang Compiler Online Rust Compiler Scala Online Compiler Dart Online Compiler Ruby Online Compiler Online PHP Compiler Online Swift Compiler · Copy Link Copied to clipboard · or share using · Your last three programs are saved locally. Currently empty · Install Learn Python App Offline · Learn Python Offline · main.py Output · Visualize · Dark mode Light mode Share Restore code Download Contact us ·
🌐
Updatestar
c-c-offline-compiler.updatestar.com › home › education › c/c++ offline compiler
C/C++ Offline compiler - Download
Features include code highlighting, error detection, debugging, project management, and support for multiple C/C++ standards. You can install it by downloading the installer from the company's website and following the setup instructions.
Rating: 3 ​ - ​ 6 votes
🌐
Apple App Store
apps.apple.com › bb › app › c-c-offline-compiler › id1506375410
C/C++ Offline compiler App - App Store
The c/c++ compiler integrates the c language IDE and offline compilation environment Support offline compilation of C projects Support multiple file import, Support scanf, printf and other functions, Support command line operation Support ClangFormat one-click formatting code In addition, there are online compilers for c, c++, c#, objective-c, and F# for your reference and study, to help novices who want to learn the c language and its extensions to get started quickly.
🌐
CNET
download.cnet.com › mobile-c-offline-compiler-for-windows-10 › 3000-20414_4-77816356.html
Mobile C ( Offline Compiler ) for Windows 10 for Windows - Free download and software reviews - CNET Download
February 20, 2026 - Download Mobile C ( Offline Compiler ) for Windows 10 latest version for Windows free. Mobile C ( Offline Compiler ) for Windows 10 latest update: February 20, 2026
Rating: 4 ​ - ​ 1 votes
🌐
Aptoide
coding-c-kvass-yu.en.aptoide.com › homepage › android apps › tools › coding c - the offline c compiler
Coding C - The offline C compiler - APK Download for Android | Aptoide
June 26, 2020 - Download Coding C - The offline C compiler 1.2.5 APK for Android right now. No extra costs. User ratings for Coding C - The offline C compiler: 0 ★
🌐
Netlify
c-compilers.netlify.app
C Compiler – Download or Use Free C Programming Compiler
You can either download a C compiler to your computer or use an online C compiler directly in your browser. An **offline C compiler** like GCC or Turbo C gives full control over project settings, debugging, and optimization. An **online C compiler**, on the other hand, is great for quick testing, learning, and running code without installation.