LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux dialog executable (https://www.linuxquestions.org/questions/linux-newbie-8/linux-dialog-executable-4175532213/)

nigel-butter 01-27-2015 09:22 AM

Linux dialog executable
 
I was trying to write a simple menu using the "dialog" function only to find out that the version of linux i am running (I have previously worked on HP/Sun/ICL/AIX versions of unix)does not have the "dialog exe" and the one that someone has put on this box is not compatible.As follows:-

file /dir/dir/dir/dailog Retruns:-
dialog: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked (uses shared libs), stripped

where as
file /usr/bin/diff
/usr/bin/diff: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

Where can I get the correct version of dialog.

uname -a gives :-
2.6.18-371.el5 #1 SMP Thu Sep 5 21:20:46 EDT 2013 i686 i686 i386 GNU/Linux

smallpond 01-27-2015 09:37 AM

As root do: yum install dialog


All times are GMT -5. The time now is 03:38 AM.