To run yquake2 you need data files. Get the Quake 2 data files from somewhere. Copy the data files to '~/.yq2/baseq2'.