Individual IS security policies may require the removal of compilers are removed from the production systems. If this policy applies to your AMD, the compiler packages can be removed only after the system and AMD software is installed and updated.
If the gcc package is removed, the AMD setup tools cannot recompile the device drivers after a Linux kernel upgrade. The result is that, after each kernel upgrade, the gcc package must be re-installed to enable the device drivers to be recompiled.
If the AMD software was installed using the kickstart file provided by Compuware, the gcc compiler will be present and can be removed using the yum package manager. For example:
yum remove gcc-c++
yum remove gcc
If the AMD software was not installed using the kickstart file, or if independent package management actions were performed in addition to the documented software update procedures, using yum for package removal is not recommended. This is because yum may remove the specified packages as well as the packages that are declared as “dependent”, thus removing packages that are necessary for correct AMD operation.
In these situations, we recommend that you remove unwanted packages selectively using the rpm command. Use only this command for package removal if you are not certain that you fully understand the package dependency structure and packages have been managed outside of the kickstart installation script.
Use the -a or -qa options of the rpm command to determine the exact name of the package to be removed, and then use the -e option to remove the package. If dependency errors are reported, use the --nodeps option to force package removal regardless of dependencies. For example: