linux下bin文件安装

At first you have to open a terminal/bash and then enter:

file /path/file.bin

for example file /home/user/file.bin (file is the command)

Now you should see a sentence including the word “executable” and not “non-executable, not executable,… or something completely different)

If you do not see “executable,…)” the file is probably an cd-image(BIN/CUE) and not an executable .bin-file

Now enter:

chmod +x file.bin

No path! Just the name of the file!!! Now the file is executable…

Last step: Type in

/path/file.bin

, for example /home/user/file.bin and the file will be executed…

posted @ 2009-12-26 18:50  qiang.xu  阅读(1286)  评论(0编辑  收藏  举报