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…
如果您觉得不错,欢迎扫码支持下。
作者:许强1. 本博客中的文章均是个人在学习和项目开发中总结。其中难免存在不足之处 ,欢迎留言指正。 2. 本文版权归作者和博客园共有,转载时,请保留本文链接。