DRI Compilation Guide : Prerequisites
Previous: Introduction
Next: Linux Kernel Preparation

## 3. Prerequisites

You'll need the following:

- An installation of XFree86 4.1 or later. The DRI tree has been pruned down to minimize its size. But in order to build the DRI tree you need to have recent X header files, etc. already installed. If you don't have XFree86 4.1 (or later) installed you can probably install it from RPMs (or another package format). Or, you can download XFree86 as sources and compile/install it yourself.
- At least 200MB of free disk space. If you compile for debugging (the -g option) then you'll need about 600MB.
- GCC compiler and related tools.
- ssh (secure shell) if you're a DRI developer and don't want to use anonymous CVS download.
- A 2.4.x Linux Kernel. See below for details.
- FreeBSD support is not currently being maintained and may not work.

The DRI 3D drivers generally work on systems with Intel or AMD CPUs. However, limited support for Alpha and PowerPC support is underway.

For 3dfx Voodoo hardware, you'll also need the Glide3 runtime library (libglide3-v3.so for Voodoo3 or libglide3-v5.so for Voodoo4/5). These can be downloaded from the DRI website. You can compile them yourself, but it's often a painful process.

For Matrox G200/G400, Intel i810/i830 or ATI Rage128/Radeon hardware, you'll also need AGP support in your Linux kernel, either built-in or as a loadable module.

DRI Compilation Guide : Prerequisites
Previous: Introduction
Next: Linux Kernel Preparation