Getting environment variable error during installation on Redhat Linux

Hello,
I am a newbie in Linux and I installed Redhat Linux Enterprise 5 on my machine. After that I wanted to install a software, but when I run #install.ksf, installation terminated and the install.log file displayed the following:
Error: Can't open display! Environment variable 'DISPLAY' must be defined.
Help needed. Thanks.
