How To Install log4cxx.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install log4cxx.x86_64
on Amazon Linux 2.
What is log4cxx.x86_64
Log4cxx is a popular logging package written in C++. One of its distinctive features is the notion of inheritance in loggers. Using a logger hierarchy it is possible to control which log statements are output at arbitrary granularity. This helps reduce the volume of logged output and minimize the cost of logging.
We can use yum
to install log4cxx.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install log4cxx.x86_64.
Install log4cxx.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install log4cxx.x86_64
using yum
by running the following command:
sudo yum -y install log4cxx.x86_64
How To Uninstall log4cxx.x86_64 on Amazon Linux 2
To uninstall only the log4cxx.x86_64
package we can use the following command:
sudo yum remove log4cxx.x86_64
log4cxx.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/liblog4cxx.so.10
/usr/lib64/liblog4cxx.so.10.0.0
/usr/share/doc/log4cxx-0.10.0
/usr/share/doc/log4cxx-0.10.0/KEYS
/usr/share/doc/log4cxx-0.10.0/LICENSE
/usr/share/doc/log4cxx-0.10.0/NOTICE
References
Summary
In this tutorial we learn how to install log4cxx.x86_64
on Amazon Linux 2 using yum.