Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I install Fedora 18 without SELinux ever being part of the installation? I don't want to just disable SELinux after it's installed, I want to never install SELinux at all. Is there a way to do this using the CD image and Live System User?

share|improve this question

migrated from serverfault.com Apr 12 '13 at 6:50

This question came from our site for system and network administrators.

Not without recompiling the kernel and probably a whole bunch of userland utilities. SELinux is, after all, a core part of the Linux kernel, and the system design assumes it will be available, even if not in use.

Since you didn't specify why you want to do this (you should have) it's hard to advise further. Whatever it is, it's probably a bad idea.

To disable SELinux, edit the /etc/selinux/config file and set SELINUX=disabled. If you're doing a kickstart installation, you can always set this in the %post section, so that it's already disabled on first boot.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.