Install QEMU, gcc, gdb and libc6 with your favorite Linux distribution's package management utility.
sudo apt-get install qemu build-essential nasm git
sudo yum install qemu gcc gdb nasm glibc-devel glibc-headers git
git clone git://scriptroute.cs.umd.edu/geekos-project