LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux Newbie: .bin files (https://www.linuxquestions.org/questions/linux-software-2/linux-newbie-bin-files-57454/)

Ju Deddo Koinu 04-30-2003 07:41 AM

Linux Newbie: .bin files
 
I downloaded a .bin file that is supposed to be a program for me to install/run. What do I do with this thing to get it to run?

I am only familiar with RPM's and tar.gz files.

MasterC 04-30-2003 08:36 AM

chmod a+x filename.bin
./filename.bin
You must be in the directory containing the file.

Do this in a terminal.

Cool

shadowbird 04-30-2003 08:43 AM

In general, .bin files are scripts to be run (although they may be exectuables as well). In either case, you need to tell the OS (okay, the file system) that they are executable by setting the "executable" flag on the file. This is done with the "chmod" command.

Usually, you want to do something like :

chmod +x filename

However, if you want only YOU to be able to run it, use:

chmod u+x filename


All times are GMT -5. The time now is 06:23 PM.