aMule Forum
English => aMule Help => Topic started by: Philh on March 30, 2007, 04:18:50 PM
-
As a fairly new Linux User - well not that new - i have compiled amuled with webserver which was easy and straight forward once you had all the lib's. And its a great package. The question is that I want to clean my server after all th eplayong about with linux ive done - its a bit of a mess. Is there anyway to copy the compiled verson of amule so that when I reinstall my sytem I can install it with out recompiling? The thing I dont know is that does amule when running consantly pull info from the Lib's etc? Look forward to a responce,
Cheers
P
-
Hi:
What distribution (Suse, Ubuntu, Gentoo, Fedora,...) are you using? Usually it is preferable to use the native package format, but you can create a 'package' using other methods, too.
Do configure and make as usual, but execute make DESTDIR=./pkg install instead of make install. Now you'll have all files in the directory ./pkg and you can tar them. (create a tar.bzip2 or tar.gz package).
To install the package, just unpack it to /.
-
Thanks for the responce - it is Debian Sarge I am using but only command line, with web interface.
Would this still work?
And do I need to install all the libs etc seperately or will this pkg do it all?
Cheers,
Phil
-
Oh, on Debian it's as hard as executing "apt-get install amule-daemon" to get a nice working version of amuled with webserver.
If you would like to use particular versions of a library (e.g. wxBase 2.8 instead of wxBase 2.6) or aMule (aMule CVS), then I'ld recommend using the tool "checkinstall" to create quick-and-dirty deb-packages.
After installing checkinstall you just execute "checkinstall" instead of "make install" after compiling the application to create the package (you have to answer some questions). Installation is via "dpkg -i package.deb".
-
Thanks for that - the one thing that I havent got my head around in linux so far is what sources to use? For example i tried to do a apt-get install but cant find the package - where can i get a good source to add to my sources?
I think this is why I intially compiled it - which is good as it gave me some understanding but I am not at the advanced stage yet where I care/ or want to use newer or upgraded libs! Im sure ill get there!
Any pointers on the source would be greatly appreciated,
Cheers,
P
-
hi,
look here:
http://forum.amule.org/index.php?topic=10279.msg56336#msg56336 (http://forum.amule.org/index.php?topic=10279.msg56336#msg56336)
you have to insert the "code " in your /etc/apt/source_list
then as root run:
apt-get update
and then
apt-get install name_of_the_pkgs_you_want
bye the way, sarge, where there wasn't amule, is no more stable (i.e. now sarge is oldstable), the new stable is now Etch (and here you can find amule).
bye.