There was an error while loading. Please reload this page.
SETools now requires libsepol 2.5, which is not available on Ubuntu 15. The following instructions are no longer complete.
This doc describes how to install setools 4 on ubuntu 15.10 with python2.7.
$ sudo apt-get install bison flex libsepol1 swig gcc libbz2-dev mock $ sudo apt-get install libsepol1-dev sepol-utils libselinux1-dev selinux-utils libselinux1 $ sudo apt-get install python-PyQt5 python-selinux python-setools python-mock python-pip python2.7-dev $ sudo pip install networkx
if you want to pass all tests, you should install libsepol from sourcecode and apply libsepol-2.4-mls-semantic-level-expand.patch.
you can apply the patch simply:
$ patch -p1 < patches/use-libsepol-2.3.diff
export SEPOL=/usr/lib/x86_64-linux-gnu/libsepol.a python setup.py build sudo -E python setup.py install