特殊:Badtitle/NS100:Transmission:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/Transmission}}
{{From|https://help.ubuntu.com/community/Transmission}}
{{Languages|UbuntuHelp:Transmission}}
{{Languages|UbuntuHelp:Transmission}}
Transmission is a lightweight GTK+ BitTorrent client.
Transmission is a lightweight GTK+ [[UbuntuHelp:BitTorrent|BitTorrent]] client.
=== Ubuntu 7.10 (Gutsy) and later ===
=== Ubuntu 7.10 (Gutsy) and later ===
Transmission is available from the Universe repository. Go to Add/Remove Programs -> Internet -> Transmission to install it.
Transmission is available from the Universe repository. Go to Add/Remove Programs -> Internet -> Transmission to install it.
第7行: 第7行:
==== Prepare installation ====
==== Prepare installation ====
To install properly Transmission from source, you must, at first time, install some other packages. This packages contain source code of GTK and openssl. This package are required to build Transmission with GTK support and SSL support.  
To install properly Transmission from source, you must, at first time, install some other packages. This packages contain source code of GTK and openssl. This package are required to build Transmission with GTK support and SSL support.  
Here the list of packages to install : <code><nowiki>libgtk2.0-dev</nowiki></code>, <code><nowiki>libssl-dev</nowiki></code> and <code><nowiki>build-essential</nowiki></code>. (See InstallingSoftware).
Here the list of packages to install : <code><nowiki>libgtk2.0-dev</nowiki></code>, <code><nowiki>libssl-dev</nowiki></code> and <code><nowiki>build-essential</nowiki></code>. (See [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]).
==== Get Source code ====
==== Get Source code ====
To install transmission you have to download the source code from this web site (http://transmission.m0k.org/). Pull it in any directory and extract it's content.
To install transmission you have to download the source code from this web site (http://www.transmissionbt.com/). Pull it in any directory and extract it's content.
==== Get window icon ====
==== Get window icon ====
To get an icon for Transmission window, you have to edit the <code><nowiki>main.c</nowiki></code> file present in the source. Open this file with gedit or your favorite text editor and search for this line:
To get an icon for Transmission window, you have to edit the <code><nowiki>main.c</nowiki></code> file present in the source. Open this file with gedit or your favorite text editor and search for this line:

2008年4月23日 (三) 11:59的最新版本

{{#ifexist: :Transmission/zh | | {{#ifexist: Transmission/zh | | {{#ifeq: {{#titleparts:Transmission|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Transmission|1|-1|}} | zh | | }}

Transmission is a lightweight GTK+ BitTorrent client.

Ubuntu 7.10 (Gutsy) and later

Transmission is available from the Universe repository. Go to Add/Remove Programs -> Internet -> Transmission to install it.

Installation from source

Prepare installation

To install properly Transmission from source, you must, at first time, install some other packages. This packages contain source code of GTK and openssl. This package are required to build Transmission with GTK support and SSL support. Here the list of packages to install : libgtk2.0-dev, libssl-dev and build-essential. (See InstallingSoftware).

Get Source code

To install transmission you have to download the source code from this web site (http://www.transmissionbt.com/). Pull it in any directory and extract it's content.

Get window icon

To get an icon for Transmission window, you have to edit the main.c file present in the source. Open this file with gedit or your favorite text editor and search for this line:

gtk_window_resize(GTK_WINDOW(wind), width, height);

Above this line, add this one :

gtk_window_set_icon_name(GTK_WINDOW(wind), "stock_internet");

Build from source

In a terminal, run the traditional ./configure, make, sudo make install.

Start transmission

You just have to execute transmission-gtk. Also, you could create a laucher on your desktop.

References

http://www.ubuntuforums.org/showthread.php?t=220149 http://www.ubuntuforums.org/showthread.php?t=254164

Installation from package

Download the package

Here the link http://gir.deefa.com/debian/transmission/ Or from http://www.getdeb.net/app.php?name=Transmission