How to install cjson on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Ultralightweight JSON parser in ANSI C
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | Base | 1.7.19 | ||
| RHEL 9 | Base | 1.7.18 | ||
| RHEL 8 | Base | 1.7.17 | ||
| RHEL 7 | Base | 1.7.19 |
Description
cJSON aims to be the dumbest possible parser that you can get your job done with. It's a single file of C, and a single header file.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
Base
RHEL 7, 8, 9, 10
cjson on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install cjson
cjson on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install cjson
cjson: Free to install; commercial production use requires a subscription.
Subscribe — from $10/moFrequently asked questions
How do I install cjson on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the cjson package with your system package manager.
Which Enterprise Linux versions is cjson available for?
cjson is available for RHEL 7, 8, 9, 10.