Get the latest binary here and select the most recently released RankLib folder.
RankLib.jar (found in the bin directory if you compile from source) is a standalone program that can be used out of the box without any installation. To run it, simply do this:
> java -jar RankLib.jar
It should show you all the necessary parameters to use RankLib and you're all set!
See this page for more details about the parameters.
You can always get source codes for the latest version from the trunk with svn:
> svn checkout svn://svn.code.sf.net/p/lemur/code/RankLib/trunk
Looking for source codes for a particular release? Browse the source tree (Toolbar above this page --> Code).
This compiling instruction assumes you have ant installed on your machine. If you don't like ant, you can always compile RankLib the way you normally do for any java programs.
NOTE: Be sure that the JAVA_HOME environment variable is set to the location of your Java JDK.
Assuming you have installed ant and had the source codes in place, within a terminal, go to the RankLib directory and run the commands:
> ant
You should see something like this:
Buildfile: build.xml
init:
[delete] Deleting directory /mnt/nfs/work2/vdang/RankLib/build
[mkdir] Created dir: /mnt/nfs/work2/vdang/RankLib/build
[delete] Deleting directory /mnt/nfs/work2/vdang/RankLib/bin
[mkdir] Created dir: /mnt/nfs/work2/vdang/RankLib/bin
compile:
[javac] Compiling 55 source files to /mnt/nfs/work2/vdang/RankLib/build
dist:
[jar] Building jar: /mnt/nfs/work2/vdang/RankLib/bin/RankLib.jar
BUILD SUCCESSFUL
Total time: 4 seconds
This output indicates success.