LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What do I do with a "rpm.bin" file? (https://www.linuxquestions.org/questions/linux-newbie-8/what-do-i-do-with-a-rpm-bin-file-330003/)

Cyber.Samurai 06-03-2005 01:26 PM

What do I do with a "rpm.bin" file?
 
I just downloaded Java for linux. The file title is "jre-1_5_0_02-linux-i586-rpm.bin". When I double-click it, it just opens up in Kate (and looks like source code). Forgive me if this is REALLY Noob, but I grew up with DOS and WINDOZE. I'm trying very hard to convert to Linux, because I believe in the whole concept behind it. I'm just having a lot of trouble transferring what I know about Micro$oft products to Linux. At any rate, what do I do with a BIN file?

Thanks.

masand 06-03-2005 01:34 PM

hi there

go that localtion in a shell

then

run that as

./jre-1_5_0_02-linux-i586-rpm.bin

regards

Ynot Irucrem 06-03-2005 01:36 PM

that will create an rpm in the current directory, which you can then install (with "rpm -i <generated-rpm-name>"). I have no idea why they do this, instead of just giving you an rpm.

Mr.Clark 06-03-2005 05:01 PM

I do that, then it gives me

error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
error: cannot open Packages database in /var/lib/rpm

Total linux noob, what am I doing wrong?

ethics 06-03-2005 05:20 PM

Go to their website where you downloaded the file, there's a button that says "instructions" i did it using them, they're very clear and concise.

reddazz 06-04-2005 03:35 AM

Quote:

Originally posted by Mr.Clark
I do that, then it gives me

error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
error: cannot open Packages database in /var/lib/rpm

Total linux noob, what am I doing wrong?

You need to be root to install the rpm. Are you sure you are root?

Ynot Irucrem 06-04-2005 08:55 AM

to become root, type "su" then enter the root password, or if you just want to do one command as root, you can do "sudo <command>".


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