LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I open/run a .bin file? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-open-run-a-bin-file-533644/)

esspy4 03-01-2007 12:32 PM

How do I open/run a .bin file?
 
I'm new to linux and this is my first time in the forum; need some help. I've never used a .bin file before, even on my other os (win98). I just downloaded a .bin file; /home/evan/Desktop/ManageEngine_ApplicationsManager.bin
now what do i do?? I'm using ubuntu 6.10.

Could someone walk me though this like I'm the village idiot :)

acid_kewpie 03-01-2007 12:35 PM

just run it. it's a program, like a setup.exe on windows.

ManageEngine... good choice.

b0uncer 03-01-2007 12:35 PM

Open a terminal emulator (to get console) and type
Code:

chmod +x /home/evan/Desktop/ManageEngine_ApplicationsManager.bin
/home/evan/Desktop/ManageEngine_ApplicationsManager.bin

or more easily (because your terminal has most probably your home directory as your current directory):
Code:

chmod +x Desktop/ManageEngine_ApplicationsManager.bin
./Desktop/ManageEngine_ApplicationsManager.bin

Or if you cd to the directory Desktop, just
Code:

chmod +x ManageEngine_ApplicationsManager.bin
./ManageEngine_ApplicationsManager.bin

As you see, the first command (used only once after downloading the file) makes the .bin file executable (by default it should not be, for security reasons) and the second command then runs it. For that kind of binary files, simply type the full path name and filename to run it.

EDIT:
If you like using graphical tools, then on Ubuntu you can achieve it this way: right-click on the file on your desktop, choose Properties. Open Permissions tab and check the box that says to allow executing the file. Close the Properties window and try double-clicking on the file; either it runs, or if it doesn't, try the console method if it works better.

esspy4 03-01-2007 12:55 PM

Thanks Bouncer, that worked


All times are GMT -5. The time now is 06:33 AM.