How To Install libfastjson on Rocky Linux 8
Introduction
In this tutorial we learn how to install libfastjson on Rocky Linux 8.
What is libfastjson
LIBFASTJSON implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.
We can use yum or dnf to install libfastjson on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libfastjson.
Install libfastjson 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 libfastjson using dnf by running the following command:
sudo dnf -y install libfastjson
Install libfastjson 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 libfastjson using yum by running the following command:
sudo yum -y install libfastjson
How To Uninstall libfastjson on Rocky Linux 8
To uninstall only the libfastjson package we can use the following command:
sudo dnf remove libfastjson
libfastjson Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/fd3ff030d864c22d94dd23eed2a82515b1001f
/usr/lib/libfastjson.so.4
/usr/lib/libfastjson.so.4.2.0
/usr/share/doc/libfastjson
/usr/share/doc/libfastjson/AUTHORS
/usr/share/doc/libfastjson/ChangeLog
/usr/share/doc/libfastjson/README.html
/usr/share/licenses/libfastjson
/usr/share/licenses/libfastjson/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/c06658955a2ee8fa0053543cd1f1a5241903d1
/usr/lib64/libfastjson.so.4
/usr/lib64/libfastjson.so.4.2.0
/usr/share/doc/libfastjson
/usr/share/doc/libfastjson/AUTHORS
/usr/share/doc/libfastjson/ChangeLog
/usr/share/doc/libfastjson/README.html
/usr/share/licenses/libfastjson
/usr/share/licenses/libfastjson/COPYING
References
Summary
In this tutorial we learn how to install libfastjson on Rocky Linux 8 using yum and dnf.