How To Install json-devel on Fedora 36

In this tutorial we learn how to install json-devel in Fedora 36. json-devel is Development files for json

Introduction

In this tutorial we learn how to install json-devel on Fedora 36.

What is json-devel

The json-devel package contains C++ header files for developing applications that use json.

We can use yum or dnf to install json-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install json-devel.

Install json-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install json-devel using dnf by running the following command:

sudo dnf -y install json-devel

Install json-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install json-devel using yum by running the following command:

sudo yum -y install json-devel

How To Uninstall json-devel on Fedora 36

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

sudo dnf remove json-devel

json-devel Package Contents on Fedora 36

---
title: "How To Install json-devel on Fedora 36"
linkTitle: "json-devel"
type: "docs"
description: "In this tutorial we learn how to install json-devel in Fedora 36. json-devel is Development files for json"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/json-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `json-devel` on Fedora 36.

### What is `json-devel`

> The json-devel package contains C++ header files for developing applications that use json.  

We can use `yum` or `dnf` to install `json-devel` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install json-devel.

## Install json-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install json-devel using dnf by running the following command:

sudo dnf -y install json-devel

Install json-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install json-devel using yum by running the following command:

sudo yum -y install json-devel

How To Uninstall json-devel on Fedora 36

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

sudo dnf remove json-devel

json-devel Package Contents on Fedora 36

/usr/include/nlohmann
/usr/include/nlohmann/adl_serializer.hpp
/usr/include/nlohmann/byte_container_with_subtype.hpp
/usr/include/nlohmann/detail
/usr/include/nlohmann/detail/conversions
/usr/include/nlohmann/detail/conversions/from_json.hpp
/usr/include/nlohmann/detail/conversions/to_chars.hpp
/usr/include/nlohmann/detail/conversions/to_json.hpp
/usr/include/nlohmann/detail/exceptions.hpp
/usr/include/nlohmann/detail/hash.hpp
/usr/include/nlohmann/detail/input
/usr/include/nlohmann/detail/input/binary_reader.hpp
/usr/include/nlohmann/detail/input/input_adapters.hpp
/usr/include/nlohmann/detail/input/json_sax.hpp
/usr/include/nlohmann/detail/input/lexer.hpp
/usr/include/nlohmann/detail/input/parser.hpp
/usr/include/nlohmann/detail/input/position_t.hpp
/usr/include/nlohmann/detail/iterators
/usr/include/nlohmann/detail/iterators/internal_iterator.hpp
/usr/include/nlohmann/detail/iterators/iter_impl.hpp
/usr/include/nlohmann/detail/iterators/iteration_proxy.hpp
/usr/include/nlohmann/detail/iterators/iterator_traits.hpp
/usr/include/nlohmann/detail/iterators/json_reverse_iterator.hpp
/usr/include/nlohmann/detail/iterators/primitive_iterator.hpp
/usr/include/nlohmann/detail/json_pointer.hpp
/usr/include/nlohmann/detail/json_ref.hpp
/usr/include/nlohmann/detail/macro_scope.hpp
/usr/include/nlohmann/detail/macro_unscope.hpp
/usr/include/nlohmann/detail/meta
/usr/include/nlohmann/detail/meta/call_std
/usr/include/nlohmann/detail/meta/call_std/begin.hpp
/usr/include/nlohmann/detail/meta/call_std/end.hpp
/usr/include/nlohmann/detail/meta/cpp_future.hpp
/usr/include/nlohmann/detail/meta/detected.hpp
/usr/include/nlohmann/detail/meta/identity_tag.hpp
/usr/include/nlohmann/detail/meta/is_sax.hpp
/usr/include/nlohmann/detail/meta/type_traits.hpp
/usr/include/nlohmann/detail/meta/void_t.hpp
/usr/include/nlohmann/detail/output
/usr/include/nlohmann/detail/output/binary_writer.hpp
/usr/include/nlohmann/detail/output/output_adapters.hpp
/usr/include/nlohmann/detail/output/serializer.hpp
/usr/include/nlohmann/detail/string_escape.hpp
/usr/include/nlohmann/detail/value_t.hpp
/usr/include/nlohmann/json.hpp
/usr/include/nlohmann/json_fwd.hpp
/usr/include/nlohmann/ordered_map.hpp
/usr/include/nlohmann/thirdparty
/usr/include/nlohmann/thirdparty/hedley
/usr/include/nlohmann/thirdparty/hedley/hedley.hpp
/usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp
/usr/lib/cmake/nlohmann_json
/usr/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
/usr/lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
/usr/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
/usr/lib/pkgconfig/nlohmann_json.pc
/usr/share/doc/json-devel
/usr/share/doc/json-devel/README.md
/usr/share/licenses/json-devel
/usr/share/licenses/json-devel/LICENSE.MIT

