Note that all releases after Version 1.3 only create PNG images. MRTG can work with old and new version of the GD library. Is required by gd in order to produce PNG graphics files. And last but not least you also need mrtg itself. The wget programm used below is a simple web downloader you can also enter the address into your netscape if you don't have wget available.
First lets create a directory for the compilation.
Note that this may already exist on your system. No Problem just use it. Ok now everything is ready for the mrtg compilation. If you have RRDtool available you might want to tell mrtg about it so that you can opt to use rrdtool with mrtg. Check the mrtg-rrd manpage .