Difference between revisions of "CryptoppDebian"
m (typo) |
Vollstrecker (Talk | contribs) m (Update) |
||
Line 3: | Line 3: | ||
'''IMPORTANT:''' ''Please be aware that you need to have super-user (root) priviledges to follow this document'' | '''IMPORTANT:''' ''Please be aware that you need to have super-user (root) priviledges to follow this document'' | ||
− | == How to get [[libcrypto|crypto++]] working on [[Debian]] | + | == How to get [[libcrypto|crypto++]] working on [[Debian]] (from deb package): == |
Simply run this two commands | Simply run this two commands | ||
Line 10: | Line 10: | ||
''apt-get install libcrypto++-dev'' | ''apt-get install libcrypto++-dev'' | ||
− | + | == How to get [[Libcrypto|crypto++]] working on [[Debian]] (from [[Debian]] sources): == | |
− | + | Get [[Libcrypto|libcrypto++]] sources; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | Get [[Libcrypto|libcrypto++]] sources | + | |
Add this line to ''/etc/apt/sources.list'': | Add this line to ''/etc/apt/sources.list'': | ||
− | ''deb-src <nowiki>http://ftp.</nowiki>'''yourcountrytld'''.debian.org/debian/ | + | ''deb-src <nowiki>http://ftp.</nowiki>'''yourcountrytld'''.debian.org/debian/ <your-distro> main non-free contrib'' |
and run | and run | ||
Line 44: | Line 25: | ||
or | or | ||
− | ''apt-get source libcrypto++, cd | + | ''apt-get source libcrypto++, cd into the created dir, dpkg-buildpackage -b -B -uc'' |
− | After | + | After compiling (''dpkg -i libcrypto*.deb'') |
== Self-compiling [[Libcrypto|Crypto++]] == | == Self-compiling [[Libcrypto|Crypto++]] == |
Revision as of 18:10, 11 January 2008
IMPORTANT: Please be aware that you need to have super-user (root) priviledges to follow this document
Contents
How to get crypto++ working on Debian (from deb package):
Simply run this two commands
apt-get update
apt-get install libcrypto++-dev
How to get crypto++ working on Debian (from Debian sources):
Get libcrypto++ sources;
Add this line to /etc/apt/sources.list:
deb-src http://ftp.yourcountrytld.debian.org/debian/ <your-distro> main non-free contrib
and run
apt-get update
apt-get source -b libcrypto++
or
apt-get source libcrypto++, cd into the created dir, dpkg-buildpackage -b -B -uc
After compiling (dpkg -i libcrypto*.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!