How To Install abrt-addon-ccpp on CentOS 8

abrt-addon-ccpp is abrt’s C/C++ addon

Introduction

In this tutorial we learn how to install abrt-addon-ccpp on CentOS 8.

What is abrt-addon-ccpp

This package contains abrt’s C/C++ analyzer plugin.

We can use yum or dnf to install abrt-addon-ccpp on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install abrt-addon-ccpp.

Install abrt-addon-ccpp 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 abrt-addon-ccpp using dnf by running the following command:

sudo dnf -y install abrt-addon-ccpp

Install abrt-addon-ccpp 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 abrt-addon-ccpp using yum by running the following command:

sudo yum -y install abrt-addon-ccpp

How To Uninstall abrt-addon-ccpp on CentOS 8

To uninstall only the abrt-addon-ccpp package we can use the following command:

sudo dnf remove abrt-addon-ccpp

abrt-addon-ccpp Package Contents on CentOS 8

/etc/abrt/plugins/CCpp.conf
/etc/libreport/events.d/ccpp_event.conf
/etc/libreport/events.d/gconf_event.conf
/etc/libreport/events.d/vimrc_event.conf
/etc/libreport/plugins/catalog_ccpp_format.conf
/etc/libreport/plugins/catalog_journal_ccpp_format.conf
/usr/bin/abrt-action-analyze-backtrace
/usr/bin/abrt-action-analyze-c
/usr/bin/abrt-action-analyze-ccpp-local
/usr/bin/abrt-action-analyze-core
/usr/bin/abrt-action-analyze-vulnerability
/usr/bin/abrt-action-generate-backtrace
/usr/bin/abrt-action-generate-core-backtrace
/usr/bin/abrt-action-install-debuginfo
/usr/bin/abrt-action-list-dsos
/usr/bin/abrt-action-perform-ccpp-analysis
/usr/bin/abrt-action-trim-files
/usr/bin/abrt-dump-journal-core
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/e1ca9c7dc36b9eb313a695d4b6c5e474b0423f
/usr/lib/.build-id/46
/usr/lib/.build-id/46/b4c2b7997813f737c87c0f9c9ac088d1920f6d
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/909e6c6514d14fd5cad51d057f982b9ba1756b
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/bb4ce2ed9afba67eefe079cb4a46558522e33c
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/aa28bde7fd24627e8d4692152f52bbc9a6ab5a
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/51079807f3b117e5e4ed07509237021fb96ce9
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/9b73cd3b00df09e769f3f3f3480d11afb20c97
/usr/lib/systemd/catalog/abrt_ccpp.catalog
/usr/lib/systemd/system/abrt-ccpp.service
/usr/lib/systemd/system/abrt-journal-core.service
/usr/libexec/abrt-action-install-debuginfo-to-abrt-cache
/usr/libexec/abrt-gdb-exploitable
/usr/share/abrt/conf.d/plugins/CCpp.conf
/usr/share/libreport/events/analyze_CCpp.xml
/usr/share/libreport/events/analyze_LocalGDB.xml
/usr/share/libreport/events/collect_GConf.xml
/usr/share/libreport/events/collect_vimrc_system.xml
/usr/share/libreport/events/collect_vimrc_user.xml
/usr/share/libreport/events/collect_xsession_errors.xml
/usr/share/libreport/events/post_report.xml
/usr/share/man/man1/abrt-action-analyze-backtrace.1.gz
/usr/share/man/man1/abrt-action-analyze-c.1.gz
/usr/share/man/man1/abrt-action-analyze-ccpp-local.1.gz
/usr/share/man/man1/abrt-action-analyze-core.1.gz
/usr/share/man/man1/abrt-action-analyze-vulnerability.1.gz
/usr/share/man/man1/abrt-action-generate-backtrace.1.gz
/usr/share/man/man1/abrt-action-generate-core-backtrace.1.gz
/usr/share/man/man1/abrt-action-install-debuginfo.1.gz
/usr/share/man/man1/abrt-action-list-dsos.1.gz
/usr/share/man/man1/abrt-action-perform-ccpp-analysis.1.gz
/usr/share/man/man1/abrt-action-trim-files.1.gz
/usr/share/man/man1/abrt-dump-journal-core.1.gz
/usr/share/man/man1/abrt-install-ccpp-hook.1.gz
/usr/share/man/man5/abrt-CCpp.conf.5.gz
/usr/share/man/man5/ccpp_event.conf.5.gz
/usr/share/man/man5/gconf_event.conf.5.gz
/usr/share/man/man5/vimrc_event.conf.5.gz
/var/cache/abrt-di
/var/lib/abrt

References

Summary

In this tutorial we learn how to install abrt-addon-ccpp on CentOS 8 using yum and dnf.