I was trying to install gcc-48 in solaris 11.
bash-4.4$ sudo pkg search gcc-48
INDEX ACTION VALUE PACKAGE
pkg.fmri set solaris/developer/gcc-48 pkg:/developer/gcc-48@4.8.2-11.4.0.0.1.9.0
It was present in the repo but while trying to install it
bash-4.4$ sudo pkg install -nv /developer/gcc-48
No updates necessary for this image.
It because already gcc-7.3 is installed.
Anyone knows how to degrade the gcc in solaris 11.4 . Thanks