According to OL-PRODUCT-LIFECYCLE.pdf , Table 2-6, GCC-Toolset 15 is available in application stream of Oracle Linux 8.10 .
However, dnf install gcc-toolset-15 fails.
It can be reproduced in a docker container with Dockerfile like this:
FROM oraclelinux:8.10
RUN dnf install gcc-toolset-15
ENTRYPOINT ["/bin/bash"]
And and docker build command
docker build -t gcc-docker .
It fails to find gcc-toolset-15 with below error message. However, if I replace it with gcc-toolset-14 , it works fine.
How should I install GCC Toolset 15 to Oracle Linux 8.10 ?
Thanks.
Building 46.6s (5/5) FINISHED docker:default
[internal] load build definition from Dockerfile 0.0s
transferring dockerfile: 177B 0.0s
[internal] load metadata for docker.io/library/oraclelinux:8.10 2.0s
[internal] load .dockerignore 0.0s
transferring context: 2B 0.0s
CACHED [1/2] FROM docker.io/library/oraclelinux:8.10@sha256:27d980babfa4742ea97e189b781fff41a18ebc7db4e5de316152338858a34b9e 0.0s
ERROR [2/2] RUN dnf install gcc-toolset-15 44.5s
# > ------
[2/2] RUN dnf install gcc-toolset-15:
11.11 Oracle Linux 8 BaseOS Latest (x86_64) 11 MB/s | 115 MB 00:10
31.72 Oracle Linux 8 Application Stream (x86_64) 10 MB/s | 73 MB 00:07
41.43 Last metadata expiration check: 0:00:14 ago on Thu Oct 2 09:18:37 2025.
44.32 No match for argument: gcc-toolset-15
44.39 Error: Unable to find a match: gcc-toolset-15
# > ------
Dockerfile:3
# > --------------------
1 | FROM oraclelinux:8.10
2 |
3 | >>> RUN dnf install gcc-toolset-15
4 |
5 | ENTRYPOINT ["/bin/bash"]
# > --------------------
ERROR: failed to solve: process "/bin/sh -c dnf install gcc-toolset-15" did not complete successfully: exit code: 1