How To Install libseccomp-devel on Fedora 36
Introduction
In this tutorial we learn how to install libseccomp-devel
on Fedora 36.
What is libseccomp-devel
The libseccomp library provides an easy to use interface to the Linux Kernel’s syscall filtering mechanism, seccomp. The libseccomp API allows an application to specify which syscalls, and optionally which syscall arguments, the application is allowed to execute, all of which are enforced by the Linux Kernel.
We can use yum
or dnf
to install libseccomp-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libseccomp-devel.
Install libseccomp-devel 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 libseccomp-devel
using dnf
by running the following command:
sudo dnf -y install libseccomp-devel
Install libseccomp-devel 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 libseccomp-devel
using yum
by running the following command:
sudo yum -y install libseccomp-devel
How To Uninstall libseccomp-devel on Fedora 36
To uninstall only the libseccomp-devel
package we can use the following command:
sudo dnf remove libseccomp-devel
libseccomp-devel Package Contents on Fedora 36
---
title: "How To Install libseccomp-devel on Fedora 36"
linkTitle: "libseccomp-devel"
type: "docs"
description: "In this tutorial we learn how to install libseccomp-devel in Fedora 36. libseccomp-devel is Development files used to build applications with libseccomp support"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libseccomp-devel-featured.png
---
## Introduction
In this tutorial we learn how to install `libseccomp-devel` on Fedora 36.
### What is `libseccomp-devel`
> The libseccomp library provides an easy to use interface to the Linux Kernel's syscall filtering mechanism, seccomp. The libseccomp API allows an application to specify which syscalls, and optionally which syscall arguments, the application is allowed to execute, all of which are enforced by the Linux Kernel.
We can use `yum` or `dnf` to install `libseccomp-devel` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libseccomp-devel.
## Install libseccomp-devel on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install libseccomp-devel
using dnf
by running the following command:
sudo dnf -y install libseccomp-devel
Install libseccomp-devel 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 libseccomp-devel
using yum
by running the following command:
sudo yum -y install libseccomp-devel
How To Uninstall libseccomp-devel on Fedora 36
To uninstall only the libseccomp-devel
package we can use the following command:
sudo dnf remove libseccomp-devel
libseccomp-devel Package Contents on Fedora 36
/usr/bin/scmp_sys_resolver
/usr/include/seccomp-syscalls.h
/usr/include/seccomp.h
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/53ccb6b78c5b7033e2c09ab26c70ba6b29b4e5
/usr/lib64/libseccomp.so
/usr/lib64/pkgconfig/libseccomp.pc
/usr/share/man/man1/scmp_sys_resolver.1.gz
/usr/share/man/man3/seccomp_api_get.3.gz
/usr/share/man/man3/seccomp_api_set.3.gz
/usr/share/man/man3/seccomp_arch_add.3.gz
/usr/share/man/man3/seccomp_arch_exist.3.gz
/usr/share/man/man3/seccomp_arch_native.3.gz
/usr/share/man/man3/seccomp_arch_remove.3.gz
/usr/share/man/man3/seccomp_arch_resolve_name.3.gz
/usr/share/man/man3/seccomp_attr_get.3.gz
/usr/share/man/man3/seccomp_attr_set.3.gz
/usr/share/man/man3/seccomp_export_bpf.3.gz
/usr/share/man/man3/seccomp_export_pfc.3.gz
/usr/share/man/man3/seccomp_init.3.gz
/usr/share/man/man3/seccomp_load.3.gz
/usr/share/man/man3/seccomp_merge.3.gz
/usr/share/man/man3/seccomp_notify_alloc.3.gz
/usr/share/man/man3/seccomp_notify_fd.3.gz
/usr/share/man/man3/seccomp_notify_free.3.gz
/usr/share/man/man3/seccomp_notify_id_valid.3.gz
/usr/share/man/man3/seccomp_notify_receive.3.gz
/usr/share/man/man3/seccomp_notify_respond.3.gz
/usr/share/man/man3/seccomp_release.3.gz
/usr/share/man/man3/seccomp_reset.3.gz
/usr/share/man/man3/seccomp_rule_add.3.gz
/usr/share/man/man3/seccomp_rule_add_array.3.gz
/usr/share/man/man3/seccomp_rule_add_exact.3.gz
/usr/share/man/man3/seccomp_rule_add_exact_array.3.gz
/usr/share/man/man3/seccomp_syscall_priority.3.gz
/usr/share/man/man3/seccomp_syscall_resolve_name.3.gz
/usr/share/man/man3/seccomp_syscall_resolve_name_arch.3.gz
/usr/share/man/man3/seccomp_syscall_resolve_name_rewrite.3.gz
/usr/share/man/man3/seccomp_syscall_resolve_num_arch.3.gz
/usr/share/man/man3/seccomp_version.3.gz
References
Summary
In this tutorial we learn how to install libseccomp-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/scmp_sys_resolver /usr/include/seccomp-syscalls.h /usr/include/seccomp.h /usr/lib/.build-id /usr/lib/.build-id/27 /usr/lib/.build-id/27/9cbabb78eea2e08c212690c7726c8085dd8d81 /usr/lib/libseccomp.so /usr/lib/pkgconfig/libseccomp.pc /usr/share/man/man1/scmp_sys_resolver.1.gz /usr/share/man/man3/seccomp_api_get.3.gz /usr/share/man/man3/seccomp_api_set.3.gz /usr/share/man/man3/seccomp_arch_add.3.gz /usr/share/man/man3/seccomp_arch_exist.3.gz /usr/share/man/man3/seccomp_arch_native.3.gz /usr/share/man/man3/seccomp_arch_remove.3.gz /usr/share/man/man3/seccomp_arch_resolve_name.3.gz /usr/share/man/man3/seccomp_attr_get.3.gz /usr/share/man/man3/seccomp_attr_set.3.gz /usr/share/man/man3/seccomp_export_bpf.3.gz /usr/share/man/man3/seccomp_export_pfc.3.gz /usr/share/man/man3/seccomp_init.3.gz /usr/share/man/man3/seccomp_load.3.gz /usr/share/man/man3/seccomp_merge.3.gz /usr/share/man/man3/seccomp_notify_alloc.3.gz /usr/share/man/man3/seccomp_notify_fd.3.gz /usr/share/man/man3/seccomp_notify_free.3.gz /usr/share/man/man3/seccomp_notify_id_valid.3.gz /usr/share/man/man3/seccomp_notify_receive.3.gz /usr/share/man/man3/seccomp_notify_respond.3.gz /usr/share/man/man3/seccomp_release.3.gz /usr/share/man/man3/seccomp_reset.3.gz /usr/share/man/man3/seccomp_rule_add.3.gz /usr/share/man/man3/seccomp_rule_add_array.3.gz /usr/share/man/man3/seccomp_rule_add_exact.3.gz /usr/share/man/man3/seccomp_rule_add_exact_array.3.gz /usr/share/man/man3/seccomp_syscall_priority.3.gz /usr/share/man/man3/seccomp_syscall_resolve_name.3.gz /usr/share/man/man3/seccomp_syscall_resolve_name_arch.3.gz /usr/share/man/man3/seccomp_syscall_resolve_name_rewrite.3.gz /usr/share/man/man3/seccomp_syscall_resolve_num_arch.3.gz /usr/share/man/man3/seccomp_version.3.gz
## References
* [libseccomp-devel website](https://github.com/seccomp/libseccomp)
## Summary
In this tutorial we learn how to install `libseccomp-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).