LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2003, 10:57 PM   #1
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Rep: Reputation: 15
Rpm.bin's - how do you use em?


What do you do with .rpm.bin files? I recently downloaded one (not my first however) from Java.com so I can get a JVM up on my rh8 box here. I've gotten the hang of running rpms via the console, but what do I do with a rpm.bin? I tried running this through file roller as well as the typical rpm command.
 
Old 11-29-2003, 11:10 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
.bin means binary..... its executable
sh /path/to/the/bin/file.bin
will run it.
 
Old 12-03-2003, 01:15 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Usually it is an RPM file that has some other stuff wrapped around it. I have seen .rpm.bin files that are basic scripts that contain the RPM file at the end (think of it like this: you make a script, you have an RPM file, you cat them together) and calls a program (I forget what it is, and I can't look now as I'm not at my Linux box) that extracts the RPM from the end of the file and then installs it. Ingenious!

Personally, when I come across one of these, I find the command to extract the RPM, and then do it myself so I can save the RPM file without all the clutter of the script.
 
Old 12-03-2003, 01:49 PM   #4
BrianNJ
Member
 
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157

Rep: Reputation: 30
in java's case, the .bin requires you to agree to license agreement before it spits out the rpm for you to use...
 
Old 12-04-2003, 04:20 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Yeah, but that is part of the script that comes before the RPM file. If you manually extract the RPM, then you don't need to run the script part of the file, ever.

In anycase, as a general rule, anything that ends in .bin, whether it is a true binary executable or a script, it needs to have eXecutable permissions (chmod +x filename.bin) and then you can run it with ./filename.bin (and yes, the dot slash is important - it tells it to run programme filename.bin from the current directory).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Suggestions requested on upgrading a stock RH rpm with a third-party rpm obarney Linux - Software 5 05-21-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration