-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
vmojzis edited this page Feb 8, 2017
·
2 revisions
- setools 4 (installed using python3)
- setuptools
- libselinux (Python bindings optional but recommended)
- python3
- libbz2
- bzip2-devel
- setools
- selinux-policy-devel
- libsepol-static
- python3-networkx
- PyQt5 (only if using graphical tools)
- python3-PyQt5
- redhat-rpm-config (qpol compilation)
You need to have SETools v4 package installed including all dependencies (using python 3). Use commit faaf1a5b64e2e596bf94e5d31e81e834f1d5f764 or older (newer versions are not tested with this project).
SETools v4 should be inside this project folder under "setools" (otherwise edit the include statement in "policy_data_collection.py")
$cd sepolicy_analysis
$git clone https://github.com/TresysTechnology/setools.git
$git checkout faaf1a5b64e2e596bf94e5d31e81e834f1d5f764
$sudo python3 setup.py build_ext -i