Setting up a Linux UEFI Development Environment

First, there exists some useful web pages already

Here is the link for setting up the EDK2 build environment for Arch Linux, Fedora 13, Mandriva 2010 and Ubuntu 10.10. It is what I derived this list of instructions for Oracle Enterprise Linux and Gentoo from: Using EDK II with Native GCC 4.4

And here is the link for the OVMF build instructions: How to build OVMF

Those instructions can be used for other versions of Linux as well, and the information in these two pages provide some additional distribution specific ideas to try if you run into issues with those pages.

Specific Instructions for Oracle Enterprise Linux and 64-bit Gentoo Linux

The information for setting up a 64-bit Gentoo Linux system to build an EDK2 UEFI BIOS or application is here: UEFI EDK2 Setup for Gentoo 64-bit Linux

And the information for setting up an Oracle Enterprise Linux 6.1 system to build an EDK2 UEFI BIOS or application is here: UEFI EDK2 Setup for Oracle Enterprise Linux