How do I run a executable (application/x-executable) file?
I just downloaded Zodiac (a chem software) for linux and I tried using sudo bash ./Zodiac_linux
from the directory where it's installed and I received the error:
./Zodiac_linux: ./Zodiac_linux: cannot execute binary file
I am running 12.10 if it's relevant.
Running file Zodiac_linux
gives the output:
Zodiac_linux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
The output of locate libopenbabel
is:
/home/brentonhorne/build_babel/lib/libopenbabel.so
/home/brentonhorne/build_babel/lib/libopenbabel.so.4
/home/brentonhorne/build_babel/lib/libopenbabel.so.4.0.2
/usr/lib/libopenbabel.so.4
/usr/lib/libopenbabel.so.4.0.1
/usr/local/lib/libopenbabel.so
/usr/local/lib/libopenbabel.so.4
/usr/local/lib/libopenbabel.so.4.0.2
/usr/share/doc/libopenbabel4
/usr/share/doc/libopenbabel4/changelog.Debian.gz
/usr/share/doc/libopenbabel4/copyright
/var/lib/dpkg/info/libopenbabel4.list
/var/lib/dpkg/info/libopenbabel4.md5sums
/var/lib/dpkg/info/libopenbabel4.postinst
/var/lib/dpkg/info/libopenbabel4.postrm
/var/lib/dpkg/info/libopenbabel4.shlibs
Bash is a shell, it can't execute binary files.
Presuming the file is already executable, you can simply type ./Zodiac_linux
.
If it isn't executable yet, you can set the executable bit with sudo chmod +x ./Zodiac_linux
and then run the above command.