Xephem is a very nice and elaborate tool which has many different features such as complex orbital position determination of celestial bodies, tracking of satellites, but also many other features such as images from celestial bodies and Earth phase.
For building it however requires many libraries which are not installed by default. The attached commands should install the basic libraries you need to get started.
sudo apt-get install lesstif2-dev
sudo apt-get install libc6-dev
sudo apt-get install libxmu-dev
sudo apt-get install libmotif3 libmotif-dev
sudo apt-get install make
sudo apt-get install libx11-dev libxmu-dev libxp-dev libxt-dev x11proto-print-dev
cd xephem-3.7.2/GUI/xephem
make MOTIF=/usr/lib
[1] http://ubuntuforums.org/archive/index.php/t-329396.html
[2] http://forum.ubuntuusers.de/topic/so-gehts-bei-mir%3A-astronomie-programm-xephem-/