openSUSE\SLES installation of privacyideaadm

Hello,

I’ll like to install single package privacyideaadm in openSUSE but how can
I do it?
Is there avalible any repo or package for SUSE linux or should I install it
via Python Package Index and if yes how?

Thanks,
Michal

You need to use pip.
And probably need man dependencies.

pip install privacyideaadm

pip -h

pip search privacyidea

Kind regards
CorneliusAm Mittwoch, den 13.07.2016, 03:30 -0700 schrieb Michał Lewndowski:

Hello,

I’ll like to install single package privacyideaadm in openSUSE but how
can I do it?
Is there avalible any repo or package for SUSE linux or should I
install it via Python Package Index and if yes how?

Thanks,
Michal

Please read the blog post about getting help
Getting help – privacyID3A.

For professional services and consultancy regarding two factor
authentication please visit
One Time Services - NetKnights - IT-Sicherheit - Zwei-Faktor-Authentisierung - Verschlüsselung

In an enterprise environment you should get a SERVICE LEVEL AGREEMENT
which suites your needs for SECURITY, AVAILABILITY and LIABILITY:
privacyIDEA Support Level

You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
Visit this group at https://groups.google.com/group/privacyidea.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/5b041213-7fb0-44fe-8399-422d7d15f848%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (836 Bytes)

Thanks for very fast response Cornelius!
So I should follow below steps:

wget
https://pypi.python.org/packages/0e/c8/c6e1488514180bfe2c0b7e245895400daf7fad08ac0e1a0564877de3dddf/privacyIDEA-2.13.tar.gz#md5=c67f918a5291822f71a5b61a7cded1e9
tar xfv privacyIDEA-2.13.tar.gz
virtualenv /opt/privacyidea
cd /opt/privacyidea
source bin/activate
pip install privacyideaadm

Because when I do installation like that I get error message:
In file included from src/module.c:24:0:
src/connection.h:33:21: fatal error: sqlite3.h: No such file or
directory
#include “sqlite3.h”
^
compilation terminated.
error: command ‘gcc’ failed with exit status 1----------------------------------------
Command "/opt/privacyidea/bin/python -u -c "import setuptools,
tokenize;file=’/tmp/pip-build-FaWoxL/pysqlite/setup.py’;exec(compile(getattr(tokenize,
‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))“
install --record /tmp/pip-zBIzv8-record/install-record.txt
–single-version-externally-managed --compile --install-headers
/opt/privacyidea/include/site/python2.7/pysqlite” failed with error code 1
in /tmp/pip-build-FaWoxL/pysqlite

This means you haven’t the dev-libs for sqlite installed …Am Mittwoch, 13. Juli 2016 13:54:51 UTC+2 schrieb Michał Lewndowski:

Thanks for very fast response Cornelius!
So I should follow below steps:

wget
https://pypi.python.org/packages/0e/c8/c6e1488514180bfe2c0b7e245895400daf7fad08ac0e1a0564877de3dddf/privacyIDEA-2.13.tar.gz#md5=c67f918a5291822f71a5b61a7cded1e9
tar xfv privacyIDEA-2.13.tar.gz
virtualenv /opt/privacyidea
cd /opt/privacyidea
source bin/activate
pip install privacyideaadm

Because when I do installation like that I get error message:
In file included from src/module.c:24:0:
src/connection.h:33:21: fatal error: sqlite3.h: No such file or
directory
#include “sqlite3.h”
^
compilation terminated.
error: command ‘gcc’ failed with exit status 1

----------------------------------------

Command “/opt/privacyidea/bin/python -u -c “import setuptools,
tokenize;file=‘/tmp/pip-build-FaWoxL/pysqlite/setup.py’;exec(compile(getattr(tokenize,
‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file, ‘exec’))”
install --record /tmp/pip-zBIzv8-record/install-record.txt
–single-version-externally-managed --compile --install-headers
/opt/privacyidea/include/site/python2.7/pysqlite” failed with error code 1
in /tmp/pip-build-FaWoxL/pysqlite