LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems installing Java (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-java-356159/)

ursinus 08-23-2005 11:22 AM

Rpm
 
Hi,

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

ursinus

trickykid 08-23-2005 11:26 AM

RPM = Redhat Package Manager

It's a type of package to install already precompiled binaries. Go to http://www.rpm.org/ to learn more.

ursinus 08-23-2005 11:51 AM

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

saman007uk 08-23-2005 11:54 AM

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.

ursinus 08-23-2005 11:59 AM

Honestly, I did... But then I decided not to download rpm-file... Ok, I'll try that one.

Sorry, and thank you,
ursinus

ursinus 08-23-2005 12:11 PM

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

PsypherPunk 08-23-2005 12:20 PM

Where is the error you're receiving appearing? What have you typed to get this error?

ursinus 08-23-2005 12:23 PM

./jre-1_5*****

Before extracting the file appears a binary license agreement, as it should but then while extracting... error

reddazz 08-23-2005 12:33 PM

Quote:

Originally posted by trickykid
RPM = Redhat Package Manager

RPM = RPM Package Manager. ;) The name was changed sometime ago.

PsypherPunk 08-23-2005 02:03 PM

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.

ursinus 08-24-2005 08:38 AM

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!

ursinus 08-25-2005 08:45 AM

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.

Nylex 08-25-2005 09:43 AM

Your CPU isn't 64 bit, so download the JRE for the Linux platform.

ursinus 08-25-2005 09:48 AM

To avoid stupid questions, I would like to know from where do you see it exactly?

I'm really a beginner, have to say!

Nylex 08-25-2005 09:51 AM

What?


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