Following is a (hopefully) painless guide to compiling the excellent astronomy
program named XEphem (
http://www.clearskyinstitute.com/xephem/)
on the Ubuntu linux distribution. Though we now have
Stellarium and
KStars,
XEphem has some unique features and the source code is free for personal/educational use (check the URL for
precise terms). In addition, it doesn't require a higher-end OpenGL graphics card. It'll run well on
a fairly modest machine. I've tested these steps on Ubuntu 8.04 Hardy Heron and they worked for me
without any trouble.