1Please submit all bug reports and patches to selinux@tycho.nsa.gov. 2Subscribe via selinux-join@tycho.nsa.gov. 3 4Build dependencies on Fedora: 5yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig xmlto redhat-rpm-config 6 7To build and install everything under a private directory, run: 8make DESTDIR=~/obj install install-pywrap 9 10To install as the default system libraries and binaries 11(overwriting any previously installed ones - dangerous!), 12on x86_64, run: 13make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel 14or on x86 (32-bit), run: 15make install install-pywrap relabel 16 17This may render your system unusable if the upstream SELinux userspace 18lacks library functions or other dependencies relied upon by your 19distribution. If it breaks, you get to keep both pieces. 20 21To install libsepol on macOS (mainly for policy analysis): 22cd libsepol; make DESTDIR=/usr/local PREFIX=/usr/local install 23 24This requires GNU coreutils (brew install coreutils). 25