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 07-23-2003, 11:25 PM   #1
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Rep: Reputation: 15
how to run program?


Ok, How do i run a file in linux RH 9 ? I downloaded limewire extracted it and when i try to run the file i get a bunch of text. I tried to search for an answer online but cannot find it. Somebody please help me!
 
Old 07-23-2003, 11:35 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
okay..now you know that you need java runtime environment (http://www.java.com/en/download/linux_manual.jsp ) in order to install limewire? You should install that and then go to the console and type
./LimeWireLinux.bin
cd LimeWire folder
and thn there should be a readme file which will help you about how to use the program.
 
Old 07-23-2003, 11:40 PM   #3
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
OK thanks Jatt_thugz.
 
Old 07-23-2003, 11:41 PM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
you are welcome
 
Old 07-23-2003, 11:51 PM   #5
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
ok i am lost. how to i run this (java enviroment)
 
Old 07-23-2003, 11:56 PM   #6
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Just download self-extracting binary from http://www.java.com/en/download/linux_manual.jsp and do this:
./name_of_rpm
then follow the instructions at http://www.java.com/en/download/help...sp#install-pkg

after you are done with that you need to find the directory you installed the java vm in and then you need to set your path variable(which we will do after you finish installing the rpm).
 
Old 07-24-2003, 12:07 AM   #7
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
I am doing something wrong (sorry i am new to linux as u can tell). I did the ./name of rpm and i get [no such directory or file]
 
Old 07-24-2003, 12:11 AM   #8
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
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.
Become root, and then type this:
rpm -iv j2re-1_4_1_<version number>-linux-i586.rpm
replace the version number with the one you downloaded. I got all this from http://www.java.com/en/download/help...sp#install-pkg
I suggest you read this if my explanation doesnt work.
 
Old 07-24-2003, 12:11 AM   #9
Profanity
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
yes the ./executable didn't work for me either so i just typed executable as it was, i was logged in as root though .
Question, could these "problems" be apart of the later Kernels ?
Seems as we're regressing instead of progressing..

-----------------------------------------
Windows Registered User # 854411223

Last edited by Profanity; 07-24-2003 at 12:15 AM.
 
Old 07-24-2003, 12:13 AM   #10
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
I read that link all ready let me try this again and let u know what happens. Thanks for helping me out!
 
Old 07-24-2003, 12:13 AM   #11
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
did you do this?
chmod a+x j2re-1_4_1_<version number>-linux-i586-rpm.bin
 
Old 07-24-2003, 12:15 AM   #12
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
yes i get this afterwards

chmod: failed to get attributes of `j2re-1_4_1_03-linux-i586-rpm.bin': No such file or directory
 
Old 07-24-2003, 12:17 AM   #13
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
you should have tried using absolute path to the file for example:
/home/guest/j2re-1_4_1_03-linux-i586-rpm.bin
 
Old 07-24-2003, 12:19 AM   #14
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
ok i did that and it worked.
 
Old 07-24-2003, 12:25 AM   #15
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
hmm..okay now install this and look for your installation, it should be in /usr/java if not than type updatedb in console and then:
locate java | more
to find where it is. After you have found it you type this in console->
export PATH=$PATH://usr/java/j2sdk1.4.2/bin
where /usr/java/j2sdk1.4.2/bin is the location where my java commands are, so you will need to modify it according to your installed files. You can add that line to your .bashrc if you want it to be permanent. After you do that just return to where LimeWireLinux.bin is and type ./LimeWireLinux.bin that should do it.
 
  


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
run my program alaios Linux - General 6 07-29-2004 06:27 PM
Program to run mfo6463 Linux - Newbie 2 04-21-2004 08:28 PM
Viewing program messages when program isn't run from command line? Locura Linux - Software 1 09-27-2003 09:19 AM
How do I run a program? rtstar Linux - Newbie 2 07-25-2003 10:08 AM
want to run my C program........ gurpreetpall Programming 4 03-22-2002 04:04 PM


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