PDA

View Full Version : How to install LimeWire in FC3


imdeemvp
1st January 2005, 10:39 AM
Disclaimer: Do it at your own risk. Everything started with this thread. (http://www.fedoraforum.org/forum/showthread.php?t=27592). I have used amule (http://www.amule.org/) without any problems and installation was via yum. UPDATE: There is an RPM for limewire and installation details are at the bottom of this thread This is for installations in fedora core 3 and 4..

Go here to install LIMEWIRE PRO (http://forums.fedoraforum.org/showthread.php?t=101298)


I would like to let people know that there is a distro that comes with all the browser plug-ins included and it is PCLinuxOS (http://www.pclinuxos.com/) which is a great distro for newbies. It has 2 versions one for ATI and Nvidia drivers allready installed. It also includes limewire, amule, bittorrent and a lot of wireless support. So check it out!!


Amule installation:
yum install amuleVery nice peer 2 peer but a little slow.

UPDATE: Installation for fedora core 4 and make sure you JAVA installed. (http://www.fedoraforum.org/forum/showthread.php?t=59385). You need to install the latest LimeWireLinux.rpm (http://www9.limewire.com/beta/LimeWireLinux.rpm) and open terminal and run :rpm -Uvh --nodeps LimeWireLinux.rpm

I also tried GTK-Gnutella (http://gtk-gnutella.sourceforge.net/) which I am providing the link so you can do the download. This apps is "spyware free".

To install run this command:[root@myFC4 Linux]# rpm -ivh gtk-gnutella-0.95-1.gtk1.i386.rpm

The first thing you need is to install JAVA. (http://www.fedoraforum.org/forum/showthread.php?t=29928)

LET'S INSTALL LIMEWIRE....
I ran into trouble when trying to install LimeWire for linux. (http://www.limewire.com/english/content/downloadfree.shtml) But with the help from tchung from www.fedoranews.org (http://www.fedoranews.org/tchung/). I was able to install LimeWire. This was the error I got at terminal. (http://www.fedoraforum.org/forum/showpost.php?p=145373&postcount=19) TChung suggested doing this:I have another suggestion.

You can create a file in /etc/profile.d/java.sh with following content:
(Assuming you have j2re 1.4.2_06 rpm package from sun website)

So open terminal and type: gedit /etc/profile.d/java.sh and add the line in bold only and click on SAVE!
#!/bin/bash
# Init Script for j2re 1.4.2_06
# Drop this script in /etc/profile.d

JAVA_HOME=/usr/java/j2re1.4.2_06
PATH=$JAVA_HOME/bin:$PATH

export JAVA_HOME PATH <--this is last thing done in terminal

Now log out and log back in. Then type "echo $PATH" from a terminal to see the order of executables. This way, you can give a priority to j2re instead of libgcj.

Thomas
IT IS IMPORTANT TO FOLLOW THE ABOVE SUGGESTION! step by step to be able to install LimeWire. Open terminal and type: sh LimeWireLinux.bin and you will get and intallation prompt: [imdeemvp@myfc3 FC3]$ sh LimeWireLinux.bin
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
LimeWireLinux.bin: line 326: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
1. Click OK on first option.
2. Click NEXT on the limewire installer.
3. And continue to click NEXT until you get to installation and click on INSTALL if you are ok with the path of your folders. If not change the path yourselt. I suggest let limewire do it for you.
4. Click on DONE and enjoy.
5. Get your limewire icon from www.kde-look.org and create your launcher and for command use runLimeWire
The purpose of this was to do a benchmark with all three p2p's and in 1st place was LimeWire, 2nd GTK-Gnutella and 3rd was for amule. Screenshots of installation attached.

UPDATE:There is a LimeWire rpm now. You still have to do the suggestion by tchung's and you also need this dependency:libstdc++.so.5 which for FC3 is under compat-libstdc++-8-3.3.4 (http://rpm.pbone.net/index.php3/stat/4/idpl/1601557/com/compat-libstdc++-8-3.3.4.2.i386.rpm.html)

[root@myfc3 imdeemvp]# rpm -ivh LimeWireLinux.rpm
error: Failed dependencies:
libstdc++.so.5 is needed by LimeWire-free-4.4.4-0.i386
libstdc++.so.5(CXXABI_1.2) is needed by LimeWire-free-4.4.4-0.i386
[root@myfc3 imdeemvp]# cd limewire/ <-- I CREATED A FOLDER TO DOWNLOAD LIMEWIRE AND DEPENDENCY.
[root@myfc3 limewire]# rpm -ivh *
Preparing... ########################################### [100%]
1:compat-libstdc++ ########################################### [ 50%]
2:LimeWire-free ########################################### [100%]
[root@myfc3 limewire]#

smx
11th February 2005, 02:35 AM
Where do you get the .bin file? I can only find the limewire.rpm file at the limewire site and it gives me problems...

smx
11th February 2005, 02:43 AM

Ok, I found a .bin but I get this error in return:
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
/home/smx/Desktop/LimeWireLinux.bin: line 326: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

imdeemvp
11th February 2005, 03:44 AM
smx, follow the suggestion I mentioned above by tchung.

deliyana
13th February 2005, 08:36 PM
ok. look this answer ===> www.s_what_i.com (linoczka.blox.pl/html)

imdeemvp
15th February 2005, 07:46 AM
Update there is an RPM for limewire. (http://www.limewire.com/english/content/downloadfree.shtml) Installation details in update above.

zenkodi
18th February 2005, 01:19 AM
I downloaded and installed Limewire by simply clicking on "open". The package appeared to install - it appears as a program on my Internet menu but does not open when double clicked. I received no error messages. I also tried to install from a command line : when I tried as me I received an error "can't create transaction lock". I then rpm'd as su and the install process appeared to work without error. However, nothing happens after double clicking on the icon.

Advice?

BluT
18th February 2005, 01:55 AM
I was having trouble launching after installing the rpm version. You will have to remove the conflicting java version that is already on your system. Such as gcc-java and everything else like it. If you installed sun java , removing gcc-java should allow Limewire to launch fine.

imdeemvp
18th February 2005, 02:41 AM
I downloaded and installed Limewire by simply clicking on "open". The package appeared to install - it appears as a program on my Internet menu but does not open when double clicked. I received no error messages. I also tried to install from a command line : when I tried as me I received an error "can't create transaction lock". I then rpm'd as su and the install process appeared to work without error. However, nothing happens after double clicking on the icon.

Advice?
It also happened to me after I installed the rpm package....but I will continue to repeat as I say in the how to....you still need to do this:I have another suggestion.

You can create a file in /etc/profile.d/java.sh with following content:
(Assuming you have j2re 1.4.2_06 rpm package from sun website)

So open terminal and type: gedit /etc/profile.d/java.sh and add the line in bold only and click on SAVE!
#!/bin/bash
# Init Script for j2re 1.4.2_06
# Drop this script in /etc/profile.d

JAVA_HOME=/usr/java/j2re1.4.2_06
PATH=$JAVA_HOME/bin:$PATH

export JAVA_HOME PATH <--this is last thing done in terminal

Now log out and log back in. Then type "echo $PATH" from a terminal to see the order of executables. This way, you can give a priority to j2re instead of libgcj.

Thomas

zenkodi
18th February 2005, 02:59 AM
I did a *java* search on the pc and found many references to various java files. However, the only gcc java appeared to be text files. I do have j2re1.4.2_04 and jre1.5.0_01 that appear to be packages in the /usr directory. Should I uninstall one of those? BTW, maybe I should have included in the first post that I am a n00b and have so far been unsuccessful in getting java to work in Firefox (probably why I have the two java packages.) but one problem at a time....

BluT
18th February 2005, 03:18 AM
The only thing I did was download the limewire rpm, sun java 1.5.0_01, installed java, set my path in .bashrc to show /usr/java/jre1.5.0_01/bin (depending on where you installed java) and installed limewire rpm. Lime wire would not start so I removed gcc-java and a couple other java entries with synaptic. Once I removed the other java it launched instantly.

zenkodi
18th February 2005, 03:18 AM
... follow up to imdeemvp: I did the above just substituting my _04 version for your _06. j2re1.4.2_04 now appears second and third in boot order after kerbos but still no Limewire. Should I reboot (old M$ habits die hard...)?

smx
19th February 2005, 06:11 AM
Well, I finally installed it throught the .rpm and it seemed to install fine but nothing comes up when I rty to open it :(

smx
19th February 2005, 06:15 AM
Well, I looked over your posts and I don't get the steps you added? What bold lines?

smx
19th February 2005, 06:22 AM
OK, Can somone just tell me how to unistall java? It don't work anyway and if it helps!

imdeemvp
19th February 2005, 08:26 AM
OK, Can somone just tell me how to unistall java? It don't work anyway and if it helps!
Sure just follow this how-to. (http://www.fedoraforum.org/forum/showthread.php?t=29928)

BoHu
7th March 2005, 04:14 PM
none of the repos seems to have gtk-gnutella.

imdeemvp
7th March 2005, 08:15 PM
none of the repos seems to have gtk-gnutella.
There is a link that takes you to the site for the download......thanks I will update the info.

Sp0rtb1lly
11th March 2005, 11:55 PM
In Order to Install Limewire in Fedora Core 3 you have to do the following things:

1. Go to System Settings-> Add/Remove Packages
2. Then go the Development Section and remove the following packages:

**gcc-java:Java Support For gcc
**gcc-obg: Objective C support for gcc

3. Then Download the LimeWireLinux.bin from the site [I think it is http://www.limewire.com but i'm not sure ;-)]
4. Download the latest Java Software Development Kti [JDK] [http://java.sun.com]
5. Follow the installation Instruction from the site for the jdk
6. After the succefull Instalation open with a text editor vi, emacs, gedit [I prefer Vi -simply the best] the .bash_profile file by typing in the Console Terminal in your /home/you_name directory type

vi .bash_profile

and add the following line:
PATH=/usr/java/j2sdk#.#.#_##/bin:$PATH
where #.#.#_## is the number that indicates the Version of the JDK and then save the file.

7. Then go to the directory where you stored the Downloaded LimewireLinux.bin file with the cd command and then type:

./LimeWireLinux.bin
and the installation will continue with graphical dialog boxes without any problem.

================================================== ===============================================
To Fedora Core einai gamato!!!!!! Linux Rules!A re athanate Boukouvala!!!DTPS RULES!!
ZHTW TO KAPSIMO STO ALEXANDRIO
http://www.hellug.gr/images/grpenguin2.gif

ausie_fred
12th March 2005, 03:17 PM
I am running limewire on Fedora3 and am very happy with it. All I had to do was to download limewire (Other (OS/2, Solaris, Linux)) http://www.limewire.com/english/content/downloadfree.shtml
extract the files and run runLime.sh, it works like a treat :) I think that it is dependant on java virtual machine which I installed and set up with help from this howto http://stanton-finley.net/fedora_core_3_installation_notes_nocss.html#Java
I hope this helps others use limewire.

zab
12th March 2005, 08:04 PM
Greetings from the person that built the rpm installer. With version 4.8.1 I added automatic detection of the java path so as as long as the jre rpm is installed, limewire should be able to run. If anyone is having problems setting up the java environment, please try the latest rpm (4.8.1)

zab
12th March 2005, 08:06 PM
and you also need this dependency:libstdc++.so.5

Weird. I'm building the rpm on a stock fc3 install, and the only dependency in the spec file is j2re >= 1.4. I know buildrpm added the X.org libraries as dependency, but this libstdc is showing up for the first time. Can you give me more details?

Sp0rtb1lly
13th March 2005, 02:05 PM
In order to uninstall Java simply open the Console terminal and type

rpm -qa | grep j2sdk
this command will find the exact name of the java package that you installed in your machine
**For Example in my computer the output is:
**rpm -qa|grep j2sdk
**j2sdk-1.4.2_01-fcs

Then when you find the version of the package to uninstall you simply type
rpm -e j2sdk-1.4.2_01-fcs
and you uninstall the package!!!
Note:: The version number may be different from this example cause i use the 1.4.2_01

imdeemvp
14th March 2005, 09:32 AM
Sp0rtb1lly, I think I suggested almost the same as you do....

imdeemvp
20th June 2005, 05:50 AM
MAJOR UPDATE to use the rpm in fc 4. I was suggested to do the following:rpm -Uvh --nodeps ~/LimeWireLinux.rpm
rm -f /usr/lib/LimeWire/runLime.sh
wget http://www.limewire.org/zlatin/runLime.sh; mv runLime.sh /usr/lib/LimeWire/
chmod 755 /usr/lib/LimeWire/runLime.shDid it and limewire lauched in fc 4.

zab
23rd June 2005, 02:47 AM
FYI:
LimeWire 4.9.0 (released just today) has the fixed startup script and fixed trayicon under linux so installing the rpm "just work" even if the java paths aren't set up.

For the next release we'll get rid of the libstdc++.so.5 dependencies which turned out not to be used at all.

imdeemvp
23rd June 2005, 03:07 AM
Thanks for update.....6.22.05

nacchrist
5th July 2005, 12:26 AM
I have the latest limewire rpm. I have reinstalled it and java multiple times using all the possible techniques suggested in this thread. When I click on limewire it won't run but if i run it in the terminal this is what I get.

[nac@localhost ~]$ limewire
Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]
Configuring environment...
Loading LimeWire:
Exception during runtime initialization
java.lang.NullPointerException
<<No stacktrace available>>

************************************************** ****************
Something went wrong with LimeWire.
Maybe you're using the wrong version of Java?
(LimeWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.4.2"
gij (GNU libgcj) version 4.0.0 20050519 (Red Hat 4.0.0-8)

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[nac@localhost ~]$

Anyone have any ideas as to my problem? :confused:

n644dc
24th July 2005, 04:29 AM
I just notice that alot of people are having installation trouble after Installing Java, and if you install java and mv it to /opt/ then you must install in that directory ( or where ever J2re is)

smfinley
26th July 2005, 05:40 AM
The official FC4 release notes recommend that you install Java in /opt. To do this install the Sun Java JRE using my notes (http://stanton-finley.net/fedora_core_4_installation_notes.html), then see fedora guide (http://www.evolutioncolt.com/fedoraguide/#installlimewire) for LimeWire installation instructions that work with Java installed in /opt per the official FC4 release notes recommendation.

spynic
3rd August 2005, 03:50 PM
im havin the same problem too..
does it work after moving it?

n644dc
4th August 2005, 10:33 PM
It didnt help for me, so what I did was uninstall everything with java and limewire then followed
http://evolutioncolt.com/fedoraguide/#installjava
and
http://evolutioncolt.com/fedoraguide/#installlimewire

word for word and everthing worked out fine

n644dc
4th August 2005, 10:38 PM
I forgot to mention where it says
export J2RE_HOME=/opt/jre1.5.0_04
export PATH=$J2RE_HOME/bin:$PATH

i put

export J2RE_HOME=/usr/src/jre1.5.0_04
export PATH=$J2RE_HOME/bin:$PATH
and cd to /usr/src bf install

CrazednDazed
5th August 2005, 09:58 PM
Great how-to imdeemvp thanks

CypressHill
16th September 2005, 12:40 AM
I followed it and LimeWire is working perferctly.
Thank you

imdeemvp
16th September 2005, 04:15 AM
I followed it and LimeWire is working perferctly.
Thank you
Ok....i was about to answer you pm.

foxmuldar
9th January 2006, 08:56 PM
i just ried to install LimeWireLinux and it said something like this: Dependecies jre 1.4.1
where do i get it?

thanks in advance...
foxmuldar,

imdeemvp
10th January 2006, 06:35 AM
i just ried to install LimeWireLinux and it said something like this: Dependecies jre 1.4.1
where do i get it?

thanks in advance...
foxmuldar,
I already provided the answer to your question in the parent post. Just use the command with no depens....good luck.