File conflict error message during rpm install

This information applies to the AMD Proprietary Linux Driver.

The following error message may appear while trying to install the RPM package:

> `file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-4.x.x-x.x.x conflicts with file from package XFree86-Mesa-libGL-4.x.x-x`

This error (or similar) occurs when a third party OpenGL solution is already installed in the system. XFree86-Mesa-libGL is a common example.

The AMD Proprietary Linux Driver is meant to replace other "software only" OpenGL solutions in order to provide hardware 3D acceleration. The AMD libGL is backward compatible to the default XFree86-Mesa.

This issue can be resolved in either of two ways:

- Force the AMD driver install to overwrite existing files
- Remove the other OpenGL software BEFORE installing AMD drivers

Force the AMD driver install to overwrite existing files

> We recommend using the `--force` rpm option to install the AMD Proprietary Linux driver as follows:

> > `rpm -Uh --force <amd_package_name>.rpm`

> This will force the installer to overwrite any existing files including the conflicting libGL, which should allow the AMD driver to install properly.

> If for some reason you do not wish to use the `--force` rpm option, then you may still work around this error message by removing the other (non-AMD) OpenGL software first, as explained below.

Remove existing OpenGL software BEFORE installing AMD drivers

> 1. Ensure that no 3D OpenGL programs are running

> 2. Remove the existing libGL installation using the following command:

>    `rpm -e --nodeps XFree86-Mesa-libGL`

> (You need the `--nodeps` option because some screen savers, qt-3, and some parts of XFree86 might depend on libGL. Installing the AMD package afterwards will restore these dependencies.)

> 3. Reinstall the AMD Proprietary Linux driver

>    `rpm -Uh <amd_package_name>.rpm`

>    (you may ignore the `--force` option in this case, since the conflicting libGL has been removed already)

INFO-BASE#4479