Difference between revisions of "ALinkCreatorConsole"

From AMule Project FAQ
Jump to: navigation, search
(reorg and merge contents of Usage_aLinkCreatorConsole)
Line 3: Line 3:
 
</center>
 
</center>
  
== Description ==
+
'''ALinkCreatorConsole (alcc)''' is a command-line tool for creating [[Ed2k link]]s 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 the commandline-version of [[ALinkCreator|alc]], a tool for calculating and creating [[FAQ_ed2k#What_is_ED2K?|ED2K]]-[[Ed2k_link|link]]s from any file on your system, without running, or, if built with the ''--disable-mobolithic''-flag, even having installed aMule at all. It also is able to create part-hashes, and add them to the [[FAQ_ed2k#What_is_ED2K?|ED2K]]-[[Ed2k_link|link]].<br>
+
A brief guide about its usage is available in [[Usage_aLinkCreatorConsole|this article]].
+
  
== Note ==
+
alcc is also able to create part-hashes, i.e. hashes for incomplete files.
Since alcc, depending from the used binary, is not always installed per default, it maybe necessary to enable it during [[configure]], using the ''--enable-alcc''-flag.
+
 
If one intends to build an [http://www.rpm.org/ rpm] by using the [[Spec_file|specfile]], aMule is shipped with, it must additionally contain the entry ''%{_bindir}/alcc'' in the file-section, to avoid a message like "/usr/bin/alcc installed but not packaged", causing rpmbuild to abort.
+
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 [[Spec_file|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.

Revision as of 23:03, 21 December 2006

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.