Difference between revisions of "HowTo Compile In Slackware"

From AMule Project FAQ
Jump to: navigation, search
Line 1: Line 1:
 +
<h1>Installing [[aMule]] on [http://www.slackware.com Slackware]</h1>
 +
 
<center><h2>by ''Mike (servnov)''</h2></center>
 
<center><h2>by ''Mike (servnov)''</h2></center>
  
== Installing [[aMule]] on [http://www.slackware.com Slackware] ==
+
'''NOTE''': you will need super-user (usually ''root'') access to complete [[aMule]] install/uninstallation/update.
----
+
 
 +
== Installation ==
 +
 
 +
=== Installing [[wxWidgets|wxGTK]] ===
  
1) Download [[wxBase]] and [[wxWidgets|wxGTK]] sources (.tar.gz packages) from [http://www.amule-project.net http://www.amule-project.net] or [http://www.amule.org http://www.amule.org]
+
:Download [[wxWidgets|wxGTK]] sources (.tar.gz packages) from http://www.amule-project.net or http://www.amule.org and do the following:
:'''NOTE''': you will need root access or equivalent to complete [[aMule]] install.
+
  
2) INSTALL:
 
 
:''tar -xzvf wxGTK*''
 
:''tar -xzvf wxGTK*''
 
:''cd wxGTK*''
 
:''cd wxGTK*''
 
:''./configure''
 
:''./configure''
 
:''make''
 
:''make''
:''su''
+
: #the following command '''must''' be run as super-user (usually ''root''):
:(enter root password)
+
 
:''make install''
 
:''make install''
  
'''Optional for GUI (required for command line amule):'''
+
=== Installing [[wxBase]] (Optional) ===
 +
 
 +
:'''If you downloaded [[wxWidgets|wxGTK]] earlier than version 2.5 and you are planning to use [[aMule]] with command line interface (such as [[aMuleCMD]], [[aMuleWeb]], [[aMuled]], etc), then you you should install [[wxBase]]. In any other case, there's no need at all.'''
 +
 
 +
:Download [[wxBase]] sources (.tar.gz packages) from http://www.amule-project.net or http://www.amule.org and do the following:
 +
 
 
:''tar -xzvf wxBase*''
 
:''tar -xzvf wxBase*''
 
:''cd wxBase*''
 
:''cd wxBase*''
 
:''./configure''
 
:''./configure''
 
:''make''
 
:''make''
:''su''
+
: #the following command '''must''' be run as super-user (usually ''root''):
:(enter root password)
+
 
:''make install''
 
:''make install''
  
 
+
=== Installing [[aMule]] ===
  
 
:Grab pre-built [http://www.slackware.com Slackware] package from [http://www.linuxpackages.net/search_view.php?by=name&name=amule&ver= linuxpackages.net].
 
:Grab pre-built [http://www.slackware.com Slackware] package from [http://www.linuxpackages.net/search_view.php?by=name&name=amule&ver= linuxpackages.net].
  
 
+
:''installpkg aMule-2.0.0rc7-i686-1.tgz'' (or whatever the newest version is)
 
+
:''installpkg aMule-2.0.0rc7-i686-1.tgz'' (or whatever current version is)
+
  
 
:That's all!
 
:That's all!
Line 37: Line 41:
 
:Type ''amule'' in a shell to lauch or in [http://www.kde.org KDE] (similar in [http://www.gnome.org GNOME]) go to Kstart->Internet->aMule
 
:Type ''amule'' in a shell to lauch or in [http://www.kde.org KDE] (similar in [http://www.gnome.org GNOME]) go to Kstart->Internet->aMule
  
3) UNINSTALL:
+
== Updating ==
:''removepkg aMule''
+
  
4) UPDATING AMULE VERSION:
+
:The following command will remove the old [[aMule]] package and install the new version:
:''upgradepkg aMule-2.0.0rc7-i686-1.tgz'' (will remove old amule package and install new version)
+
  
Hope this helps.
+
:''upgradepkg aMule-2.0.0rc7-i686-1.tgz''
  
Catch me on [[IRC]] at irc.freenode.com channel #amule nick '''servnov'''
+
== Uninstallation ==
 +
 
 +
:The following command will remove [[aMule]]:
 +
 
 +
:''removepkg aMule''
  
== Final note ==
 
 
----
 
----
  
You can even get wxBase and wxGTK .tgz slack packages and install with 'installpkg'. Using the slackware package manager saves time during install and makes upgrading easy.  
+
== Final note ==
 +
 
 +
You can even get [[wxBase]] and [[wxWidgets|wxGTK]] .tgz [http://www.slackware.com Slackware] packages and install with 'installpkg'. Using the [http://www.slackware.com Slackware] package manager saves time during installation and makes upgrading easy.
 
You can also type 'pkgtool' as root and then search for the packages you have downloaded and install and/or remove packages.  
 
You can also type 'pkgtool' as root and then search for the packages you have downloaded and install and/or remove packages.  
  
 
Enjoy the hard work [[aMule]] [[AMule_devs|developers]] have done and continue to do!
 
Enjoy the hard work [[aMule]] [[AMule_devs|developers]] have done and continue to do!
 
  
 
Just remember you will need [[wxBase]] and [[wxWidgets|wxGTK]] installed even when using [http://www.slackware.com Slackware] package.
 
Just remember you will need [[wxBase]] and [[wxWidgets|wxGTK]] installed even when using [http://www.slackware.com Slackware] package.
 +
 +
----
 +
 +
Hope this helps.
 +
 +
Catch me on [[IRC]] at [irc://irc.freenode.net irc.freenode.com] channel [irc://irc.freenode.net/amule #amule] nick '''servnov'''.

Revision as of 19:28, 11 November 2004

Installing aMule on Slackware

by Mike (servnov)

NOTE: you will need super-user (usually root) access to complete aMule install/uninstallation/update.

Installation

Installing wxGTK

Download wxGTK sources (.tar.gz packages) from http://www.amule-project.net or http://www.amule.org and do the following:
tar -xzvf wxGTK*
cd wxGTK*
./configure
make
#the following command must be run as super-user (usually root):
make install

Installing wxBase (Optional)

If you downloaded wxGTK earlier than version 2.5 and you are planning to use aMule with command line interface (such as aMuleCMD, aMuleWeb, aMuled, etc), then you you should install wxBase. In any other case, there's no need at all.
Download wxBase sources (.tar.gz packages) from http://www.amule-project.net or http://www.amule.org and do the following:
tar -xzvf wxBase*
cd wxBase*
./configure
make
#the following command must be run as super-user (usually root):
make install

Installing aMule

Grab pre-built Slackware package from linuxpackages.net.
installpkg aMule-2.0.0rc7-i686-1.tgz (or whatever the newest version is)
That's all!
Type amule in a shell to lauch or in KDE (similar in GNOME) go to Kstart->Internet->aMule

Updating

The following command will remove the old aMule package and install the new version:
upgradepkg aMule-2.0.0rc7-i686-1.tgz

Uninstallation

The following command will remove aMule:
removepkg aMule

Final note

You can even get wxBase and wxGTK .tgz Slackware packages and install with 'installpkg'. Using the Slackware package manager saves time during installation and makes upgrading easy. You can also type 'pkgtool' as root and then search for the packages you have downloaded and install and/or remove packages.

Enjoy the hard work aMule developers have done and continue to do!

Just remember you will need wxBase and wxGTK installed even when using Slackware package.


Hope this helps.

Catch me on IRC at irc.freenode.com channel #amule nick servnov.