How To Install log4cpp-devel on Rocky Linux 8

In this tutorial we learn how to install log4cpp-devel on Rocky Linux 8. log4cpp-devel is Header files, libraries and development man pages log4cpp

Introduction

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

What is log4cpp-devel

This package contains the header files, static libraries and development man pages for log4cpp. If you like to develop programs using log4cpp, you will need to install log4cpp-devel.

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

Install log4cpp-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 log4cpp-devel using dnf by running the following command:

sudo dnf -y install log4cpp-devel

Install log4cpp-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 log4cpp-devel using yum by running the following command:

sudo yum -y install log4cpp-devel

How To Uninstall log4cpp-devel on Rocky Linux 8

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

sudo dnf remove log4cpp-devel

log4cpp-devel Package Contents on Rocky Linux 8

/usr/bin/log4cpp-config
/usr/include/log4cpp
/usr/include/log4cpp/AbortAppender.hh
/usr/include/log4cpp/Appender.hh
/usr/include/log4cpp/AppenderSkeleton.hh
/usr/include/log4cpp/AppendersFactory.hh
/usr/include/log4cpp/BasicConfigurator.hh
/usr/include/log4cpp/BasicLayout.hh
/usr/include/log4cpp/BufferingAppender.hh
/usr/include/log4cpp/Category.hh
/usr/include/log4cpp/CategoryStream.hh
/usr/include/log4cpp/Configurator.hh
/usr/include/log4cpp/DailyRollingFileAppender.hh
/usr/include/log4cpp/Export.hh
/usr/include/log4cpp/FactoryParams.hh
/usr/include/log4cpp/FileAppender.hh
/usr/include/log4cpp/Filter.hh
/usr/include/log4cpp/FixedContextCategory.hh
/usr/include/log4cpp/HierarchyMaintainer.hh
/usr/include/log4cpp/IdsaAppender.hh
/usr/include/log4cpp/Layout.hh
/usr/include/log4cpp/LayoutAppender.hh
/usr/include/log4cpp/LayoutsFactory.hh
/usr/include/log4cpp/LevelEvaluator.hh
/usr/include/log4cpp/LoggingEvent.hh
/usr/include/log4cpp/Manipulator.hh
/usr/include/log4cpp/NDC.hh
/usr/include/log4cpp/NTEventLogAppender.hh
/usr/include/log4cpp/OstreamAppender.hh
/usr/include/log4cpp/PassThroughLayout.hh
/usr/include/log4cpp/PatternLayout.hh
/usr/include/log4cpp/Portability.hh
/usr/include/log4cpp/Priority.hh
/usr/include/log4cpp/PropertyConfigurator.hh
/usr/include/log4cpp/RemoteSyslogAppender.hh
/usr/include/log4cpp/RollingFileAppender.hh
/usr/include/log4cpp/SimpleConfigurator.hh
/usr/include/log4cpp/SimpleLayout.hh
/usr/include/log4cpp/StringQueueAppender.hh
/usr/include/log4cpp/SyslogAppender.hh
/usr/include/log4cpp/TimeStamp.hh
/usr/include/log4cpp/TriggeringEventEvaluator.hh
/usr/include/log4cpp/TriggeringEventEvaluatorFactory.hh
/usr/include/log4cpp/Win32DebugAppender.hh
/usr/include/log4cpp/config-MinGW32.h
/usr/include/log4cpp/config-openvms.h
/usr/include/log4cpp/config-win32.h
/usr/include/log4cpp/config.h
/usr/include/log4cpp/convenience.h
/usr/include/log4cpp/threading
/usr/include/log4cpp/threading/BoostThreads.hh
/usr/include/log4cpp/threading/DummyThreads.hh
/usr/include/log4cpp/threading/MSThreads.hh
/usr/include/log4cpp/threading/OmniThreads.hh
/usr/include/log4cpp/threading/PThreads.hh
/usr/include/log4cpp/threading/Threading.hh
/usr/lib64/liblog4cpp.so
/usr/lib64/pkgconfig/log4cpp.pc
/usr/share/aclocal/log4cpp.m4
/usr/share/man/man3/log4cpp.3.gz
/usr/share/man/man3/log4cpp::AbortAppender.3.gz
/usr/share/man/man3/log4cpp::Appender.3.gz
/usr/share/man/man3/log4cpp::Appender::AppenderMapStorage.3.gz
/usr/share/man/man3/log4cpp::Appender::AppenderMapStorageInitializer.3.gz
/usr/share/man/man3/log4cpp::AppenderSkeleton.3.gz
/usr/share/man/man3/log4cpp::AppendersFactory.3.gz
/usr/share/man/man3/log4cpp::BasicConfigurator.3.gz
/usr/share/man/man3/log4cpp::BasicLayout.3.gz
/usr/share/man/man3/log4cpp::BufferingAppender.3.gz
/usr/share/man/man3/log4cpp::Category.3.gz
/usr/share/man/man3/log4cpp::CategoryNameComponent.3.gz
/usr/share/man/man3/log4cpp::CategoryStream.3.gz
/usr/share/man/man3/log4cpp::ConfigureFailure.3.gz
/usr/share/man/man3/log4cpp::DailyRollingFileAppender.3.gz
/usr/share/man/man3/log4cpp::FactoryParams.3.gz
/usr/share/man/man3/log4cpp::FileAppender.3.gz
/usr/share/man/man3/log4cpp::Filter.3.gz
/usr/share/man/man3/log4cpp::FixedContextCategory.3.gz
/usr/share/man/man3/log4cpp::FormatModifierComponent.3.gz
/usr/share/man/man3/log4cpp::HierarchyMaintainer.3.gz
/usr/share/man/man3/log4cpp::IdsaAppender.3.gz
/usr/share/man/man3/log4cpp::Layout.3.gz
/usr/share/man/man3/log4cpp::LayoutAppender.3.gz
/usr/share/man/man3/log4cpp::LayoutsFactory.3.gz
/usr/share/man/man3/log4cpp::LevelEvaluator.3.gz
/usr/share/man/man3/log4cpp::LoggingEvent.3.gz
/usr/share/man/man3/log4cpp::MessageComponent.3.gz
/usr/share/man/man3/log4cpp::MillisSinceEpochComponent.3.gz
/usr/share/man/man3/log4cpp::NDC.3.gz
/usr/share/man/man3/log4cpp::NDC::DiagnosticContext.3.gz
/usr/share/man/man3/log4cpp::NDCComponent.3.gz
/usr/share/man/man3/log4cpp::NTEventLogAppender.3.gz
/usr/share/man/man3/log4cpp::OstreamAppender.3.gz
/usr/share/man/man3/log4cpp::PassThroughLayout.3.gz
/usr/share/man/man3/log4cpp::PatternLayout.3.gz
/usr/share/man/man3/log4cpp::PatternLayout::PatternComponent.3.gz
/usr/share/man/man3/log4cpp::Priority.3.gz
/usr/share/man/man3/log4cpp::PriorityComponent.3.gz
/usr/share/man/man3/log4cpp::ProcessorTimeComponent.3.gz
/usr/share/man/man3/log4cpp::Properties.3.gz
/usr/share/man/man3/log4cpp::PropertyConfigurator.3.gz
/usr/share/man/man3/log4cpp::PropertyConfiguratorImpl.3.gz
/usr/share/man/man3/log4cpp::RemoteSyslogAppender.3.gz
/usr/share/man/man3/log4cpp::RollingFileAppender.3.gz
/usr/share/man/man3/log4cpp::SecondsSinceEpochComponent.3.gz
/usr/share/man/man3/log4cpp::SimpleConfigurator.3.gz
/usr/share/man/man3/log4cpp::SimpleLayout.3.gz
/usr/share/man/man3/log4cpp::StringLiteralComponent.3.gz
/usr/share/man/man3/log4cpp::StringQueueAppender.3.gz
/usr/share/man/man3/log4cpp::StringUtil.3.gz
/usr/share/man/man3/log4cpp::SyslogAppender.3.gz
/usr/share/man/man3/log4cpp::ThreadNameComponent.3.gz
/usr/share/man/man3/log4cpp::TimeStamp.3.gz
/usr/share/man/man3/log4cpp::TimeStampComponent.3.gz
/usr/share/man/man3/log4cpp::TriggeringEventEvaluator.3.gz
/usr/share/man/man3/log4cpp::TriggeringEventEvaluatorFactory.3.gz
/usr/share/man/man3/log4cpp::Win32DebugAppender.3.gz
/usr/share/man/man3/log4cpp::details.3.gz
/usr/share/man/man3/log4cpp::details::base::validator::data.3.gz
/usr/share/man/man3/log4cpp::details::optional::params::validator.3.gz
/usr/share/man/man3/log4cpp::details::parameter::validator.3.gz
/usr/share/man/man3/log4cpp::details::required::params::validator.3.gz
/usr/share/man/man3/log4cpp::tab.3.gz
/usr/share/man/man3/log4cpp::threading.3.gz
/usr/share/man/man3/log4cpp::threading::MSMutex.3.gz
/usr/share/man/man3/log4cpp::threading::MSScopedLock.3.gz
/usr/share/man/man3/log4cpp::threading::Mutex.3.gz
/usr/share/man/man3/log4cpp::threading::ScopedLock.3.gz
/usr/share/man/man3/log4cpp::threading::ThreadLocalDataHolder.3.gz
/usr/share/man/man3/log4cpp::width.3.gz

References

Summary

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