How To Install jsoncpp-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install jsoncpp-devel
on Rocky Linux 8.
What is jsoncpp-devel
This package contains the development headers and library for jsoncpp.
We can use yum
or dnf
to install jsoncpp-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install jsoncpp-devel.
Install jsoncpp-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 jsoncpp-devel
using dnf
by running the following command:
sudo dnf -y install jsoncpp-devel
Install jsoncpp-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 jsoncpp-devel
using yum
by running the following command:
sudo yum -y install jsoncpp-devel
How To Uninstall jsoncpp-devel on Rocky Linux 8
To uninstall only the jsoncpp-devel
package we can use the following command:
sudo dnf remove jsoncpp-devel
jsoncpp-devel Package Contents on Rocky Linux 8
/usr/include/json
/usr/include/json/allocator.h
/usr/include/json/assertions.h
/usr/include/json/autolink.h
/usr/include/json/config.h
/usr/include/json/features.h
/usr/include/json/forwards.h
/usr/include/json/json.h
/usr/include/json/reader.h
/usr/include/json/value.h
/usr/include/json/version.h
/usr/include/json/writer.h
/usr/lib64/cmake/jsoncpp
/usr/lib64/cmake/jsoncpp/jsoncppConfig-release.cmake
/usr/lib64/cmake/jsoncpp/jsoncppConfig.cmake
/usr/lib64/libjsoncpp.so
/usr/lib64/pkgconfig/jsoncpp.pc
References
Summary
In this tutorial we learn how to install jsoncpp-devel
on Rocky Linux 8 using yum and dnf.