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