1Please submit all bug reports and patches to selinux@vger.kernel.org. 2Subscribe by sending "subscribe selinux" in the body of an email 3to majordomo@vger.kernel.org. 4 5Build dependencies on Fedora: 6yum 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 python3-devel python3-setools swig xmlto redhat-rpm-config 7 8To build and install everything under a private directory, run: 9make DESTDIR=~/obj install install-pywrap 10 11To install as the default system libraries and binaries 12(overwriting any previously installed ones - dangerous!), 13on x86_64, run: 14make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel 15or on x86 (32-bit), run: 16make install install-pywrap relabel 17 18This may render your system unusable if the upstream SELinux userspace 19lacks library functions or other dependencies relied upon by your 20distribution. If it breaks, you get to keep both pieces. 21 22To install libsepol on macOS (mainly for policy analysis): 23cd libsepol; make PREFIX=/usr/local install 24 25This requires GNU coreutils (brew install coreutils). 26