References

Summary

In this tutorial we learn how to install json-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/include/nlohmann /usr/include/nlohmann/adl_serializer.hpp /usr/include/nlohmann/byte_container_with_subtype.hpp /usr/include/nlohmann/detail /usr/include/nlohmann/detail/conversions /usr/include/nlohmann/detail/conversions/from_json.hpp /usr/include/nlohmann/detail/conversions/to_chars.hpp /usr/include/nlohmann/detail/conversions/to_json.hpp /usr/include/nlohmann/detail/exceptions.hpp /usr/include/nlohmann/detail/hash.hpp /usr/include/nlohmann/detail/input /usr/include/nlohmann/detail/input/binary_reader.hpp /usr/include/nlohmann/detail/input/input_adapters.hpp /usr/include/nlohmann/detail/input/json_sax.hpp /usr/include/nlohmann/detail/input/lexer.hpp /usr/include/nlohmann/detail/input/parser.hpp /usr/include/nlohmann/detail/input/position_t.hpp /usr/include/nlohmann/detail/iterators /usr/include/nlohmann/detail/iterators/internal_iterator.hpp /usr/include/nlohmann/detail/iterators/iter_impl.hpp /usr/include/nlohmann/detail/iterators/iteration_proxy.hpp /usr/include/nlohmann/detail/iterators/iterator_traits.hpp /usr/include/nlohmann/detail/iterators/json_reverse_iterator.hpp /usr/include/nlohmann/detail/iterators/primitive_iterator.hpp /usr/include/nlohmann/detail/json_pointer.hpp /usr/include/nlohmann/detail/json_ref.hpp /usr/include/nlohmann/detail/macro_scope.hpp /usr/include/nlohmann/detail/macro_unscope.hpp /usr/include/nlohmann/detail/meta /usr/include/nlohmann/detail/meta/call_std /usr/include/nlohmann/detail/meta/call_std/begin.hpp /usr/include/nlohmann/detail/meta/call_std/end.hpp /usr/include/nlohmann/detail/meta/cpp_future.hpp /usr/include/nlohmann/detail/meta/detected.hpp /usr/include/nlohmann/detail/meta/identity_tag.hpp /usr/include/nlohmann/detail/meta/is_sax.hpp /usr/include/nlohmann/detail/meta/type_traits.hpp /usr/include/nlohmann/detail/meta/void_t.hpp /usr/include/nlohmann/detail/output /usr/include/nlohmann/detail/output/binary_writer.hpp /usr/include/nlohmann/detail/output/output_adapters.hpp /usr/include/nlohmann/detail/output/serializer.hpp /usr/include/nlohmann/detail/string_escape.hpp /usr/include/nlohmann/detail/value_t.hpp /usr/include/nlohmann/json.hpp /usr/include/nlohmann/json_fwd.hpp /usr/include/nlohmann/ordered_map.hpp /usr/include/nlohmann/thirdparty /usr/include/nlohmann/thirdparty/hedley /usr/include/nlohmann/thirdparty/hedley/hedley.hpp /usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp /usr/lib64/cmake/nlohmann_json /usr/lib64/cmake/nlohmann_json/nlohmann_jsonConfig.cmake /usr/lib64/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake /usr/lib64/cmake/nlohmann_json/nlohmann_jsonTargets.cmake /usr/lib64/pkgconfig/nlohmann_json.pc /usr/share/doc/json-devel /usr/share/doc/json-devel/README.md /usr/share/licenses/json-devel /usr/share/licenses/json-devel/LICENSE.MIT


## References

* [json-devel website](https://github.com/nlohmann/json)

## Summary

In this tutorial we learn how to install `json-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).