LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Quick question on bin files (https://www.linuxquestions.org/questions/linux-newbie-8/quick-question-on-bin-files-146438/)

Godboo 02-15-2004 02:54 PM

Quick question on bin files
 
Hi,

Pretty generic question about bin files, did a search but couldn't find anything.

I just downloaded a rpm file with the .bin extension on the end. What does this mean and how can I install the rpm with this extension?

Thanks for any help.

benjithegreat98 02-15-2004 03:05 PM

If the file name is like filename.rpm.bin , then you propbably need to execute the bin (./filename.rpm.bin). This will extract the rpm. Then you can use the rpm program on the extracted file.

_KDF 02-15-2004 03:24 PM

first make sure the bin file is executable though..

# chmod +x filename.rpm.bin

qwijibow 02-15-2004 03:35 PM

yeah, its a kind of self extracting zip that makes you agree to terms and conditions before extracting the rpm.

Thymox 02-15-2004 05:54 PM

Usually the .rpm.bin files are just plain ol' RPM files with a fancy script attached to the beginning. If you read through the script part it basically does stuff like display some terms & conditions, extract the RPM part of the file to a seperate file and then install it. As shows above, it should be simple enough to run.

Ensure the file is executable:
chmod +x filename.rpm.bin
Then run the file:
./filename.rpm.bin

Please note that the 'dot slash' is very important as this tells BASH to run the programme of that name that is found in the current directory. If you do not put that in, then it'll come back at you with 'no such file' or something... not helpful when you know it's there! So, remember the dot slash.

Oh, just quickly say: Not all .rpm.bin files are scripts. Stating the obvious there. :D


All times are GMT -5. The time now is 01:09 AM.