CryptoppDebian

From AMule Project FAQ
Revision as of 00:33, 1 October 2004 by Jacobo221 (Talk | contribs)

Jump to: navigation, search



IMPORTANT: Please be aware that you need to have super-user (root) priviledges to follow this document

How to get crypto++ working on Debian Sid/Unstable (from deb package):

Simply run this two commands

apt-get update
apt-get install libcrypto++-dev

You needed previously to add a link, hoppefully, the bug is now fixed

How to get crypto++ working on Debian Sarge/Testing and Woody/Stable (from deb package):

Get libcrypto++ backport package to Sarge and Woody (thanks, thermoman) by adding this line to /etc/apt/sources.list:

deb http://debian.thermoman.de/ woody libcrypto++

Then run

apt-get update apt-get install libcrypto++5.1 libcrypto++-dev

After installing, make a symbolic link in /usr/include/crypto++ from cryptopp_config.h to config.h in the same directory:

ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h

NOTE: You have to link the files because of a bug in Debian libcrypto++ package

How to get crypto++ working on Debian Sarge/Testing (from Debian sources):

Get libcrypto++ sources from Sid

Add this line to /etc/apt/sources.list:

deb-src http://ftp.yourcountrytld.debian.org/debian/ sid main non-free contrib

and run

apt-get update
apt-get source -b libcrypto++

or

apt-get source libcrypto++, cd libcrypto++-5.2.1a, dpkg-buildpackage -b -B -uc

After installing (dpkg -i libcrypto++5.2_5.2.1a-1_i386.deb)

Self-compiling Crypto++

You could compile libcrypto yourself too. Take a look at our compilation howto.

Hasty installation

Please note that this installation method has the disadvantage that the crypto++ packages wont be updated automatically along with the rest of your system!

  • Download the crypto++ package that matches your arch here.
  • If you want to compile aMule yourself, download the crypto++-dev package that matches your arch here.
  • Use the command dpkg -i <filename> on the downloaded files as root, and you're done.