您的位置:首页 > 运维架构 > Linux

linux下bin文件安装

2009-12-26 18:50 281 查看
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…
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: