个人工具

“UbuntuHelp:FrostWire”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的8个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/FrostWire}}
 
{{From|https://help.ubuntu.com/community/FrostWire}}
 
{{Languages|UbuntuHelp:FrostWire}}
 
{{Languages|UbuntuHelp:FrostWire}}
 
+
This How-To will explain how to install the free P2P Gnutella client FrostWire. FrostWire is a fork of [[UbuntuHelp:LimeWire|LimeWire]].
This How-To will explain how to install the free P2P Gnutella client called FrostWire. It is very much a LimeWire clone (it is in fact a descendant of LimeWire).  
+
<!> This software is Java based, so you will need [[UbuntuHelp:Java|Java]] installed.
 
+
<!> This software is Java based, so you will need [[UbuntuHelp:Java]] installed.
+
 
+
 
== Installing FrostWire using the Debian .deb file ==
 
== Installing FrostWire using the Debian .deb file ==
 
 
Download the Debian/Ubuntu installation file from the FrostWire website at [http://www.frostwire.com].
 
Download the Debian/Ubuntu installation file from the FrostWire website at [http://www.frostwire.com].
 
+
Once the .deb file is downloaded, simply double-click on it to install FrostWire.  See [[UbuntuHelp:InstallingSoftware#deb|InstallingSoftware]] for other methods.
Once the .deb file is downloaded, simply double-click on it to install FrostWire.  See [[UbuntuWiki:Self:InstallingSoftware#deb|InstallingSoftware]] for other methods.
+
 
+
 
== Common Problems and Work Arounds ==
 
== Common Problems and Work Arounds ==
 
 
=== Invalid JRE ===
 
=== Invalid JRE ===
 
 
If you recieve an error such as this
 
If you recieve an error such as this
 
<pre><nowiki>
 
<pre><nowiki>
第41行: 第33行:
 
You need to upgrade to JRE 1.4.x or newer from http://www.java.com  
 
You need to upgrade to JRE 1.4.x or newer from http://www.java.com  
 
</nowiki></pre>
 
</nowiki></pre>
 
+
or
Simply type in '''sudo update-alternatives --config java''' then select the alternative that includes "sun" in the name.  See also [[UbuntuHelp:Java]].
+
<pre><nowiki>
 
+
******************************************************************
 +
Something went wrong with FrostWire.
 +
Maybe you're using the wrong version of Java?
 +
(FrostWire 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.6.0"
 +
OpenJDK  Runtime Environment (build 1.6.0-b10)
 +
OpenJDK Client VM (build 1.6.0-b10, mixed mode, sharing)
 +
</nowiki></pre>
 +
Simply type in '''sudo update-alternatives --config java''' then select the alternative that includes "sun" in the name.  See also [[UbuntuHelp:Java|Java]].
 +
=== Problems specific to those upgrading to Hardy Heron ===
 +
When upgrading to Hardy, Java becomes confused and will not allow Frostwire to start.
 +
Reconfigure java properly with the following command:
 +
<code><nowiki>sudo update-java-alternatives -s java-6-sun</nowiki></code>
 
=== Always "Starting Connection" ===
 
=== Always "Starting Connection" ===
 
 
Assuming your firewall, router, etc., are all set up properly, then there is a known issue in which a hosts-like file is out of date.  Make sure you shut down Frostwire first (i.e. right click the tray icon and select "exit", do not just minimize it).  Get http://mc3.electronicbox.net/gnutella.net and save it to <code><nowiki>~/.frostwire/gnutella.net</nowiki></code>.  If there is already a <code><nowiki>gnutella.net</nowiki></code> file, it is prudent to copy the old one to <code><nowiki>gnutella.net.old</nowiki></code>.  Frostwire apparently creates its own backups of the file, and you may have to delete <code><nowiki>gnutella.net~</nowiki></code> in order for it to find the new one.
 
Assuming your firewall, router, etc., are all set up properly, then there is a known issue in which a hosts-like file is out of date.  Make sure you shut down Frostwire first (i.e. right click the tray icon and select "exit", do not just minimize it).  Get http://mc3.electronicbox.net/gnutella.net and save it to <code><nowiki>~/.frostwire/gnutella.net</nowiki></code>.  If there is already a <code><nowiki>gnutella.net</nowiki></code> file, it is prudent to copy the old one to <code><nowiki>gnutella.net.old</nowiki></code>.  Frostwire apparently creates its own backups of the file, and you may have to delete <code><nowiki>gnutella.net~</nowiki></code> in order for it to find the new one.
 
 
=== Lock up During Search ===
 
=== Lock up During Search ===
 
 
A possible fix is to go to Tools -> Options -> Searching -> Basic and uncheck the "Show License Warning" box.
 
A possible fix is to go to Tools -> Options -> Searching -> Basic and uncheck the "Show License Warning" box.
 
 
=== Network Settings ===
 
=== Network Settings ===
 
 
It is beyond the scope of this article to explain port forwarding and UPNP.  Use [http://www.google.com Google], the [http://ubuntuforums.org Forums], or [http://en.wikipedia.org another resource] to learn about those things.  The relevant Frostwire-specific informations/settings can be found in Tools -> Options -> Advanced -> Firewall Configuration.
 
It is beyond the scope of this article to explain port forwarding and UPNP.  Use [http://www.google.com Google], the [http://ubuntuforums.org Forums], or [http://en.wikipedia.org another resource] to learn about those things.  The relevant Frostwire-specific informations/settings can be found in Tools -> Options -> Advanced -> Firewall Configuration.
 
 
=== Version 4.10.9-1 ===
 
=== Version 4.10.9-1 ===
 
This version of Frostwire's Debian/Ubuntu deb contains a file that is improperly formatted.  The 4.10.9-2 version no longer has this problem.  If, after installing the .deb, you receive the following errors when running <code><nowiki>frostwire</nowiki></code> from a terminal:
 
This version of Frostwire's Debian/Ubuntu deb contains a file that is improperly formatted.  The 4.10.9-2 version no longer has this problem.  If, after installing the .deb, you receive the following errors when running <code><nowiki>frostwire</nowiki></code> from a terminal:
第67行: 第66行:
 
</nowiki></pre>
 
</nowiki></pre>
 
you should do the following.  You must first install the sysutils package (<code><nowiki>sudo aptitude install sysutils</nowiki></code>).  Then issue the following command to change the format from dos to unix: <code><nowiki>sudo dos2unix /usr/lib/frostwire/runFrost.sh</nowiki></code>
 
you should do the following.  You must first install the sysutils package (<code><nowiki>sudo aptitude install sysutils</nowiki></code>).  Then issue the following command to change the format from dos to unix: <code><nowiki>sudo dos2unix /usr/lib/frostwire/runFrost.sh</nowiki></code>
 
 
=== Version 4.10.9-2 ===
 
=== Version 4.10.9-2 ===
 
This version of Frostwire's Debian/Ubuntu deb contains a shell script that incompatible with the default installation of Ubuntu. If, after installing the .deb, you receive the following errors when running <code><nowiki>frostwire</nowiki></code> from a terminal:
 
This version of Frostwire's Debian/Ubuntu deb contains a shell script that incompatible with the default installation of Ubuntu. If, after installing the .deb, you receive the following errors when running <code><nowiki>frostwire</nowiki></code> from a terminal:
第89行: 第87行:
 
bash runFrost.sh
 
bash runFrost.sh
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== External Links ==
 
== External Links ==
 
 
* [http://www.frostwire.com Official Website]
 
* [http://www.frostwire.com Official Website]
 
* [http://www.frostwire.com/forum/ Frostwire Forums]
 
* [http://www.frostwire.com/forum/ Frostwire Forums]
 
 
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 22:26的最新版本

This How-To will explain how to install the free P2P Gnutella client FrostWire. FrostWire is a fork of LimeWire. <!> This software is Java based, so you will need Java installed.

Installing FrostWire using the Debian .deb file

Download the Debian/Ubuntu installation file from the FrostWire website at [1]. Once the .deb file is downloaded, simply double-click on it to install FrostWire. See InstallingSoftware for other methods.

Common Problems and Work Arounds

Invalid JRE

If you recieve an error such as this

#
Starting FrostWire...
#
Java exec found in PATH. Verifying...
#
OOPS, you don't seem to have a valid JRE. FrostWire works best with Sun JRE available at http://www.java.com
#
OOPS, unable to locate java exec in  /usr/lib/  hierarchy
#
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
#
ls: /usr/java/j*: No such file or directory
#
OOPS, unable to locate java exec in  /usr/java/  hierarchy
#
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
#
ls: /opt/j*: No such file or directory
#
OOPS, unable to locate java exec in  /opt/  hierarchy
#
You need to upgrade to JRE 1.4.x or newer from http://www.java.com 

or

******************************************************************
Something went wrong with FrostWire.
Maybe you're using the wrong version of Java?
(FrostWire 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.6.0"
OpenJDK  Runtime Environment (build 1.6.0-b10)
OpenJDK Client VM (build 1.6.0-b10, mixed mode, sharing)

Simply type in sudo update-alternatives --config java then select the alternative that includes "sun" in the name. See also Java.

Problems specific to those upgrading to Hardy Heron

When upgrading to Hardy, Java becomes confused and will not allow Frostwire to start. Reconfigure java properly with the following command: sudo update-java-alternatives -s java-6-sun

Always "Starting Connection"

Assuming your firewall, router, etc., are all set up properly, then there is a known issue in which a hosts-like file is out of date. Make sure you shut down Frostwire first (i.e. right click the tray icon and select "exit", do not just minimize it). Get http://mc3.electronicbox.net/gnutella.net and save it to ~/.frostwire/gnutella.net. If there is already a gnutella.net file, it is prudent to copy the old one to gnutella.net.old. Frostwire apparently creates its own backups of the file, and you may have to delete gnutella.net~ in order for it to find the new one.

Lock up During Search

A possible fix is to go to Tools -> Options -> Searching -> Basic and uncheck the "Show License Warning" box.

Network Settings

It is beyond the scope of this article to explain port forwarding and UPNP. Use Google, the Forums, or another resource to learn about those things. The relevant Frostwire-specific informations/settings can be found in Tools -> Options -> Advanced -> Firewall Configuration.

Version 4.10.9-1

This version of Frostwire's Debian/Ubuntu deb contains a file that is improperly formatted. The 4.10.9-2 version no longer has this problem. If, after installing the .deb, you receive the following errors when running frostwire from a terminal:

: command not found:
: No such file or directory
: command not found:
: command not found3:
'unFrost.sh: line 24: syntax error near unexpected token `
'unFrost.sh: line 24: `look_for_java()

you should do the following. You must first install the sysutils package (sudo aptitude install sysutils). Then issue the following command to change the format from dos to unix: sudo dos2unix /usr/lib/frostwire/runFrost.sh

Version 4.10.9-2

This version of Frostwire's Debian/Ubuntu deb contains a shell script that incompatible with the default installation of Ubuntu. If, after installing the .deb, you receive the following errors when running frostwire from a terminal:

runFrost.sh: 44: Syntax error: "(" unexpected (expecting "}")

You should run the following command:

gksudo gedit /usr/bin/frostwire

or if you're using Kubuntu:

kdesu kate /usr/bin/frostwire

Changing line 3 from:

sh runFrost.sh

To:

bash runFrost.sh

External Links