I'm not sure how exactly the packages relate, but I needed to install the gcc package to resolve some sort of load error. Given that gcc didn't produce any results, I ran a quick
Copy$ conda search gcc
Which yielded, among other things, gcc_linux-64. After
Copy$ conda install gcc_linux-64
My issue went away, despite the fact that which gcc still pointed to the system install 🤷♂️
Anaconda.org
anaconda.org › conda-forge › gcc
gcc - conda-forge | Anaconda.org
Install gcc with Anaconda.org. GNU C native compiler (symlinks)
conda-forge
View packages from the conda-forge channel on Anaconda.org.
Python - anaconda
Install python with Anaconda.org. General purpose programming language
Opencv
Install opencv with Anaconda.org. Computer vision and machine learning software library.
Matplotlib
Install matplotlib with Anaconda.org. Publication quality figures in Python
Top answer 1 of 2
12
I'm not sure how exactly the packages relate, but I needed to install the gcc package to resolve some sort of load error. Given that gcc didn't produce any results, I ran a quick
Copy$ conda search gcc
Which yielded, among other things, gcc_linux-64. After
Copy$ conda install gcc_linux-64
My issue went away, despite the fact that which gcc still pointed to the system install 🤷♂️
2 of 2
11
I had to install two conda packages to fix this issue:
Copy$ conda install gcc_linux-64
$ conda install gxx_linux-64
conda-forge
conda-forge.org › blog › 2025 › 11 › 21 › gcc-macos
gcc, g++ builds on macos | conda-forge | community-driven packaging for conda
November 21, 2025 - On macOS, conda-forge has provided clang, clangxx as the sole compiler for C and C++ sources. We have also provided gfortran to compile FORTRAN sources. Unlike other package managers like homebrew we have not provided gcc nor g++ on macos. The reason to not provide those have been to avoid incompatibility with the clang based toolchain and also the maintenance burden.
GitHub
github.com › conda-forge › m2w64-gcc-feedstock
GitHub - conda-forge/m2w64-gcc-feedstock: A conda-smithy repository for m2w64-gcc. · GitHub
conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions) If you would like to improve the m2w64-gcc recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build.
Forked by 2 users
Languages Shell 51.9% | PowerShell 25.2% | Batchfile 22.9%
Atlassian
harvardmed.atlassian.net › wiki › spaces › O2 › pages › 2557575188
GCC within Conda - HMS IT RC O2 - Confluence
Firstly, the packages to conda install are actually gcc_linux-64 and gxx_linux-64. You will (probably) need both packages. You can specify versions if you’d like, such as gcc_linux-64=9; make sure that if you do so, you specify the same version for both.
Conda
docs.conda.io › projects › conda-build › en › stable › resources › compiler-tools.html
Anaconda compiler tools — conda-build 0.0.0.dev0+placeholder documentation
The compiler packages can be installed with conda. Because they are designed with (pseudo) cross-compiling in mind, all of the executables in a compiler package are "prefixed." Instead of gcc, the executable name of the compiler you use will be something like x86_64-conda_cos6-linux-gnu-gcc.
Anaconda.org
anaconda.org › conda-forge › gcc_linux-64 › files
gcc_linux-64 - conda-forge
conda-forge/gcc_linux-64 · Community · GNU C Compiler (activation scripts) Copied fromcf-post-staging / gcc_linux-64 · Overview · Files 608 · Labels 4 · Badges · 1 2 3 4 5 ... 25 · items per page ·
Anaconda.org
anaconda.org › conda-forge › libgcc
libgcc - conda-forge | Anaconda.org
Install libgcc with Anaconda.org. The GCC low-level runtime library
Anaconda.org
anaconda.org › conda-forge › gcc › files
gcc - conda-forge
Install gcc with Anaconda.org. GNU C native compiler (symlinks)
Anaconda.org
anaconda.org › conda-forge › m2w64-gcc
m2w64-gcc - conda-forge | Anaconda.org
Backwards compatibility metapackage for GCC for m2w64 target · Last Updated · Oct 25, 2025 at 18:30 · License · BSD-3-Clause · Total Downloads · 294.6K · Version Downloads · 574 · Supported Platforms · win-64 · Home https://github.com/conda-forge/m2w64-gcc-feedstock
Super User
superuser.com › questions › 1422256 › conda-gcc-g-did-not-replace-system-linux-gcc
environment variables - Conda gcc/g++ did not replace system (linux) gcc - Super User
April 6, 2019 - You don't have to build from source, you just need to make sure the right GCC is detected on your PATH first. See: unix.stackexchange.com/a/3820 ... What I'm surprised is: isn't this what anaconda should do when I run 'conda activate'? I thought that changed (while active) the path variables to the ones in conda, and I do have the anaconda version of gcc already installed.
Ask Ubuntu
askubuntu.com › questions › 1191234 › how-to-force-conda-to-use-gcc-found-at-usr-bin-gcc
18.04 - How to force Conda to use gcc found at /usr/bin/gcc? - Ask Ubuntu
November 24, 2019 - You will have to remove the gcc provided by conda. to do so, use conda remove gcc_linux-64.
Anaconda.org
anaconda.org › anaconda › gcc_linux-64
gcc_linux-64 - anaconda
View packages from the anaconda channel on Anaconda.org.
Conda
conda.org › frequently asked questions
Frequently asked questions | conda.org
However, you can also obtain non-Python packages from other channels apart from conda-forge. For example, you can specify a different channel using the -c flag: ... For example, to install a non-Python package like gcc for C/C++ programming language, from the conda-forge channel, you can run:
GitHub
github.com › conda-forge › compilers-feedstock › issues › 47
How to specify the gcc version when using this package? · Issue #47 · conda-forge/compilers-feedstock
May 23, 2022 - Comment: Say we want to restrict the gcc version to 7.3, how do we specify that when installing this package? can we do something like: conda install cxx-compiler gcc=7.3 -c conda-forge
Author conda-forge
H-chen
h-chen.com › minds › html › Conda.html
Conda
- conda install https://anaconda.org/brown-data-science/gcc/5.4.0/download/linux-64/gcc-5.4.0-0.tar.bz2
conda-forge
conda-forge.org › news › 2020 › 10 › 08 › compiler-upgrade-to-gcc-930
Compiler Upgrade to GCC 9.3.0 | conda-forge | community-driven packaging for conda
October 8, 2020 - We will be upgrading all GCC-based compilers to version 9.3.0 on all platforms. This upgrade will not affect C or C++ code, but will require a rebuild of all feedstocks that use FORTRAN due to a change in the SONAME. During this rebuild, we will keep the old compiler versions in production, temporarily doubling the build matrix.
Conda
docs.conda.io › projects › conda-build › en › 3.21.x › resources › compiler-tools.html
Anaconda compiler tools — conda-build 3.21.7+0.gb98d7ec0.dirty documentation
The compiler packages can be installed with conda. Because they are designed with (pseudo) cross-compiling in mind, all of the executables in a compiler package are "prefixed." Instead of gcc, the executable name of the compiler you use will be something like x86_64-conda_cos6-linux-gnu-gcc.