ALinkCreatorConsole

From AMule Project FAQ
Revision as of 23:03, 21 December 2006 by Colin (Talk | contribs)

Jump to: navigation, search

English | Deutsch |Spanish

ALinkCreatorConsole (alcc) is a command-line tool for creating Ed2k links for files. It is a text-only equivalent of ALinkCreator (alc). alcc, like alc, calculates the ed2k hashes of files and displays the output formatted as a link that you can, for example, save in a file, paste in a web page, or send to a friend.

alcc is also able to create part-hashes, i.e. hashes for incomplete files.

alcc can be used without having the full aMule package installed.

Installing alcc

Many of not most distros have an aMule package in their repositories. If you install aMule by means of RPM, DEB, or other package management system, alcc will be included in the installation.

This is the easiest and preferred method of installing alcc.

Compiling alcc

If you have not installed aMule by means of a package, you will need to compile it from source.

alcc is not compiled separately; it is compiled at the same time you compile aMule by using the --enable-alcc flag when you run configure. (See the Main Page for links to pages on compiling aMule for various operating systems).

Using alcc

To run alcc, type "alcc" on the command line in a terminal followed by a file name:

$ alcc <filename>

Multiple filenames can be supplied, separated by spaces:

$ alcc <filename1> <filename1> <filename3>.

You can copy its output from screen for use elsewhere.

Note: If you intend to build an rpm by using the specfile, aMule is shipped with, you need to add the entry %{_bindir}/alcc in the file-section. Otherise, an error message will displayed, "/usr/bin/alcc installed but not packaged",and rpmbuild will abort.