How To Install gcc on Fedora 34
Introduction
In this tutorial we learn how to install gcc
on Fedora 34.
What is gcc
The gcc package contains the GNU Compiler Collection version 11. You’ll need this package in order to compile C code.
We can use yum
or dnf
to install gcc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gcc.
Install gcc on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gcc
using dnf
by running the following command:
sudo dnf -y install gcc
Install gcc on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gcc
using yum
by running the following command:
sudo yum -y install gcc
How To Uninstall gcc on Fedora 34
To uninstall only the gcc
package we can use the following command:
sudo dnf remove gcc
gcc Package Contents on Fedora 34
/usr/bin/c89
/usr/bin/c99
/usr/bin/cc
/usr/bin/gcc
/usr/bin/gcc-ar
/usr/bin/gcc-nm
/usr/bin/gcc-ranlib
/usr/bin/gcov
/usr/bin/gcov-dump
/usr/bin/gcov-tool
/usr/bin/lto-dump
/usr/bin/x86_64-redhat-linux-gcc
/usr/bin/x86_64-redhat-linux-gcc-11
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/9a89b2a4e34709d7371981026a6346ffbc5629
/usr/lib/.build-id/09
/usr/lib/.build-id/09/b5507c0861d742569ed14ad8fe920dba11e063
/usr/lib/.build-id/14
/usr/lib/.build-id/14/2595a4e0be86f5ef8f212354953809102aa166
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/d84e59649b98d55e8cfec3237370561e686a40
/usr/lib/.build-id/54
/usr/lib/.build-id/54/d0c10b6c574b381c262411bd0e9593a96fdca3
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/9da4929eb62e0c3677c3c69c391b38b87d6180
/usr/lib/.build-id/71
/usr/lib/.build-id/71/790b5c321eb1221a9240825e5a9fd3250ab1c6
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/0a573fd156074292525033b55d96a15ea3e0be
/usr/lib/.build-id/8f/78c49247546918d5a26f3c58dafd1f66b766df
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/091247e9db048ce16235a0e0c0b23f9cde1ad6
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/65f7fd2c6ba825e7b289bdc5b363fb4903c867
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/3da2b99695a08d16b01eaf9aec8504c2731316
/usr/lib/.build-id/d6/3da2b99695a08d16b01eaf9aec8504c2731316.1
/usr/lib/.build-id/d6/3da2b99695a08d16b01eaf9aec8504c2731316.2
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/130e2691b7d85e1f27575eee18527fc2a43110
/usr/lib/gcc
/usr/lib/gcc/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/11
/usr/lib/gcc/x86_64-redhat-linux/11/32
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtbeginS.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtbeginT.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtend.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtfastmath.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtoffloadbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtoffloadend.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtoffloadtable.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtprec32.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtprec64.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtprec80.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/libasan.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libasan.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libasan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/libatomic.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libatomic.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc_eh.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc_s.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcov.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgomp.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgomp.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libitm.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libitm.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libquadmath.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libquadmath.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libubsan.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libubsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/crtbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtbeginS.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtbeginT.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtend.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtfastmath.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtoffloadbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtoffloadend.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtoffloadtable.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtprec32.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtprec64.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtprec80.o
/usr/lib/gcc/x86_64-redhat-linux/11/include
/usr/lib/gcc/x86_64-redhat-linux/11/include/acc_prof.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/adxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/ammintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/amxbf16intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/amxint8intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/amxtileintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx2intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx5124fmapsintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx5124vnniwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bf16intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bf16vlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bitalgintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512cdintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512dqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512erintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512fintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512ifmaintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512ifmavlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512pfintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmi2intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmi2vlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmiintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmivlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vlbwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vldqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vnniintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vnnivlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vp2intersectintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vp2intersectvlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vpopcntdqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vpopcntdqvlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avxvnniintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/bmi2intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/bmiintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/bmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cet.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cetintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cldemoteintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/clflushoptintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/clwbintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/clzerointrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cpuid.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cross-stdarg.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/enqcmdintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/f16cintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/float.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/fma4intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/fmaintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/fxsrintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/gcov.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/gfniintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/hresetintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/ia32intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/iso646.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/keylockerintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/limits.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/lwpintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/lzcntintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mm3dnow.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mm_malloc.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/movdirintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mwaitxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/nmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/omp.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/openacc.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/pconfigintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/pkuintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/pmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/popcntintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/prfchwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/rdseedintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/rtmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/asan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/common_interface_defs.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/hwasan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/lsan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/tsan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/serializeintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sgxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/shaintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/smmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdalign.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdarg.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdatomic.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdbool.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stddef.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdfix.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdint-gcc.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdnoreturn.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/syslimits.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/tbmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/tmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/tsxldtrkintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/uintrintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/unwind.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/vaesintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/varargs.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/vpclmulqdqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/waitpkgintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/wbnoinvdintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/wmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/x86gprintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/x86intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xopintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsavecintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsaveintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsaveoptintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsavesintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xtestintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/libasan.so
/usr/lib/gcc/x86_64-redhat-linux/11/libasan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/libatomic.so
/usr/lib/gcc/x86_64-redhat-linux/11/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgcc_eh.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgcc_s.so
/usr/lib/gcc/x86_64-redhat-linux/11/libgcov.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgomp.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgomp.so
/usr/lib/gcc/x86_64-redhat-linux/11/libgomp.spec
/usr/lib/gcc/x86_64-redhat-linux/11/libisl.so.15
/usr/lib/gcc/x86_64-redhat-linux/11/libitm.spec
/usr/lib/gcc/x86_64-redhat-linux/11/liblsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/liblsan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/libsanitizer.spec
/usr/lib/gcc/x86_64-redhat-linux/11/libtsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/libtsan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/libubsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/rpmver
/usr/lib64/bfd-plugins/liblto_plugin.so
/usr/libexec/gcc
/usr/libexec/gcc/x86_64-redhat-linux
/usr/libexec/gcc/x86_64-redhat-linux/11
/usr/libexec/gcc/x86_64-redhat-linux/11/collect2
/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so
/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
/usr/libexec/gcc/x86_64-redhat-linux/11/lto1
/usr/libexec/getconf/default
/usr/share/doc/gcc
/usr/share/doc/gcc/ChangeLog-1997.bz2
/usr/share/doc/gcc/ChangeLog-1998.bz2
/usr/share/doc/gcc/ChangeLog-1999.bz2
/usr/share/doc/gcc/ChangeLog-2000.bz2
/usr/share/doc/gcc/ChangeLog-2001.bz2
/usr/share/doc/gcc/ChangeLog-2002.bz2
/usr/share/doc/gcc/ChangeLog-2003.bz2
/usr/share/doc/gcc/ChangeLog-2004.bz2
/usr/share/doc/gcc/ChangeLog-2005.bz2
/usr/share/doc/gcc/ChangeLog-2006.bz2
/usr/share/doc/gcc/ChangeLog-2007.bz2
/usr/share/doc/gcc/ChangeLog-2008.bz2
/usr/share/doc/gcc/ChangeLog-2009.bz2
/usr/share/doc/gcc/ChangeLog-2010.bz2
/usr/share/doc/gcc/ChangeLog-2011.bz2
/usr/share/doc/gcc/ChangeLog-2012.bz2
/usr/share/doc/gcc/ChangeLog-2013.bz2
/usr/share/doc/gcc/ChangeLog-2014.bz2
/usr/share/doc/gcc/ChangeLog-2015.bz2
/usr/share/doc/gcc/ChangeLog-2016.bz2
/usr/share/doc/gcc/ChangeLog-2017.bz2
/usr/share/doc/gcc/ChangeLog-2018.bz2
/usr/share/doc/gcc/ChangeLog-2019.bz2
/usr/share/doc/gcc/ChangeLog-2020.bz2
/usr/share/doc/gcc/ChangeLog.bz2
/usr/share/doc/gcc/ChangeLog.dataflow.bz2
/usr/share/doc/gcc/ChangeLog.gimple-classes.bz2
/usr/share/doc/gcc/ChangeLog.graphite.bz2
/usr/share/doc/gcc/ChangeLog.jit.bz2
/usr/share/doc/gcc/ChangeLog.lib.bz2
/usr/share/doc/gcc/ChangeLog.ptr.bz2
/usr/share/doc/gcc/ChangeLog.tree-ssa.bz2
/usr/share/doc/gcc/ChangeLog.tuples.bz2
/usr/share/doc/gcc/README.Portability
/usr/share/info/gcc.info.gz
/usr/share/info/gccgo.info.gz
/usr/share/info/gccinstall.info.gz
/usr/share/info/gccint.info.gz
/usr/share/licenses/gcc
/usr/share/licenses/gcc/COPYING
/usr/share/licenses/gcc/COPYING.LIB
/usr/share/licenses/gcc/COPYING.RUNTIME
/usr/share/licenses/gcc/COPYING3
/usr/share/licenses/gcc/COPYING3.LIB
/usr/share/locale/be/LC_MESSAGES/gcc.mo
/usr/share/locale/da/LC_MESSAGES/gcc.mo
/usr/share/locale/de/LC_MESSAGES/gcc.mo
/usr/share/locale/el/LC_MESSAGES/gcc.mo
/usr/share/locale/es/LC_MESSAGES/gcc.mo
/usr/share/locale/fi/LC_MESSAGES/gcc.mo
/usr/share/locale/fr/LC_MESSAGES/gcc.mo
/usr/share/locale/hr/LC_MESSAGES/gcc.mo
/usr/share/locale/id/LC_MESSAGES/gcc.mo
/usr/share/locale/ja/LC_MESSAGES/gcc.mo
/usr/share/locale/nl/LC_MESSAGES/gcc.mo
/usr/share/locale/ru/LC_MESSAGES/gcc.mo
/usr/share/locale/sr/LC_MESSAGES/gcc.mo
/usr/share/locale/sv/LC_MESSAGES/gcc.mo
/usr/share/locale/tr/LC_MESSAGES/gcc.mo
/usr/share/locale/uk/LC_MESSAGES/gcc.mo
/usr/share/locale/vi/LC_MESSAGES/gcc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gcc.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gcc.mo
/usr/share/man/man1/gcc.1.gz
/usr/share/man/man1/gcov-dump.1.gz
/usr/share/man/man1/gcov-tool.1.gz
/usr/share/man/man1/gcov.1.gz
/usr/share/man/man1/lto-dump.1.gz
/usr/bin/c89
/usr/bin/c99
/usr/bin/cc
/usr/bin/gcc
/usr/bin/gcc-ar
/usr/bin/gcc-nm
/usr/bin/gcc-ranlib
/usr/bin/gcov
/usr/bin/gcov-dump
/usr/bin/gcov-tool
/usr/bin/lto-dump
/usr/bin/x86_64-redhat-linux-gcc
/usr/bin/x86_64-redhat-linux-gcc-11
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/4bce63212265e458614446be00772568122f5c
/usr/lib/.build-id/07/4bce63212265e458614446be00772568122f5c.1
/usr/lib/.build-id/07/4bce63212265e458614446be00772568122f5c.2
/usr/lib/.build-id/10
/usr/lib/.build-id/10/70c2892ab1d3cb9427a921a8147152c3308b54
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/bf732f1fc23b3911e9b11142f1b0558b2fd512
/usr/lib/.build-id/34
/usr/lib/.build-id/34/2644e1e380ee2b2050f345a453ed567226eedd
/usr/lib/.build-id/57
/usr/lib/.build-id/57/80ac648a34c0e72ff5ec636570101c74a1abbe
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/b7ef22c563e883418909ef1676254f6be99c38
/usr/lib/.build-id/87
/usr/lib/.build-id/87/06415c0f501babde36df255051eb1f4ada3e58
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/1dd97dd6935f8bc15d4241ef00d82c96dd68e1
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/c1f7859ef186b621a0b66c179646d7aac137a0
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/5270b9cb2686e77b90d879ed2f45b624cdaa20
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/f3e8569c1502d2bd7e082e1523886102d08447
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/2cbaa51a0591c59a0de5d3bfc65bd64a281b9d
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/38a4b2d03953a1e1e15487e6c5a5a00149acd3
/usr/lib/gcc
/usr/lib/gcc/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/11
/usr/lib/gcc/x86_64-redhat-linux/11/32
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtbeginS.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtbeginT.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtend.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtfastmath.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtoffloadbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtoffloadend.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtoffloadtable.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtprec32.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtprec64.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/crtprec80.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/libasan.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libasan.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libasan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/32/libatomic.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libatomic.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc_eh.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc_s.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcov.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgomp.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libgomp.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libitm.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libitm.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libquadmath.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libquadmath.so
/usr/lib/gcc/x86_64-redhat-linux/11/32/libubsan.a
/usr/lib/gcc/x86_64-redhat-linux/11/32/libubsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/crtbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtbeginS.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtbeginT.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtend.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtfastmath.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtoffloadbegin.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtoffloadend.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtoffloadtable.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtprec32.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtprec64.o
/usr/lib/gcc/x86_64-redhat-linux/11/crtprec80.o
/usr/lib/gcc/x86_64-redhat-linux/11/include
/usr/lib/gcc/x86_64-redhat-linux/11/include/acc_prof.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/adxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/ammintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/amxbf16intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/amxint8intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/amxtileintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx2intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx5124fmapsintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx5124vnniwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bf16intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bf16vlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bitalgintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512bwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512cdintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512dqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512erintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512fintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512ifmaintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512ifmavlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512pfintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmi2intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmi2vlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmiintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vbmivlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vlbwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vldqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vnniintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vnnivlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vp2intersectintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vp2intersectvlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vpopcntdqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avx512vpopcntdqvlintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/avxvnniintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/bmi2intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/bmiintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/bmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cet.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cetintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cldemoteintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/clflushoptintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/clwbintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/clzerointrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cpuid.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/cross-stdarg.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/emmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/enqcmdintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/f16cintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/float.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/fma4intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/fmaintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/fxsrintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/gcov.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/gfniintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/hresetintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/ia32intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/immintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/iso646.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/keylockerintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/limits.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/lwpintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/lzcntintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mm3dnow.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mm_malloc.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/movdirintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/mwaitxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/nmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/omp.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/openacc.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/pconfigintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/pkuintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/pmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/popcntintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/prfchwintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/rdseedintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/rtmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/asan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/common_interface_defs.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/hwasan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/lsan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sanitizer/tsan_interface.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/serializeintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/sgxintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/shaintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/smmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdalign.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdarg.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdatomic.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdbool.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stddef.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdfix.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdint-gcc.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdint.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stdnoreturn.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/syslimits.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/tbmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/tmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/tsxldtrkintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/uintrintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/unwind.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/vaesintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/varargs.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/vpclmulqdqintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/waitpkgintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/wbnoinvdintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/wmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/x86gprintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/x86intrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xmmintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xopintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsavecintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsaveintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsaveoptintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xsavesintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/xtestintrin.h
/usr/lib/gcc/x86_64-redhat-linux/11/libasan.so
/usr/lib/gcc/x86_64-redhat-linux/11/libasan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/libatomic.so
/usr/lib/gcc/x86_64-redhat-linux/11/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgcc_eh.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgcc_s.so
/usr/lib/gcc/x86_64-redhat-linux/11/libgcov.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgomp.a
/usr/lib/gcc/x86_64-redhat-linux/11/libgomp.so
/usr/lib/gcc/x86_64-redhat-linux/11/libgomp.spec
/usr/lib/gcc/x86_64-redhat-linux/11/libisl.so.15
/usr/lib/gcc/x86_64-redhat-linux/11/libitm.spec
/usr/lib/gcc/x86_64-redhat-linux/11/liblsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/liblsan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/libsanitizer.spec
/usr/lib/gcc/x86_64-redhat-linux/11/libtsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/libtsan_preinit.o
/usr/lib/gcc/x86_64-redhat-linux/11/libubsan.so
/usr/lib/gcc/x86_64-redhat-linux/11/rpmver
/usr/lib64/bfd-plugins/liblto_plugin.so
/usr/libexec/gcc
/usr/libexec/gcc/x86_64-redhat-linux
/usr/libexec/gcc/x86_64-redhat-linux/11
/usr/libexec/gcc/x86_64-redhat-linux/11/collect2
/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so
/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
/usr/libexec/gcc/x86_64-redhat-linux/11/lto1
/usr/libexec/getconf/default
/usr/share/doc/gcc
/usr/share/doc/gcc/ChangeLog-1997.bz2
/usr/share/doc/gcc/ChangeLog-1998.bz2
/usr/share/doc/gcc/ChangeLog-1999.bz2
/usr/share/doc/gcc/ChangeLog-2000.bz2
/usr/share/doc/gcc/ChangeLog-2001.bz2
/usr/share/doc/gcc/ChangeLog-2002.bz2
/usr/share/doc/gcc/ChangeLog-2003.bz2
/usr/share/doc/gcc/ChangeLog-2004.bz2
/usr/share/doc/gcc/ChangeLog-2005.bz2
/usr/share/doc/gcc/ChangeLog-2006.bz2
/usr/share/doc/gcc/ChangeLog-2007.bz2
/usr/share/doc/gcc/ChangeLog-2008.bz2
/usr/share/doc/gcc/ChangeLog-2009.bz2
/usr/share/doc/gcc/ChangeLog-2010.bz2
/usr/share/doc/gcc/ChangeLog-2011.bz2
/usr/share/doc/gcc/ChangeLog-2012.bz2
/usr/share/doc/gcc/ChangeLog-2013.bz2
/usr/share/doc/gcc/ChangeLog-2014.bz2
/usr/share/doc/gcc/ChangeLog-2015.bz2
/usr/share/doc/gcc/ChangeLog-2016.bz2
/usr/share/doc/gcc/ChangeLog-2017.bz2
/usr/share/doc/gcc/ChangeLog-2018.bz2
/usr/share/doc/gcc/ChangeLog-2019.bz2
/usr/share/doc/gcc/ChangeLog-2020.bz2
/usr/share/doc/gcc/ChangeLog.bz2
/usr/share/doc/gcc/ChangeLog.dataflow.bz2
/usr/share/doc/gcc/ChangeLog.gimple-classes.bz2
/usr/share/doc/gcc/ChangeLog.graphite.bz2
/usr/share/doc/gcc/ChangeLog.jit.bz2
/usr/share/doc/gcc/ChangeLog.lib.bz2
/usr/share/doc/gcc/ChangeLog.ptr.bz2
/usr/share/doc/gcc/ChangeLog.tree-ssa.bz2
/usr/share/doc/gcc/ChangeLog.tuples.bz2
/usr/share/doc/gcc/README.Portability
/usr/share/info/gcc.info.gz
/usr/share/info/gccgo.info.gz
/usr/share/info/gccinstall.info.gz
/usr/share/info/gccint.info.gz
/usr/share/licenses/gcc
/usr/share/licenses/gcc/COPYING
/usr/share/licenses/gcc/COPYING.LIB
/usr/share/licenses/gcc/COPYING.RUNTIME
/usr/share/licenses/gcc/COPYING3
/usr/share/licenses/gcc/COPYING3.LIB
/usr/share/locale/be/LC_MESSAGES/gcc.mo
/usr/share/locale/da/LC_MESSAGES/gcc.mo
/usr/share/locale/de/LC_MESSAGES/gcc.mo
/usr/share/locale/el/LC_MESSAGES/gcc.mo
/usr/share/locale/es/LC_MESSAGES/gcc.mo
/usr/share/locale/fi/LC_MESSAGES/gcc.mo
/usr/share/locale/fr/LC_MESSAGES/gcc.mo
/usr/share/locale/hr/LC_MESSAGES/gcc.mo
/usr/share/locale/id/LC_MESSAGES/gcc.mo
/usr/share/locale/ja/LC_MESSAGES/gcc.mo
/usr/share/locale/nl/LC_MESSAGES/gcc.mo
/usr/share/locale/ru/LC_MESSAGES/gcc.mo
/usr/share/locale/sr/LC_MESSAGES/gcc.mo
/usr/share/locale/sv/LC_MESSAGES/gcc.mo
/usr/share/locale/tr/LC_MESSAGES/gcc.mo
/usr/share/locale/uk/LC_MESSAGES/gcc.mo
/usr/share/locale/vi/LC_MESSAGES/gcc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gcc.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gcc.mo
/usr/share/man/man1/gcc.1.gz
/usr/share/man/man1/gcov-dump.1.gz
/usr/share/man/man1/gcov-tool.1.gz
/usr/share/man/man1/gcov.1.gz
/usr/share/man/man1/lto-dump.1.gz
References
Summary
In this tutorial we learn how to install gcc
on Fedora 34 using yum and dnf.