2015-02-20 17:26:27 +00:00
|
|
|
Please submit all bug reports and patches to selinux@tycho.nsa.gov.
|
|
|
|
Subscribe via selinux-join@tycho.nsa.gov.
|
|
|
|
|
2015-02-03 16:15:24 +00:00
|
|
|
Build dependencies on Fedora:
|
2016-12-21 18:21:04 +00:00
|
|
|
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 python-devel setools-devel swig xmlto redhat-rpm-config
|
2015-02-03 16:15:24 +00:00
|
|
|
|
2013-10-30 16:51:19 +00:00
|
|
|
To build and install everything under a private directory, run:
|
|
|
|
make DESTDIR=~/obj install install-pywrap
|
2013-10-28 17:34:47 +00:00
|
|
|
|
|
|
|
To install as the default system libraries and binaries
|
2013-10-30 16:51:19 +00:00
|
|
|
(overwriting any previously installed ones - dangerous!),
|
|
|
|
on x86_64, run:
|
2013-10-28 17:34:47 +00:00
|
|
|
make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel
|
2013-10-30 16:51:19 +00:00
|
|
|
or on x86 (32-bit), run:
|
|
|
|
make install install-pywrap relabel
|
2013-10-28 17:34:47 +00:00
|
|
|
|
|
|
|
This may render your system unusable if the upstream SELinux userspace
|
|
|
|
lacks library functions or other dependencies relied upon by your
|
|
|
|
distribution. If it breaks, you get to keep both pieces.
|
2017-01-20 17:15:59 +00:00
|
|
|
|
|
|
|
To install libsepol on macOS (mainly for policy analysis):
|
2018-02-14 09:57:03 +00:00
|
|
|
cd libsepol; make PREFIX=/usr/local install
|
2017-01-20 17:15:59 +00:00
|
|
|
|
|
|
|
This requires GNU coreutils (brew install coreutils).
|