<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Miceliux</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Miceliux"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/Miceliux"/>
		<updated>2026-04-05T14:05:31Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu</id>
		<title>HowTo Compile In Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu"/>
				<updated>2009-09-18T10:31:21Z</updated>
		
		<summary type="html">&lt;p&gt;Miceliux: Added binutils-dev to the required packages list for compilig&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[HowTo_Compile_In_Debian-de|Deutsch]] | &lt;br /&gt;
[[HowTo_Compile_In_Debian-es|Espa&amp;amp;ntilde;ol]] | &lt;br /&gt;
[[HowTo_Compile_In_Debian-fr|Fran&amp;amp;ccedil;ais]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also general [[Compilation Installation]]&lt;br /&gt;
&lt;br /&gt;
= Are you sure you want to compile? =&lt;br /&gt;
If not, (which is pretty common) decide if you want the [[aMule]] stable release or the [[aMule SVN]] release.&lt;br /&gt;
&lt;br /&gt;
= Debian =&lt;br /&gt;
== Official way ==&lt;br /&gt;
=== Install packages ===&lt;br /&gt;
The latest stable versions of aMule are in the official [http://en.wikipedia.org/wiki/Software_repository Debian repositories].&lt;br /&gt;
&lt;br /&gt;
You can use [http://en.wikipedia.org/wiki/Synaptic_Package_Manager Synaptic Package Manager] (if you use [http://en.wikipedia.org/wiki/GNOME GNOME]) or [http://en.wikipedia.org/wiki/Adept_Manager Adept] (if you use [http://en.wikipedia.org/wiki/KDE KDE]). Then you must search and install '''amule''' package.&lt;br /&gt;
&lt;br /&gt;
If you prefer to use the terminal, enter this command:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install amule&lt;br /&gt;
&lt;br /&gt;
If you prefer to download the aMule can do it manually from [http://packages.debian.org/search?keywords=amule&amp;amp;searchon=names&amp;amp;suite=all&amp;amp;section=all this website]&lt;br /&gt;
&lt;br /&gt;
== Unofficial way ==&lt;br /&gt;
[http://www.amule.org/amule/index.php?action=profile;u=2524 Vollstrecker] maintains an unofficial repository for Stable and Testing branchs of Debian GNU/Linux. &lt;br /&gt;
&lt;br /&gt;
Packages, of that repository, are GPG signed, so follow this step as root:&lt;br /&gt;
 '''apt-key adv --recv-keys --keyserver wwwkeys.eu.pgp.net D63913EF50D0AE60'''&lt;br /&gt;
&lt;br /&gt;
=== [[aMule]] stable release ===&lt;br /&gt;
You can just install latest stable [[aMule]] version adding the following lines into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule-stable wx&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ stable amule-stable wx&lt;br /&gt;
&lt;br /&gt;
If you have wx from somewhere else, you can ommit it in theses lines, but don't cry if it won't work.&lt;br /&gt;
&lt;br /&gt;
Now run &amp;lt;code&amp;gt;apt-get update &amp;amp;&amp;amp; apt-get install amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the packages in the repo and how to get the key, look into the next section.&lt;br /&gt;
&lt;br /&gt;
=== [[aMule SVN]] release ===&lt;br /&gt;
You can also get the latest [[aMule SVN]] through debs adding the following line into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 &lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ stable amule&lt;br /&gt;
&lt;br /&gt;
If you need a recent Version of wx (2.8 atm), just append '''&amp;quot; wx&amp;quot;''' to the lines above. Be careful, between amule and wx is a space needed.&lt;br /&gt;
If you only want wx binaries installed, replace amule with wx.&lt;br /&gt;
&lt;br /&gt;
Now run ''aptitude update &amp;amp;&amp;amp; aptitude install amule''&lt;br /&gt;
&lt;br /&gt;
You might also want to take a look at the other available [[aMule]] utilities:&lt;br /&gt;
&lt;br /&gt;
'''[[aMule SVN]]'''&lt;br /&gt;
&lt;br /&gt;
* amule&lt;br /&gt;
* amule-alc&lt;br /&gt;
* amule-alcc&lt;br /&gt;
* amule-alcc-dbg&lt;br /&gt;
* amule-alc-dbg&lt;br /&gt;
* amule-cas&lt;br /&gt;
* amule-cas-dbg&lt;br /&gt;
* amule-cmd&lt;br /&gt;
* amule-cmd-dbg&lt;br /&gt;
* amule-common&lt;br /&gt;
* amule-daemon&lt;br /&gt;
* amule-daemon-dbg&lt;br /&gt;
* amule-dbg&lt;br /&gt;
* amule-ed2k&lt;br /&gt;
* amule-ed2k-dbg&lt;br /&gt;
* amule-i18n-ar&lt;br /&gt;
* amule-i18n-bg&lt;br /&gt;
* amule-i18n-ca&lt;br /&gt;
* amule-i18n-da&lt;br /&gt;
* amule-i18n-de&lt;br /&gt;
* amule-i18n-en-gb&lt;br /&gt;
* amule-i18n-en-us&lt;br /&gt;
* amule-i18n-es&lt;br /&gt;
* amule-i18n-es-mx&lt;br /&gt;
* amule-i18n-et-ee&lt;br /&gt;
* amule-i18n-eu&lt;br /&gt;
* amule-i18n-fi&lt;br /&gt;
* amule-i18n-fr&lt;br /&gt;
* amule-i18n-gl&lt;br /&gt;
* amule-i18n-hr&lt;br /&gt;
* amule-i18n-hu&lt;br /&gt;
* amule-i18n-it&lt;br /&gt;
* amule-i18n-it-ch&lt;br /&gt;
* amule-i18n-ko-kr&lt;br /&gt;
* amule-i18n-nl&lt;br /&gt;
* amule-i18n-pl&lt;br /&gt;
* amule-i18n-pt-br&lt;br /&gt;
* amule-i18n-pt-pt&lt;br /&gt;
* amule-i18n-ru&lt;br /&gt;
* amule-i18n-sl&lt;br /&gt;
* amule-i18n-sv&lt;br /&gt;
* amule-i18n-tr&lt;br /&gt;
* amule-i18n-zh-cn&lt;br /&gt;
* amule-i18n-zh-tw&lt;br /&gt;
* amule-remote-gui&lt;br /&gt;
* amule-remote-gui-dbg&lt;br /&gt;
* amule-skin-gnome&lt;br /&gt;
* amule-skin-kde4&lt;br /&gt;
* amule-skin-tango&lt;br /&gt;
* amule-skin-xfce&lt;br /&gt;
* amule-theme-default&lt;br /&gt;
* amule-utils&lt;br /&gt;
* amule-utils-gui&lt;br /&gt;
* amuleweb&lt;br /&gt;
* amuleweb-dbg&lt;br /&gt;
* amule-wxcas&lt;br /&gt;
* amule-wxcas-dbg&lt;br /&gt;
* amule-xas&lt;br /&gt;
&lt;br /&gt;
For example, if you think [[aMule]]'s [[AMuleWeb|Web interface]] rocks and you want to have it too, enter this line after the one above:&lt;br /&gt;
&lt;br /&gt;
For [[aMule SVN]] and [[aMule]] stable: ''aptitude install amuleweb''&lt;br /&gt;
&lt;br /&gt;
If you still want to compile [[aMule]] instead of just installing a binary, keep reading...&lt;br /&gt;
&lt;br /&gt;
= Ubuntu =&lt;br /&gt;
== Official way ==&lt;br /&gt;
=== Install packages ===&lt;br /&gt;
The latest stable versions of aMule are in the official [http://en.wikipedia.org/wiki/Software_repository Ubuntu repositories].&lt;br /&gt;
&lt;br /&gt;
You can use [http://en.wikipedia.org/wiki/Synaptic_Package_Manager Synaptic Package Manager] (if you use [http://en.wikipedia.org/wiki/GNOME GNOME]) or [http://en.wikipedia.org/wiki/KPackageKit KPackageKit]/[http://en.wikipedia.org/wiki/Adept_Manager Adept] (if you use [http://en.wikipedia.org/wiki/KDE KDE]). Then you must search and install '''amule''' package.&lt;br /&gt;
&lt;br /&gt;
If you prefer to use the terminal, enter this command:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install amule&lt;br /&gt;
&lt;br /&gt;
If you prefer to download the aMule can do it manually from [http://packages.ubuntu.com/search?keywords=amule&amp;amp;searchon=names&amp;amp;suite=all&amp;amp;section=all this website]&lt;br /&gt;
&lt;br /&gt;
= Compile and install aMule =&lt;br /&gt;
== Info: What aMule release needs what wxwidgets release? ==&lt;br /&gt;
* Debian Etch includes aMule 2.1.3 and wxwidgets 2.6.3&lt;br /&gt;
&lt;br /&gt;
* aMule 2.1.x needs wxwidgets 2.6. You cannot compile it with newer versions of wxwidgets.&lt;br /&gt;
* aMule 2.2.x needs wxwidgets 2.8. You cannot compile it with older versions of wxwidgets.&lt;br /&gt;
&lt;br /&gt;
== What developement packages do I need for compiling? ==&lt;br /&gt;
For compiling [[aMule SVN]] you need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
* libcrypto++-dev&lt;br /&gt;
* libgd2-xpm-dev&lt;br /&gt;
* libgeoip-dev&lt;br /&gt;
* libglib2.0-dev&lt;br /&gt;
* libpng12-dev&lt;br /&gt;
* libreadline5-dev&lt;br /&gt;
* libupnp3-dev&lt;br /&gt;
* libwxgtk2.8-dev&lt;br /&gt;
* wx2.8-i18n&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
* binutils-dev&lt;br /&gt;
&lt;br /&gt;
'''Warning''': ''64 bit users need to install a libxcb &amp;gt;= 1.1.92 if they want long uptimes.''&lt;br /&gt;
&lt;br /&gt;
== Preparing: Compiling and installing wxwidgets ==&lt;br /&gt;
This algorithm works for all Debian flavours.&lt;br /&gt;
&lt;br /&gt;
''Note: Recent versions of Ubuntu (Jaunty) have an (almost unpatched) libwxgtk good enough for use with aMule. Note that aMule developers require you compile your own wxWidgets.''&lt;br /&gt;
&lt;br /&gt;
To compile aMule, You need to have a current version of [[wxWidgets]] installed. To achieve that:&lt;br /&gt;
Uninstall every possibly previously installed wxwidgets stuff (see [[How to uninstall wxWidgets]]&lt;br /&gt;
and [[Check if wx is installed twice]])&lt;br /&gt;
You need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
* flex&lt;br /&gt;
* bison&lt;br /&gt;
* gettext&lt;br /&gt;
* libgtk2.0-dev&lt;br /&gt;
* python-all-dev (&amp;gt;= 2.4.3)&lt;br /&gt;
* python-all-dbg&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
* libjpeg62-dev&lt;br /&gt;
* libpng12-dev&lt;br /&gt;
* libtiff4-dev&lt;br /&gt;
* libsm-dev&lt;br /&gt;
* libgl1-mesa-dev '''or''' libgl-dev&lt;br /&gt;
* libglu1-mesa-dev '''or''' libglu-dev&lt;br /&gt;
* libesd0-dev&lt;br /&gt;
* libgnomeprintui2.2-dev&lt;br /&gt;
* libgconf2-dev&lt;br /&gt;
* libgstreamer0.10-dev&lt;br /&gt;
* libgstreamer-plugins-base0.10-dev&lt;br /&gt;
* bc&lt;br /&gt;
&lt;br /&gt;
# Download current wxwidgets wxGTK stable release source code tar ball from &amp;lt;tt&amp;gt;http://www.wxwidgets.org/downloads/&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ tar xvzf wxgtk-''version''.tar.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ cd wxGTK-''version''&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ make&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;# make install&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;# ldconfig&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ = command executed with normal user account&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; = command executed with root account&lt;br /&gt;
&lt;br /&gt;
== Compiling and installing aMule ==&lt;br /&gt;
Now that You have installed current wxGTK, go on to compile aMule:&lt;br /&gt;
# Install the needed packages mentioned in '''&amp;quot;What developement packages do I need for compiling?&amp;quot;'''&lt;br /&gt;
# Download aMule source code tar ball from &amp;lt;tt&amp;gt;http://www.amule.org&amp;lt;/tt&amp;gt; (note: For compiling aMule 2.1.3 you'll need a patch aviable [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 HERE]&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ tar xvjf aMule-''version''.tar.bz2&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ cd aMule-''version''&amp;lt;/tt&amp;gt;&lt;br /&gt;
# To have a look what features of aMule You can enable or disable: &amp;lt;tt&amp;gt;$ ./configure --help&amp;lt;/tt&amp;gt;&lt;br /&gt;
# You should be right with &amp;lt;tt&amp;gt;$ ./configure --disable-debug --enable-optimize&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;$ make&amp;lt;/tt&amp;gt;&lt;br /&gt;
# &amp;lt;tt&amp;gt;# make install&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ = command executed with normal user account&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; = command executed with root account&lt;br /&gt;
&lt;br /&gt;
That's it! Now You can start aMule with command &amp;quot;amule&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Building your own debian packages ==&lt;br /&gt;
First you have to get a source tarball. Note, that only [[aMule SVN]] and Releases of aMule 2.2.1 or later are able to build debain-packages directly.&lt;br /&gt;
&lt;br /&gt;
First install all needed tools:&lt;br /&gt;
&lt;br /&gt;
* build-essential&lt;br /&gt;
* debhelper&lt;br /&gt;
* libglib2.0-dev&lt;br /&gt;
* libgtk2.0-dev&lt;br /&gt;
* zlib1g-dev&lt;br /&gt;
* libwxgtk2.8-dev&lt;br /&gt;
* libgd2-xpm-dev&lt;br /&gt;
* bison&lt;br /&gt;
* flex&lt;br /&gt;
* libcrypto++-dev&lt;br /&gt;
* libreadline5-dev&lt;br /&gt;
* libgeoip-dev&lt;br /&gt;
* libupnp-dev&lt;br /&gt;
* devscripts&lt;br /&gt;
&lt;br /&gt;
'''All commands after here are entered in the top-dir of the extracted aMule-source-tarball (usually .../amule-cvs or .../aMule-&amp;lt;version&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
Create a new changelog Entry with (the version in the changelog indicates the version your packages will get): &lt;br /&gt;
 dch -v `date +%Y%m%d` New Upstream CVS Release&lt;br /&gt;
Now start the packages creation with:&lt;br /&gt;
 dpkg-buildpackage -uc -b -rfakeroot&lt;br /&gt;
Now you have all created debian-packages in the parent dir of you source-dir and can install them with:&lt;br /&gt;
 dpkg -i &amp;lt;package&amp;gt;&lt;br /&gt;
or build your own repository.&lt;br /&gt;
&lt;br /&gt;
If you want to build just a few packages instead of all, you can obtain information about how this works with:&lt;br /&gt;
 debian/rules help&lt;br /&gt;
&lt;br /&gt;
== You're done... ==&lt;br /&gt;
That's it! Your own compiled [[aMule]] is installed on your system and ready to go.&lt;br /&gt;
&lt;br /&gt;
To run [[aMule]], just type &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;. You can check if everything worked by typing &amp;lt;code&amp;gt;&amp;quot;amule -v&amp;quot;&amp;lt;/code&amp;gt; and check if the displayed version corresponds with the one you were compiling/installing.&lt;br /&gt;
&lt;br /&gt;
If this HowTo didn't help, you have a rare problem on your system ;-) Take a look at http://www.amule.org (aMule Forums at http://forum.amule.org ) or visit us in #amule on irc.freenode.net and (don't doubt) we'll try to do our best to help you.&lt;br /&gt;
&lt;br /&gt;
== Final notes ==&lt;br /&gt;
If you are in one of those rare cases when you wish to compile [[aMule]] statically, install also ''libtiff4-dev'' (through ''apt-get install libtiff4-dev''). Anyway, this is '''NOT''' recommended and, in fact, will probably not do any better or even, not work at all.&lt;/div&gt;</summary>
		<author><name>Miceliux</name></author>	</entry>

	</feed>