Look for an INSTALL or README file, most packages come with one that will tell you what you need and how to compile.