How To Install Setfilecon In Debian, Ubuntu, Kali And Raspbian?

How To Install Setfilecon In Debian, Ubuntu, Kali And Raspbian?

setfilecon

SELinux utility programs

Maintainer: Debian SELinux maintainers



Section: admin

Install setfilecon

  • Debian apt-get install selinux-utils Click to copy
  • Ubuntu apt-get install selinux-utils Click to copy
  • Kali Linux apt-get install selinux-utils Click to copy
  • Raspbian apt-get install selinux-utils Click to copy

selinux-utils

SELinux utility programs

This package provides various utility programs for a Security-enhanced Linux system. Security-enhanced Linux is a patch of the Linux kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. This package provides utility programs to get and set process and file security contexts and to obtain security policy decisions.

Installing setfilecon command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali and Raspbian operating systems. Once you run the command it will install the latest version of setfilecon 2026 package in your OS.