How To Install libsemanage-devel on Rocky Linux 8

In this tutorial we learn how to install libsemanage-devel on Rocky Linux 8. libsemanage-devel is Header files and libraries used to build policy manipulation tools

Introduction

In this tutorial we learn how to install libsemanage-devel on Rocky Linux 8.

What is libsemanage-devel

The semanage-devel package contains the libraries and header files needed for developing applications that manipulate binary policies.

We can use yum or dnf to install libsemanage-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsemanage-devel.

Install libsemanage-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsemanage-devel

Install libsemanage-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libsemanage-devel using yum by running the following command:

sudo yum -y install libsemanage-devel

How To Uninstall libsemanage-devel on Rocky Linux 8

To uninstall only the libsemanage-devel package we can use the following command:

sudo dnf remove libsemanage-devel

libsemanage-devel Package Contents on Rocky Linux 8

/usr/include/semanage
/usr/include/semanage/boolean_record.h
/usr/include/semanage/booleans_active.h
/usr/include/semanage/booleans_local.h
/usr/include/semanage/booleans_policy.h
/usr/include/semanage/context_record.h
/usr/include/semanage/debug.h
/usr/include/semanage/fcontext_record.h
/usr/include/semanage/fcontexts_local.h
/usr/include/semanage/fcontexts_policy.h
/usr/include/semanage/handle.h
/usr/include/semanage/ibendport_record.h
/usr/include/semanage/ibendports_local.h
/usr/include/semanage/ibendports_policy.h
/usr/include/semanage/ibpkey_record.h
/usr/include/semanage/ibpkeys_local.h
/usr/include/semanage/ibpkeys_policy.h
/usr/include/semanage/iface_record.h
/usr/include/semanage/interfaces_local.h
/usr/include/semanage/interfaces_policy.h
/usr/include/semanage/modules.h
/usr/include/semanage/node_record.h
/usr/include/semanage/nodes_local.h
/usr/include/semanage/nodes_policy.h
/usr/include/semanage/port_record.h
/usr/include/semanage/ports_local.h
/usr/include/semanage/ports_policy.h
/usr/include/semanage/semanage.h
/usr/include/semanage/seuser_record.h
/usr/include/semanage/seusers_local.h
/usr/include/semanage/seusers_policy.h
/usr/include/semanage/user_record.h
/usr/include/semanage/users_local.h
/usr/include/semanage/users_policy.h
/usr/lib/libsemanage.so
/usr/lib/pkgconfig/libsemanage.pc
/usr/share/man/man3/semanage_bool.3.gz
/usr/share/man/man3/semanage_bool_count.3.gz
/usr/share/man/man3/semanage_bool_count_active.3.gz
/usr/share/man/man3/semanage_bool_count_local.3.gz
/usr/share/man/man3/semanage_bool_del_local.3.gz
/usr/share/man/man3/semanage_bool_exists.3.gz
/usr/share/man/man3/semanage_bool_exists_active.3.gz
/usr/share/man/man3/semanage_bool_exists_local.3.gz
/usr/share/man/man3/semanage_bool_iterate.3.gz
/usr/share/man/man3/semanage_bool_iterate_active.3.gz
/usr/share/man/man3/semanage_bool_iterate_local.3.gz
/usr/share/man/man3/semanage_bool_list.3.gz
/usr/share/man/man3/semanage_bool_list_active.3.gz
/usr/share/man/man3/semanage_bool_list_local.3.gz
/usr/share/man/man3/semanage_bool_modify_local.3.gz
/usr/share/man/man3/semanage_bool_query.3.gz
/usr/share/man/man3/semanage_bool_query_active.3.gz
/usr/share/man/man3/semanage_bool_query_local.3.gz
/usr/share/man/man3/semanage_bool_set_active.3.gz
/usr/share/man/man3/semanage_count.3.gz
/usr/share/man/man3/semanage_del.3.gz
/usr/share/man/man3/semanage_exists.3.gz
/usr/share/man/man3/semanage_fcontext.3.gz
/usr/share/man/man3/semanage_fcontext_count.3.gz
/usr/share/man/man3/semanage_fcontext_count_local.3.gz
/usr/share/man/man3/semanage_fcontext_del_local.3.gz
/usr/share/man/man3/semanage_fcontext_exists.3.gz
/usr/share/man/man3/semanage_fcontext_exists_local.3.gz
/usr/share/man/man3/semanage_fcontext_iterate.3.gz
/usr/share/man/man3/semanage_fcontext_iterate_local.3.gz
/usr/share/man/man3/semanage_fcontext_list.3.gz
/usr/share/man/man3/semanage_fcontext_list_local.3.gz
/usr/share/man/man3/semanage_fcontext_modify_local.3.gz
/usr/share/man/man3/semanage_fcontext_query.3.gz
/usr/share/man/man3/semanage_fcontext_query_local.3.gz
/usr/share/man/man3/semanage_iface.3.gz
/usr/share/man/man3/semanage_iface_count.3.gz
/usr/share/man/man3/semanage_iface_count_local.3.gz
/usr/share/man/man3/semanage_iface_del_local.3.gz
/usr/share/man/man3/semanage_iface_exists.3.gz
/usr/share/man/man3/semanage_iface_exists_local.3.gz
/usr/share/man/man3/semanage_iface_iterate.3.gz
/usr/share/man/man3/semanage_iface_iterate_local.3.gz
/usr/share/man/man3/semanage_iface_list.3.gz
/usr/share/man/man3/semanage_iface_list_local.3.gz
/usr/share/man/man3/semanage_iface_modify_local.3.gz
/usr/share/man/man3/semanage_iface_query.3.gz
/usr/share/man/man3/semanage_iface_query_local.3.gz
/usr/share/man/man3/semanage_iterate.3.gz
/usr/share/man/man3/semanage_list.3.gz
/usr/share/man/man3/semanage_modify.3.gz
/usr/share/man/man3/semanage_node.3.gz
/usr/share/man/man3/semanage_node_count.3.gz
/usr/share/man/man3/semanage_node_count_local.3.gz
/usr/share/man/man3/semanage_node_del_local.3.gz
/usr/share/man/man3/semanage_node_exists.3.gz
/usr/share/man/man3/semanage_node_exists_local.3.gz
/usr/share/man/man3/semanage_node_iterate.3.gz
/usr/share/man/man3/semanage_node_iterate_local.3.gz
/usr/share/man/man3/semanage_node_list.3.gz
/usr/share/man/man3/semanage_node_list_local.3.gz
/usr/share/man/man3/semanage_node_modify_local.3.gz
/usr/share/man/man3/semanage_node_query.3.gz
/usr/share/man/man3/semanage_node_query_local.3.gz
/usr/share/man/man3/semanage_port.3.gz
/usr/share/man/man3/semanage_port_count.3.gz
/usr/share/man/man3/semanage_port_count_local.3.gz
/usr/share/man/man3/semanage_port_del_local.3.gz
/usr/share/man/man3/semanage_port_exists.3.gz
/usr/share/man/man3/semanage_port_exists_local.3.gz
/usr/share/man/man3/semanage_port_iterate.3.gz
/usr/share/man/man3/semanage_port_iterate_local.3.gz
/usr/share/man/man3/semanage_port_list.3.gz
/usr/share/man/man3/semanage_port_list_local.3.gz
/usr/share/man/man3/semanage_port_modify_local.3.gz
/usr/share/man/man3/semanage_port_query.3.gz
/usr/share/man/man3/semanage_port_query_local.3.gz
/usr/share/man/man3/semanage_query.3.gz
/usr/share/man/man3/semanage_set_root.3.gz
/usr/share/man/man3/semanage_seuser.3.gz
/usr/share/man/man3/semanage_seuser_count.3.gz
/usr/share/man/man3/semanage_seuser_count_local.3.gz
/usr/share/man/man3/semanage_seuser_del_local.3.gz
/usr/share/man/man3/semanage_seuser_exists.3.gz
/usr/share/man/man3/semanage_seuser_exists_local.3.gz
/usr/share/man/man3/semanage_seuser_iterate.3.gz
/usr/share/man/man3/semanage_seuser_iterate_local.3.gz
/usr/share/man/man3/semanage_seuser_list.3.gz
/usr/share/man/man3/semanage_seuser_list_local.3.gz
/usr/share/man/man3/semanage_seuser_modify_local.3.gz
/usr/share/man/man3/semanage_seuser_query.3.gz
/usr/share/man/man3/semanage_seuser_query_local.3.gz
/usr/share/man/man3/semanage_user.3.gz
/usr/share/man/man3/semanage_user_count.3.gz
/usr/share/man/man3/semanage_user_count_local.3.gz
/usr/share/man/man3/semanage_user_del_local.3.gz
/usr/share/man/man3/semanage_user_exists.3.gz
/usr/share/man/man3/semanage_user_exists_local.3.gz
/usr/share/man/man3/semanage_user_iterate.3.gz
/usr/share/man/man3/semanage_user_iterate_local.3.gz
/usr/share/man/man3/semanage_user_list.3.gz
/usr/share/man/man3/semanage_user_list_local.3.gz
/usr/share/man/man3/semanage_user_modify_local.3.gz
/usr/share/man/man3/semanage_user_query.3.gz
/usr/share/man/man3/semanage_user_query_local.3.gz
/usr/include/semanage
/usr/include/semanage/boolean_record.h
/usr/include/semanage/booleans_active.h
/usr/include/semanage/booleans_local.h
/usr/include/semanage/booleans_policy.h
/usr/include/semanage/context_record.h
/usr/include/semanage/debug.h
/usr/include/semanage/fcontext_record.h
/usr/include/semanage/fcontexts_local.h
/usr/include/semanage/fcontexts_policy.h
/usr/include/semanage/handle.h
/usr/include/semanage/ibendport_record.h
/usr/include/semanage/ibendports_local.h
/usr/include/semanage/ibendports_policy.h
/usr/include/semanage/ibpkey_record.h
/usr/include/semanage/ibpkeys_local.h
/usr/include/semanage/ibpkeys_policy.h
/usr/include/semanage/iface_record.h
/usr/include/semanage/interfaces_local.h
/usr/include/semanage/interfaces_policy.h
/usr/include/semanage/modules.h
/usr/include/semanage/node_record.h
/usr/include/semanage/nodes_local.h
/usr/include/semanage/nodes_policy.h
/usr/include/semanage/port_record.h
/usr/include/semanage/ports_local.h
/usr/include/semanage/ports_policy.h
/usr/include/semanage/semanage.h
/usr/include/semanage/seuser_record.h
/usr/include/semanage/seusers_local.h
/usr/include/semanage/seusers_policy.h
/usr/include/semanage/user_record.h
/usr/include/semanage/users_local.h
/usr/include/semanage/users_policy.h
/usr/lib64/libsemanage.so
/usr/lib64/pkgconfig/libsemanage.pc
/usr/share/man/man3/semanage_bool.3.gz
/usr/share/man/man3/semanage_bool_count.3.gz
/usr/share/man/man3/semanage_bool_count_active.3.gz
/usr/share/man/man3/semanage_bool_count_local.3.gz
/usr/share/man/man3/semanage_bool_del_local.3.gz
/usr/share/man/man3/semanage_bool_exists.3.gz
/usr/share/man/man3/semanage_bool_exists_active.3.gz
/usr/share/man/man3/semanage_bool_exists_local.3.gz
/usr/share/man/man3/semanage_bool_iterate.3.gz
/usr/share/man/man3/semanage_bool_iterate_active.3.gz
/usr/share/man/man3/semanage_bool_iterate_local.3.gz
/usr/share/man/man3/semanage_bool_list.3.gz
/usr/share/man/man3/semanage_bool_list_active.3.gz
/usr/share/man/man3/semanage_bool_list_local.3.gz
/usr/share/man/man3/semanage_bool_modify_local.3.gz
/usr/share/man/man3/semanage_bool_query.3.gz
/usr/share/man/man3/semanage_bool_query_active.3.gz
/usr/share/man/man3/semanage_bool_query_local.3.gz
/usr/share/man/man3/semanage_bool_set_active.3.gz
/usr/share/man/man3/semanage_count.3.gz
/usr/share/man/man3/semanage_del.3.gz
/usr/share/man/man3/semanage_exists.3.gz
/usr/share/man/man3/semanage_fcontext.3.gz
/usr/share/man/man3/semanage_fcontext_count.3.gz
/usr/share/man/man3/semanage_fcontext_count_local.3.gz
/usr/share/man/man3/semanage_fcontext_del_local.3.gz
/usr/share/man/man3/semanage_fcontext_exists.3.gz
/usr/share/man/man3/semanage_fcontext_exists_local.3.gz
/usr/share/man/man3/semanage_fcontext_iterate.3.gz
/usr/share/man/man3/semanage_fcontext_iterate_local.3.gz
/usr/share/man/man3/semanage_fcontext_list.3.gz
/usr/share/man/man3/semanage_fcontext_list_local.3.gz
/usr/share/man/man3/semanage_fcontext_modify_local.3.gz
/usr/share/man/man3/semanage_fcontext_query.3.gz
/usr/share/man/man3/semanage_fcontext_query_local.3.gz
/usr/share/man/man3/semanage_iface.3.gz
/usr/share/man/man3/semanage_iface_count.3.gz
/usr/share/man/man3/semanage_iface_count_local.3.gz
/usr/share/man/man3/semanage_iface_del_local.3.gz
/usr/share/man/man3/semanage_iface_exists.3.gz
/usr/share/man/man3/semanage_iface_exists_local.3.gz
/usr/share/man/man3/semanage_iface_iterate.3.gz
/usr/share/man/man3/semanage_iface_iterate_local.3.gz
/usr/share/man/man3/semanage_iface_list.3.gz
/usr/share/man/man3/semanage_iface_list_local.3.gz
/usr/share/man/man3/semanage_iface_modify_local.3.gz
/usr/share/man/man3/semanage_iface_query.3.gz
/usr/share/man/man3/semanage_iface_query_local.3.gz
/usr/share/man/man3/semanage_iterate.3.gz
/usr/share/man/man3/semanage_list.3.gz
/usr/share/man/man3/semanage_modify.3.gz
/usr/share/man/man3/semanage_node.3.gz
/usr/share/man/man3/semanage_node_count.3.gz
/usr/share/man/man3/semanage_node_count_local.3.gz
/usr/share/man/man3/semanage_node_del_local.3.gz
/usr/share/man/man3/semanage_node_exists.3.gz
/usr/share/man/man3/semanage_node_exists_local.3.gz
/usr/share/man/man3/semanage_node_iterate.3.gz
/usr/share/man/man3/semanage_node_iterate_local.3.gz
/usr/share/man/man3/semanage_node_list.3.gz
/usr/share/man/man3/semanage_node_list_local.3.gz
/usr/share/man/man3/semanage_node_modify_local.3.gz
/usr/share/man/man3/semanage_node_query.3.gz
/usr/share/man/man3/semanage_node_query_local.3.gz
/usr/share/man/man3/semanage_port.3.gz
/usr/share/man/man3/semanage_port_count.3.gz
/usr/share/man/man3/semanage_port_count_local.3.gz
/usr/share/man/man3/semanage_port_del_local.3.gz
/usr/share/man/man3/semanage_port_exists.3.gz
/usr/share/man/man3/semanage_port_exists_local.3.gz
/usr/share/man/man3/semanage_port_iterate.3.gz
/usr/share/man/man3/semanage_port_iterate_local.3.gz
/usr/share/man/man3/semanage_port_list.3.gz
/usr/share/man/man3/semanage_port_list_local.3.gz
/usr/share/man/man3/semanage_port_modify_local.3.gz
/usr/share/man/man3/semanage_port_query.3.gz
/usr/share/man/man3/semanage_port_query_local.3.gz
/usr/share/man/man3/semanage_query.3.gz
/usr/share/man/man3/semanage_set_root.3.gz
/usr/share/man/man3/semanage_seuser.3.gz
/usr/share/man/man3/semanage_seuser_count.3.gz
/usr/share/man/man3/semanage_seuser_count_local.3.gz
/usr/share/man/man3/semanage_seuser_del_local.3.gz
/usr/share/man/man3/semanage_seuser_exists.3.gz
/usr/share/man/man3/semanage_seuser_exists_local.3.gz
/usr/share/man/man3/semanage_seuser_iterate.3.gz
/usr/share/man/man3/semanage_seuser_iterate_local.3.gz
/usr/share/man/man3/semanage_seuser_list.3.gz
/usr/share/man/man3/semanage_seuser_list_local.3.gz
/usr/share/man/man3/semanage_seuser_modify_local.3.gz
/usr/share/man/man3/semanage_seuser_query.3.gz
/usr/share/man/man3/semanage_seuser_query_local.3.gz
/usr/share/man/man3/semanage_user.3.gz
/usr/share/man/man3/semanage_user_count.3.gz
/usr/share/man/man3/semanage_user_count_local.3.gz
/usr/share/man/man3/semanage_user_del_local.3.gz
/usr/share/man/man3/semanage_user_exists.3.gz
/usr/share/man/man3/semanage_user_exists_local.3.gz
/usr/share/man/man3/semanage_user_iterate.3.gz
/usr/share/man/man3/semanage_user_iterate_local.3.gz
/usr/share/man/man3/semanage_user_list.3.gz
/usr/share/man/man3/semanage_user_list_local.3.gz
/usr/share/man/man3/semanage_user_modify_local.3.gz
/usr/share/man/man3/semanage_user_query.3.gz
/usr/share/man/man3/semanage_user_query_local.3.gz

References

Summary

In this tutorial we learn how to install libsemanage-devel on Rocky Linux 8 using yum and dnf.