This is an old revision of the document!
Here's how to make an optimal build of latest bleeding-edge code on Ubuntu Linux. Most of it applies to other distros too.
sudo apt-get install build-essential libssl-dev
sudo apt-get install yasm libgmp-dev libpcap-dev libnss3-dev libkrb5-dev pkg-config
sudo apt-get install nvidia-cuda-toolkit nvidia-opencl-dev
sudo apt-get install fglrx-updates-dev
sudo apt-get install libopenmpi-dev openmpi-bin
sudo apt-get install subversion cmake bison flex mkdir ~/src && cd ~/src svn checkout http://rexgen.googlecode.com/svn/trunk/ rexgen cd rexgen/src mkdir build && cd build cmake .. make && sudo make install
cd ~/src git clone git://github.com/magnumripper/JohnTheRipper -b bleeding-jumbo john
cd ~/src/john/src # For MPI, use './configure --enable-mpi' below ./configure && make -s clean && make -sj4
$ ../run/john --test=0 --format=cpu
To benchmark, drop the =0
argument to –test
.
To test OpenCL or CUDA formats, or both, use –format=[cuda|opencl|cuda]
.
To test specific format(s) just name them. Wildcards are OK, eg. –format=lotus*