LinuxQuestions.org
Help answer threads with 0 replies.
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 06-03-2005, 01:26 PM   #1
Cyber.Samurai
LQ Newbie
 
Registered: Jun 2005
Distribution: Mandriva LE
Posts: 1

Rep: Reputation: 0
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.
 
Old 06-03-2005, 01:34 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

go that localtion in a shell

then

run that as

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

regards
 
Old 06-03-2005, 01:36 PM   #3
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
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.

Last edited by Ynot Irucrem; 06-03-2005 at 01:40 PM.
 
Old 06-03-2005, 05:01 PM   #4
Mr.Clark
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
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?
 
Old 06-03-2005, 05:20 PM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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.
 
Old 06-04-2005, 03:35 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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?
 
Old 06-04-2005, 08:55 AM   #7
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
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>".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
Any difference? "Firefox.rpm" "Firefox.rpm.bin" Mic Q SUSE / openSUSE 4 05-06-2005 02:15 AM
What does this mean? suSE9.1 ATI "/bin/sh: line 1: scripts/modpost: No such file or" op_stager Linux - Hardware 0 09-29-2004 11:28 PM
Error in man command "sh: line 1: /usr/bin/gtbl: No such file or directory" MinA Slackware 1 09-06-2004 06:36 PM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM


All times are GMT -5. The time now is 06:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration