How To Install audit-libs-devel on CentOS 8
Introduction
In this tutorial we learn how to install audit-libs-devel
on CentOS 8.
What is audit-libs-devel
The audit-libs-devel package contains the header files needed for developing applications that need to use the audit framework libraries. audit-libs-devel 3.0 0.17.20191104git1c2f876.el8 x86_64 84 k audit-3.0-0.17.20191104git1c2f876.el8.src.rpm baseos Header files for libaudit http LGPLv2+ The audit-libs-devel package contains the header files needed for developing applications that need to use the audit framework libraries.
We can use yum
or dnf
to install audit-libs-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install audit-libs-devel.
Install audit-libs-devel on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install audit-libs-devel
using dnf
by running the following command:
sudo dnf -y install audit-libs-devel
Install audit-libs-devel on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install audit-libs-devel
using yum
by running the following command:
sudo yum -y install audit-libs-devel
How To Uninstall audit-libs-devel on CentOS 8
To uninstall only the audit-libs-devel
package we can use the following command:
sudo dnf remove audit-libs-devel
audit-libs-devel Package Contents on CentOS 8
/usr/include/auparse-defs.h
/usr/include/auparse.h
/usr/include/libaudit.h
/usr/lib/libaudit.so
/usr/lib/libauparse.so
/usr/lib/pkgconfig/audit.pc
/usr/lib/pkgconfig/auparse.pc
/usr/share/aclocal/audit.m4
/usr/share/doc/audit-libs-devel
/usr/share/doc/audit-libs-devel/plugin
/usr/share/doc/audit-libs-devel/plugin/Makefile
/usr/share/doc/audit-libs-devel/plugin/audisp-example.c
/usr/share/doc/audit-libs-devel/plugin/audisp-example.conf
/usr/share/man/man3/audit_add_rule_data.3.gz
/usr/share/man/man3/audit_add_watch.3.gz
/usr/share/man/man3/audit_delete_rule_data.3.gz
/usr/share/man/man3/audit_detect_machine.3.gz
/usr/share/man/man3/audit_encode_nv_string.3.gz
/usr/share/man/man3/audit_get_reply.3.gz
/usr/share/man/man3/audit_get_session.3.gz
/usr/share/man/man3/audit_getloginuid.3.gz
/usr/share/man/man3/audit_log_acct_message.3.gz
/usr/share/man/man3/audit_log_semanage_message.3.gz
/usr/share/man/man3/audit_log_user_avc_message.3.gz
/usr/share/man/man3/audit_log_user_comm_message.3.gz
/usr/share/man/man3/audit_log_user_command.3.gz
/usr/share/man/man3/audit_log_user_message.3.gz
/usr/share/man/man3/audit_open.3.gz
/usr/share/man/man3/audit_request_rules_list_data.3.gz
/usr/share/man/man3/audit_request_signal_info.3.gz
/usr/share/man/man3/audit_request_status.3.gz
/usr/share/man/man3/audit_set_backlog_limit.3.gz
/usr/share/man/man3/audit_set_backlog_wait_time.3.gz
/usr/share/man/man3/audit_set_enabled.3.gz
/usr/share/man/man3/audit_set_failure.3.gz
/usr/share/man/man3/audit_set_pid.3.gz
/usr/share/man/man3/audit_set_rate_limit.3.gz
/usr/share/man/man3/audit_setloginuid.3.gz
/usr/share/man/man3/audit_update_watch_perms.3.gz
/usr/share/man/man3/auparse_add_callback.3.gz
/usr/share/man/man3/auparse_destroy.3.gz
/usr/share/man/man3/auparse_feed.3.gz
/usr/share/man/man3/auparse_feed_age_events.3.gz
/usr/share/man/man3/auparse_feed_has_data.3.gz
/usr/share/man/man3/auparse_find_field.3.gz
/usr/share/man/man3/auparse_find_field_next.3.gz
/usr/share/man/man3/auparse_first_field.3.gz
/usr/share/man/man3/auparse_first_record.3.gz
/usr/share/man/man3/auparse_flush_feed.3.gz
/usr/share/man/man3/auparse_get_field_int.3.gz
/usr/share/man/man3/auparse_get_field_name.3.gz
/usr/share/man/man3/auparse_get_field_num.3.gz
/usr/share/man/man3/auparse_get_field_str.3.gz
/usr/share/man/man3/auparse_get_field_type.3.gz
/usr/share/man/man3/auparse_get_filename.3.gz
/usr/share/man/man3/auparse_get_line_number.3.gz
/usr/share/man/man3/auparse_get_milli.3.gz
/usr/share/man/man3/auparse_get_node.3.gz
/usr/share/man/man3/auparse_get_num_fields.3.gz
/usr/share/man/man3/auparse_get_num_records.3.gz
/usr/share/man/man3/auparse_get_record_num.3.gz
/usr/share/man/man3/auparse_get_record_text.3.gz
/usr/share/man/man3/auparse_get_serial.3.gz
/usr/share/man/man3/auparse_get_time.3.gz
/usr/share/man/man3/auparse_get_timestamp.3.gz
/usr/share/man/man3/auparse_get_type.3.gz
/usr/share/man/man3/auparse_get_type_name.3.gz
/usr/share/man/man3/auparse_goto_field_num.3.gz
/usr/share/man/man3/auparse_goto_record_num.3.gz
/usr/share/man/man3/auparse_init.3.gz
/usr/share/man/man3/auparse_interpret_field.3.gz
/usr/share/man/man3/auparse_next_event.3.gz
/usr/share/man/man3/auparse_next_field.3.gz
/usr/share/man/man3/auparse_next_record.3.gz
/usr/share/man/man3/auparse_node_compare.3.gz
/usr/share/man/man3/auparse_normalize.3.gz
/usr/share/man/man3/auparse_normalize_functions.3.gz
/usr/share/man/man3/auparse_reset.3.gz
/usr/share/man/man3/auparse_set_escape_mode.3.gz
/usr/share/man/man3/auparse_timestamp_compare.3.gz
/usr/share/man/man3/ausearch_add_expression.3.gz
/usr/share/man/man3/ausearch_add_interpreted_item.3.gz
/usr/share/man/man3/ausearch_add_item.3.gz
/usr/share/man/man3/ausearch_add_regex.3.gz
/usr/share/man/man3/ausearch_add_timestamp_item.3.gz
/usr/share/man/man3/ausearch_add_timestamp_item_ex.3.gz
/usr/share/man/man3/ausearch_clear.3.gz
/usr/share/man/man3/ausearch_next_event.3.gz
/usr/share/man/man3/ausearch_set_stop.3.gz
/usr/share/man/man3/get_auditfail_action.3.gz
/usr/share/man/man3/set_aumessage_mode.3.gz
/usr/include/auparse-defs.h
/usr/include/auparse.h
/usr/include/libaudit.h
/usr/lib64/libaudit.so
/usr/lib64/libauparse.so
/usr/lib64/pkgconfig/audit.pc
/usr/lib64/pkgconfig/auparse.pc
/usr/share/aclocal/audit.m4
/usr/share/doc/audit-libs-devel
/usr/share/doc/audit-libs-devel/plugin
/usr/share/doc/audit-libs-devel/plugin/Makefile
/usr/share/doc/audit-libs-devel/plugin/audisp-example.c
/usr/share/doc/audit-libs-devel/plugin/audisp-example.conf
/usr/share/man/man3/audit_add_rule_data.3.gz
/usr/share/man/man3/audit_add_watch.3.gz
/usr/share/man/man3/audit_delete_rule_data.3.gz
/usr/share/man/man3/audit_detect_machine.3.gz
/usr/share/man/man3/audit_encode_nv_string.3.gz
/usr/share/man/man3/audit_get_reply.3.gz
/usr/share/man/man3/audit_get_session.3.gz
/usr/share/man/man3/audit_getloginuid.3.gz
/usr/share/man/man3/audit_log_acct_message.3.gz
/usr/share/man/man3/audit_log_semanage_message.3.gz
/usr/share/man/man3/audit_log_user_avc_message.3.gz
/usr/share/man/man3/audit_log_user_comm_message.3.gz
/usr/share/man/man3/audit_log_user_command.3.gz
/usr/share/man/man3/audit_log_user_message.3.gz
/usr/share/man/man3/audit_open.3.gz
/usr/share/man/man3/audit_request_rules_list_data.3.gz
/usr/share/man/man3/audit_request_signal_info.3.gz
/usr/share/man/man3/audit_request_status.3.gz
/usr/share/man/man3/audit_set_backlog_limit.3.gz
/usr/share/man/man3/audit_set_backlog_wait_time.3.gz
/usr/share/man/man3/audit_set_enabled.3.gz
/usr/share/man/man3/audit_set_failure.3.gz
/usr/share/man/man3/audit_set_pid.3.gz
/usr/share/man/man3/audit_set_rate_limit.3.gz
/usr/share/man/man3/audit_setloginuid.3.gz
/usr/share/man/man3/audit_update_watch_perms.3.gz
/usr/share/man/man3/auparse_add_callback.3.gz
/usr/share/man/man3/auparse_destroy.3.gz
/usr/share/man/man3/auparse_feed.3.gz
/usr/share/man/man3/auparse_feed_age_events.3.gz
/usr/share/man/man3/auparse_feed_has_data.3.gz
/usr/share/man/man3/auparse_find_field.3.gz
/usr/share/man/man3/auparse_find_field_next.3.gz
/usr/share/man/man3/auparse_first_field.3.gz
/usr/share/man/man3/auparse_first_record.3.gz
/usr/share/man/man3/auparse_flush_feed.3.gz
/usr/share/man/man3/auparse_get_field_int.3.gz
/usr/share/man/man3/auparse_get_field_name.3.gz
/usr/share/man/man3/auparse_get_field_num.3.gz
/usr/share/man/man3/auparse_get_field_str.3.gz
/usr/share/man/man3/auparse_get_field_type.3.gz
/usr/share/man/man3/auparse_get_filename.3.gz
/usr/share/man/man3/auparse_get_line_number.3.gz
/usr/share/man/man3/auparse_get_milli.3.gz
/usr/share/man/man3/auparse_get_node.3.gz
/usr/share/man/man3/auparse_get_num_fields.3.gz
/usr/share/man/man3/auparse_get_num_records.3.gz
/usr/share/man/man3/auparse_get_record_num.3.gz
/usr/share/man/man3/auparse_get_record_text.3.gz
/usr/share/man/man3/auparse_get_serial.3.gz
/usr/share/man/man3/auparse_get_time.3.gz
/usr/share/man/man3/auparse_get_timestamp.3.gz
/usr/share/man/man3/auparse_get_type.3.gz
/usr/share/man/man3/auparse_get_type_name.3.gz
/usr/share/man/man3/auparse_goto_field_num.3.gz
/usr/share/man/man3/auparse_goto_record_num.3.gz
/usr/share/man/man3/auparse_init.3.gz
/usr/share/man/man3/auparse_interpret_field.3.gz
/usr/share/man/man3/auparse_next_event.3.gz
/usr/share/man/man3/auparse_next_field.3.gz
/usr/share/man/man3/auparse_next_record.3.gz
/usr/share/man/man3/auparse_node_compare.3.gz
/usr/share/man/man3/auparse_normalize.3.gz
/usr/share/man/man3/auparse_normalize_functions.3.gz
/usr/share/man/man3/auparse_reset.3.gz
/usr/share/man/man3/auparse_set_escape_mode.3.gz
/usr/share/man/man3/auparse_timestamp_compare.3.gz
/usr/share/man/man3/ausearch_add_expression.3.gz
/usr/share/man/man3/ausearch_add_interpreted_item.3.gz
/usr/share/man/man3/ausearch_add_item.3.gz
/usr/share/man/man3/ausearch_add_regex.3.gz
/usr/share/man/man3/ausearch_add_timestamp_item.3.gz
/usr/share/man/man3/ausearch_add_timestamp_item_ex.3.gz
/usr/share/man/man3/ausearch_clear.3.gz
/usr/share/man/man3/ausearch_next_event.3.gz
/usr/share/man/man3/ausearch_set_stop.3.gz
/usr/share/man/man3/get_auditfail_action.3.gz
/usr/share/man/man3/set_aumessage_mode.3.gz
References
- [audit-libs-devel website](http://people.redhat.com/sgrubb/audit/ http://people.redhat.com/sgrubb/audit/)
Summary
In this tutorial we learn how to install audit-libs-devel
on CentOS 8 using yum and dnf.