Installing built-in packages

Hey Everyone,

I installed Rocky 8.4 with “Server with GUI” as per the default.

When I do a “which gcc” on my newly installed & updated instance (installed on virtual box) gcc is nowhere to be found.

I’m looking for a way to install the GCC Toolset 10 collection. I’m sure I’m missing something simple in the GUI, but I don’t see a way to install those environments offered during the OS install.

Where do I go from here? I really hope I don’t have to reinstall from scratch…

Thank you

Hi,

This is what I see when appstream repo is enabled. Is that what you are looking for?

[root@rocky zimbra-build-scripts]# yum list *gcc* | grep 10
gcc-toolset-10.x86_64                                  10.1-0.el8     appstream 
gcc-toolset-10-annobin.x86_64                          9.29-1.el8     appstream 
gcc-toolset-10-binutils.x86_64                         2.35-6.el8     appstream 
gcc-toolset-10-binutils-devel.i686                     2.35-6.el8     appstream 
gcc-toolset-10-binutils-devel.x86_64                   2.35-6.el8     appstream 
gcc-toolset-10-build.x86_64                            10.1-0.el8     appstream 
gcc-toolset-10-dwz.x86_64                              0.12-1.1.el8   appstream 
gcc-toolset-10-dyninst.x86_64                          10.2.1-2.el8   appstream 
gcc-toolset-10-dyninst-devel.x86_64                    10.2.1-2.el8   appstream 
gcc-toolset-10-elfutils.x86_64                         0.182-3.el8    appstream 
gcc-toolset-10-elfutils-debuginfod-client.i686         0.182-3.el8    appstream 
gcc-toolset-10-elfutils-debuginfod-client.x86_64       0.182-3.el8    appstream 
gcc-toolset-10-elfutils-debuginfod-client-devel.i686   0.182-3.el8    appstream 
gcc-toolset-10-elfutils-debuginfod-client-devel.x86_64 0.182-3.el8    appstream 
gcc-toolset-10-elfutils-devel.i686                     0.182-3.el8    appstream 
gcc-toolset-10-elfutils-devel.x86_64                   0.182-3.el8    appstream 
gcc-toolset-10-elfutils-libelf.i686                    0.182-3.el8    appstream 
gcc-toolset-10-elfutils-libelf.x86_64                  0.182-3.el8    appstream 
gcc-toolset-10-elfutils-libelf-devel.i686              0.182-3.el8    appstream 
gcc-toolset-10-elfutils-libelf-devel.x86_64            0.182-3.el8    appstream 
gcc-toolset-10-elfutils-libs.i686                      0.182-3.el8    appstream 
gcc-toolset-10-elfutils-libs.x86_64                    0.182-3.el8    appstream 
gcc-toolset-10-gcc.x86_64                              10.2.1-8.2.el8 appstream 
gcc-toolset-10-gcc-c++.x86_64                          10.2.1-8.2.el8 appstream 
gcc-toolset-10-gcc-gdb-plugin.x86_64                   10.2.1-8.2.el8 appstream 
gcc-toolset-10-gcc-gfortran.x86_64                     10.2.1-8.2.el8 appstream 
gcc-toolset-10-gdb.x86_64                              9.2-4.el8      appstream 
gcc-toolset-10-gdb-doc.noarch                          9.2-4.el8      appstream 
gcc-toolset-10-gdb-gdbserver.x86_64                    9.2-4.el8      appstream 
gcc-toolset-10-libasan-devel.i686                      10.2.1-8.2.el8 appstream 
gcc-toolset-10-libasan-devel.x86_64                    10.2.1-8.2.el8 appstream 
gcc-toolset-10-libatomic-devel.i686                    10.2.1-8.2.el8 appstream 
gcc-toolset-10-libatomic-devel.x86_64                  10.2.1-8.2.el8 appstream 
gcc-toolset-10-libitm-devel.i686                       10.2.1-8.2.el8 appstream 
gcc-toolset-10-libitm-devel.x86_64                     10.2.1-8.2.el8 appstream 
gcc-toolset-10-liblsan-devel.x86_64                    10.2.1-8.2.el8 appstream 
gcc-toolset-10-libquadmath-devel.i686                  10.2.1-8.2.el8 appstream 
gcc-toolset-10-libquadmath-devel.x86_64                10.2.1-8.2.el8 appstream 
gcc-toolset-10-libstdc++-devel.i686                    10.2.1-8.2.el8 appstream 
gcc-toolset-10-libstdc++-devel.x86_64                  10.2.1-8.2.el8 appstream 
gcc-toolset-10-libstdc++-docs.x86_64                   10.2.1-8.2.el8 appstream 
gcc-toolset-10-libtsan-devel.x86_64                    10.2.1-8.2.el8 appstream 
gcc-toolset-10-libubsan-devel.i686                     10.2.1-8.2.el8 appstream 
gcc-toolset-10-libubsan-devel.x86_64                   10.2.1-8.2.el8 appstream 
gcc-toolset-10-ltrace.x86_64                           0.7.91-1.el8   appstream 
gcc-toolset-10-make.x86_64                             1:4.2.1-1.el8  appstream 
gcc-toolset-10-make-devel.i686                         1:4.2.1-1.el8  appstream 
gcc-toolset-10-make-devel.x86_64                       1:4.2.1-1.el8  appstream 
gcc-toolset-10-perftools.x86_64                        10.1-0.el8     appstream 
gcc-toolset-10-runtime.x86_64                          10.1-0.el8     appstream 
gcc-toolset-10-strace.x86_64                           5.7-2.el8      appstream 
gcc-toolset-10-systemtap.x86_64                        4.4-5.el8      appstream 
gcc-toolset-10-systemtap-client.x86_64                 4.4-5.el8      appstream 
gcc-toolset-10-systemtap-devel.x86_64                  4.4-5.el8      appstream 
gcc-toolset-10-systemtap-initscript.x86_64             4.4-5.el8      appstream 
gcc-toolset-10-systemtap-runtime.x86_64                4.4-5.el8      appstream 
gcc-toolset-10-systemtap-sdt-devel.x86_64              4.4-5.el8      appstream 
gcc-toolset-10-systemtap-server.x86_64                 4.4-5.el8      appstream 
gcc-toolset-10-toolchain.x86_64                        10.1-0.el8     appstream 
gcc-toolset-10-valgrind.i686                           1:3.16.0-4.el8 appstream 
gcc-toolset-10-valgrind.x86_64                         1:3.16.0-4.el8 appstream 
gcc-toolset-10-valgrind-devel.i686                     1:3.16.0-4.el8 appstream 
gcc-toolset-10-valgrind-devel.x86_64                   1:3.16.0-4.el8 appstream 
1 Like

Yes! Thank you, specifically:

sudo yum install gcc-toolset-10

did the trick