LinuxQuestions.org
Visit Jeremy's Blog.
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 12-20-2002, 01:55 AM   #1
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
Question apparently useless download


I downloaded the java runtime thing from Sun.
The file i ended up with ends in .rpm.bin!
How do i make this 21MB text file into something i can install???


many thanks





 
Old 12-20-2002, 03:08 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
rename it to whatever.rpm
then you can install it.
 
Old 12-20-2002, 03:25 AM   #3
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Original Poster
Rep: Reputation: 146Reputation: 146
ok
tried that

i get an "invalid rpm package" message coming up

a week or two ago i installed the java plugin for netscape 7 and it wasnt 21MB, but this week i can't find it, only this 21MB JRE!!!!
 
Old 12-20-2002, 03:37 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you said it was a text file, was that because you looked
at it, and it was text? Does it look like a bash or sh script
at the beginning? if it is, you can type
source nameoffile
and if it was meant to be run that way, it will.
 
Old 12-20-2002, 05:52 AM   #5
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Original Poster
Rep: Reputation: 146Reputation: 146
ah
nice one thankyou
i think i corrupted the file renaming it (???)

i get a message saying the file is corrupt and that i shouldn't try to install it so will have to go get it again

but at least i know what to do with it now

thankyou again
 
Old 12-20-2002, 09:23 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
The rpm.bin that you downloaded is a shell script with an encoded RPM embedded into it. You can install this by making it executable and running it.
 
Old 12-20-2002, 10:36 AM   #7
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
From java.sun.com:

Quote:
Installation of RPM File
Use these instructions if you want to install Java 2 Runtime Environement in the form of RPM packages. If you want to use the self-extracting binary file instead, see Self-Extracting Binary above.
1. Check the download file size.

Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
2. Run the installation script and agree to the license it displays.

Launch the installation script by using the following commands from the directory in which it is located:
chmod a+x j2re-1_4_1_<version number>-linux-i586-rpm.bin

./j2re-1_4_1_<version number>-linux-i586-rpm.bin

The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2re-1_4_1_<version number>-linux-i586.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.

4. Run the rpm command to install the packages:

The following command installs the packages comprising the Java 2 Runtime Environment.
rpm -iv j2re-1_4_1_<version number>-linux-i586.rpm

5. Exit the root shell.
 
Old 12-20-2002, 10:47 AM   #8
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Original Poster
Rep: Reputation: 146Reputation: 146
ahh
excellent

rpm installed
many thanks

it was the chmod a+x command i was missing
i searched through the sun site but couldnt find the installation instructions (doh)

many thanks again
 
Old 12-20-2002, 01:46 PM   #9
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
You are welcome. There is a link to some readme and other install files farther down in the table where you select the link to the Linux download file. I hope it works well for you!!
 
  


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
Fedora Core 4 and, (apparently), HTTPD... Galaxy_Stranger Linux - Newbie 15 11-10-2005 01:23 PM
libwine.so.1 is apparently missing? alpha2zero Fedora 1 09-10-2005 02:57 PM
chmod apparently not working Noido Linux - Software 2 06-29-2005 01:32 PM
Print queue problem (apparently) piker Linux - Newbie 4 04-06-2005 06:13 AM
Java - Not my cup coffee apparently Russb Linux - Software 3 07-16-2004 08:34 PM

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

All times are GMT -5. The time now is 01:45 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