How To Install secilc on Fedora 36

In this tutorial we learn how to install secilc in Fedora 36. secilc is The SELinux CIL Compiler

Introduction

In this tutorial we learn how to install secilc on Fedora 36.

What is secilc

The SELinux CIL Compiler is a compiler that converts the CIL language as described on the CIL design wiki into a kernel binary policy file. Please see the CIL Design Wiki at http for more information about the goals and features on the CIL language.

We can use yum or dnf to install secilc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install secilc.

Install secilc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install secilc using dnf by running the following command:

sudo dnf -y install secilc

Install secilc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install secilc using yum by running the following command:

sudo yum -y install secilc

How To Uninstall secilc on Fedora 36

To uninstall only the secilc package we can use the following command:

sudo dnf remove secilc

secilc Package Contents on Fedora 36

/usr/bin/secil2conf
/usr/bin/secil2tree
/usr/bin/secilc
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/a15c86b1c17a47412ce1103cc2a4510f9f60df
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/da1921cbee6268395b98c8c1f7c1fd88740573
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/f9e389a60ae4b16d9b18af52b174b3e271bf5e
/usr/share/licenses/secilc
/usr/share/licenses/secilc/COPYING
/usr/share/man/man8/secil2conf.8.gz
/usr/share/man/man8/secil2tree.8.gz
/usr/share/man/man8/secilc.8.gz

References

Summary

In this tutorial we learn how to install secilc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).