“UbuntuHelp:Transmission”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
(未显示同一用户的2个中间版本) | |||
第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. | ||
− | |||
=== Installation from source === | === Installation from source === | ||
− | |||
==== 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:// | + | 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: | ||
第24行: | 第19行: | ||
gtk_window_set_icon_name(GTK_WINDOW(wind), "stock_internet"); | gtk_window_set_icon_name(GTK_WINDOW(wind), "stock_internet"); | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== Build from source ==== | ==== Build from source ==== | ||
In a terminal, run the traditional <code><nowiki>./configure</nowiki></code>, <code><nowiki>make</nowiki></code>, <code><nowiki>sudo make install</nowiki></code>. | In a terminal, run the traditional <code><nowiki>./configure</nowiki></code>, <code><nowiki>make</nowiki></code>, <code><nowiki>sudo make install</nowiki></code>. | ||
− | |||
==== Start transmission ==== | ==== Start transmission ==== | ||
You just have to execute <code><nowiki>transmission-gtk</nowiki></code>. Also, you could create a laucher on your desktop. | You just have to execute <code><nowiki>transmission-gtk</nowiki></code>. Also, you could create a laucher on your desktop. | ||
− | |||
==== References ==== | ==== References ==== | ||
http://www.ubuntuforums.org/showthread.php?t=220149 | http://www.ubuntuforums.org/showthread.php?t=220149 | ||
http://www.ubuntuforums.org/showthread.php?t=254164 | http://www.ubuntuforums.org/showthread.php?t=254164 | ||
− | |||
=== Installation from package === | === Installation from package === | ||
− | |||
==== Download the package ==== | ==== Download the package ==== | ||
Here the link http://gir.deefa.com/debian/transmission/ | Here the link http://gir.deefa.com/debian/transmission/ |
2008年4月23日 (三) 11:59的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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