LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-23-2005, 11:22 AM   #1
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Rep: Reputation: 15
Rpm


Hi,

could someone please tell me what is RPM? I'm about to download Java plugin.

ursinus
 
Old 08-23-2005, 11:26 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
RPM = Redhat Package Manager

It's a type of package to install already precompiled binaries. Go to http://www.rpm.org/ to learn more.
 
Old 08-23-2005, 11:51 AM   #3
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
install error: "cannot execute binary file"

I have a problem of installing the java plugin. it gives an error:

cannot execute binary file

what have I done wrong, or how come this error...

thanks,
ursinus
 
Old 08-23-2005, 11:54 AM   #4
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Honestly! Did you even look at the link trickykid gave you? RTFM.

You can't execute RPMs directly. You have to install like:
Code:
rpm -i java-plugin.rpm
And this only work on Red Hat based systems. On many systems, you can't use RPMs natively.

Last edited by saman007uk; 08-23-2005 at 11:55 AM.
 
Old 08-23-2005, 11:59 AM   #5
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
Honestly, I did... But then I decided not to download rpm-file... Ok, I'll try that one.

Sorry, and thank you,
ursinus
 
Old 08-23-2005, 12:11 PM   #6
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
Sorry to disturb with my stupidity - but hey, this is a newbie forum - but also with a rpm it gives the error: cannot execute binary file. So the problem is before the step of executing rpm itself. Or am I compeletely lost?

So the error comes while extracting... and yes, I do have RedHat

Last edited by ursinus; 08-23-2005 at 12:13 PM.
 
Old 08-23-2005, 12:20 PM   #7
PsypherPunk
Member
 
Registered: Jul 2005
Posts: 109

Rep: Reputation: 15
Where is the error you're receiving appearing? What have you typed to get this error?
 
Old 08-23-2005, 12:23 PM   #8
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
./jre-1_5*****

Before extracting the file appears a binary license agreement, as it should but then while extracting... error
 
Old 08-23-2005, 12:33 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by trickykid
RPM = Redhat Package Manager
RPM = RPM Package Manager. The name was changed sometime ago.
 
Old 08-23-2005, 02:03 PM   #10
PsypherPunk
Member
 
Registered: Jul 2005
Posts: 109

Rep: Reputation: 15
Quote:
Originally posted by ursinus
./jre-1_5*****

Before extracting the file appears a binary license agreement, as it should but then while extracting... error
If you've downloaded the RPM (the file that ends in '.rpm') then you're typing the wrong command.

You should type:

Code:
rpm -i jre1_5*.rpm
...as was mentioned earlier. If you've downloaded a file that doesn't end in '.rpm' then type the exact filename and the exact error.
 
Old 08-24-2005, 08:38 AM   #11
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
Hi again,

I'll continue with my problem which was left unsolved yesterday...

The problem, or the error, comes while working with binary (.bin) file, not with the rpm file.
To repeat shortly my problemino:
I'm trying to install java plugin but cannot unpack/extract bin file.

Command and the error:

[root@localhost plugins]# ./jre-1_5_0_04-linux-amd64-rpm.bin
.
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
./jre-1_5_0_04-linux-amd64-rpm.bin: line 263: ./install.sfx.2792: cannot execute binary file

Done.
[root@localhost plugins]#

Where might be the problem? Please do help me!

Last edited by ursinus; 08-24-2005 at 11:25 AM.
 
Old 08-25-2005, 08:45 AM   #12
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
Ok, here is some info of my Cpu:

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2700+
stepping : 1
cpu MHz : 2158.562
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4276.22

Which plugin should I download? I'm starting to get desperate. The options are:

Linux Platform - J2SE(TM) Runtime Environment 5.0 Update 4
Linux AMD64 Platform - J2SE(TM) Runtime Environment 5.0 Update 4

And how to uninstall an existing plugin which doesn't seem to work.

Last edited by ursinus; 08-25-2005 at 08:51 AM.
 
Old 08-25-2005, 09:43 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Your CPU isn't 64 bit, so download the JRE for the Linux platform.
 
Old 08-25-2005, 09:48 AM   #14
ursinus
Member
 
Registered: Aug 2005
Location: Milan, Italy
Distribution: Ubuntu
Posts: 54

Original Poster
Rep: Reputation: 15
To avoid stupid questions, I would like to know from where do you see it exactly?

I'm really a beginner, have to say!
 
Old 08-25-2005, 09:51 AM   #15
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What?
 
  


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
Problems installing java 1.3.1_16 UmneyDurak Fedora 3 09-28-2005 08:43 AM
installing java[Problems with azuerus] retry Linux - Newbie 3 04-26-2005 09:13 AM
problems with installing java 5 supersucker Linux - Software 2 12-05-2004 01:32 PM
problems installing java bond82 Linux - Software 8 08-30-2004 11:25 PM
Problems installing Java Virtual Machine Lord-Rashid Linux - Software 14 04-14-2003 08:49 AM

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

All times are GMT -5. The time now is 01:47 PM.

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