I wanted to install Doxygen on my server, but I did not do it through apt-get, because it necessarily came with x11 packages.
# apt-get install doxygen
The following extra packages will be installed:
x11-utils x11-xserver-utils xbitmaps xdg-utils
xfonts-encodings xfonts-utils xterm
After this operation, 578 MB of additional disk space will be used.