How To Install cjose on Fedora 36

In this tutorial we learn how to install cjose in Fedora 36. cjose is C library implementing the Javascript Object Signing and Encryption (JOSE)

Introduction

In this tutorial we learn how to install cjose on Fedora 36.

What is cjose

Implementation of JOSE for C/C++

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

Install cjose 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 cjose using dnf by running the following command:

sudo dnf -y install cjose

Install cjose 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 cjose using yum by running the following command:

sudo yum -y install cjose

How To Uninstall cjose on Fedora 36

To uninstall only the cjose package we can use the following command:

sudo dnf remove cjose

cjose Package Contents on Fedora 36

---
title: "How To Install cjose on Fedora 36"
linkTitle: "cjose"
type: "docs"
description: "In this tutorial we learn how to install cjose in Fedora 36. cjose is C library implementing the Javascript Object Signing and Encryption (JOSE)"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/cjose-featured.png
---

## Introduction

In this tutorial we learn how to install `cjose` on Fedora 36.

### What is `cjose`

> Implementation of JOSE for C/C++  

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

## Install cjose 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 cjose using dnf by running the following command:

sudo dnf -y install cjose

Install cjose 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 cjose using yum by running the following command:

sudo yum -y install cjose

How To Uninstall cjose on Fedora 36

To uninstall only the cjose package we can use the following command:

sudo dnf remove cjose

cjose Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/44b47c302069a0b961aa78ccddf1949050d7bf
/usr/lib/libcjose.so.0
/usr/lib/libcjose.so.0.0.0
/usr/share/doc/cjose
/usr/share/doc/cjose/CHANGELOG.md
/usr/share/doc/cjose/README.md
/usr/share/doc/cjose/html
/usr/share/doc/cjose/html/annotated.html
/usr/share/doc/cjose/html/base64_8h.html
/usr/share/doc/cjose/html/base64_8h_source.html
/usr/share/doc/cjose/html/bc_s.png
/usr/share/doc/cjose/html/bdwn.png
/usr/share/doc/cjose/html/cjose_8h_source.html
/usr/share/doc/cjose/html/classes.html
/usr/share/doc/cjose/html/closed.png
/usr/share/doc/cjose/html/dir_55b9275dd3380a8a8f3d70da798804d2.html
/usr/share/doc/cjose/html/dir_d44c64559bbebec7f509842c48db8b23.html
/usr/share/doc/cjose/html/doc.png
/usr/share/doc/cjose/html/doxygen.css
/usr/share/doc/cjose/html/doxygen.svg
/usr/share/doc/cjose/html/dynsections.js
/usr/share/doc/cjose/html/error_8h.html
/usr/share/doc/cjose/html/error_8h_source.html
/usr/share/doc/cjose/html/files.html
/usr/share/doc/cjose/html/folderclosed.png
/usr/share/doc/cjose/html/folderopen.png
/usr/share/doc/cjose/html/functions.html
/usr/share/doc/cjose/html/functions_vars.html
/usr/share/doc/cjose/html/globals.html
/usr/share/doc/cjose/html/globals_defs.html
/usr/share/doc/cjose/html/globals_enum.html
/usr/share/doc/cjose/html/globals_eval.html
/usr/share/doc/cjose/html/globals_func.html
/usr/share/doc/cjose/html/globals_type.html
/usr/share/doc/cjose/html/globals_vars.html
/usr/share/doc/cjose/html/header_8h.html
/usr/share/doc/cjose/html/header_8h_source.html
/usr/share/doc/cjose/html/index.html
/usr/share/doc/cjose/html/jquery.js
/usr/share/doc/cjose/html/jwe_8h.html
/usr/share/doc/cjose/html/jwe_8h_source.html
/usr/share/doc/cjose/html/jwk_8h.html
/usr/share/doc/cjose/html/jwk_8h_source.html
/usr/share/doc/cjose/html/jws_8h.html
/usr/share/doc/cjose/html/jws_8h_source.html
/usr/share/doc/cjose/html/menu.js
/usr/share/doc/cjose/html/menudata.js
/usr/share/doc/cjose/html/nav_f.png
/usr/share/doc/cjose/html/nav_g.png
/usr/share/doc/cjose/html/nav_h.png
/usr/share/doc/cjose/html/open.png
/usr/share/doc/cjose/html/search
/usr/share/doc/cjose/html/search/all_0.html
/usr/share/doc/cjose/html/search/all_0.js
/usr/share/doc/cjose/html/search/all_1.html
/usr/share/doc/cjose/html/search/all_1.js
/usr/share/doc/cjose/html/search/all_10.html
/usr/share/doc/cjose/html/search/all_10.js
/usr/share/doc/cjose/html/search/all_2.html
/usr/share/doc/cjose/html/search/all_2.js
/usr/share/doc/cjose/html/search/all_3.html
/usr/share/doc/cjose/html/search/all_3.js
/usr/share/doc/cjose/html/search/all_4.html
/usr/share/doc/cjose/html/search/all_4.js
/usr/share/doc/cjose/html/search/all_5.html
/usr/share/doc/cjose/html/search/all_5.js
/usr/share/doc/cjose/html/search/all_6.html
/usr/share/doc/cjose/html/search/all_6.js
/usr/share/doc/cjose/html/search/all_7.html
/usr/share/doc/cjose/html/search/all_7.js
/usr/share/doc/cjose/html/search/all_8.html
/usr/share/doc/cjose/html/search/all_8.js
/usr/share/doc/cjose/html/search/all_9.html
/usr/share/doc/cjose/html/search/all_9.js
/usr/share/doc/cjose/html/search/all_a.html
/usr/share/doc/cjose/html/search/all_a.js
/usr/share/doc/cjose/html/search/all_b.html
/usr/share/doc/cjose/html/search/all_b.js
/usr/share/doc/cjose/html/search/all_c.html
/usr/share/doc/cjose/html/search/all_c.js
/usr/share/doc/cjose/html/search/all_d.html
/usr/share/doc/cjose/html/search/all_d.js
/usr/share/doc/cjose/html/search/all_e.html
/usr/share/doc/cjose/html/search/all_e.js
/usr/share/doc/cjose/html/search/all_f.html
/usr/share/doc/cjose/html/search/all_f.js
/usr/share/doc/cjose/html/search/classes_0.html
/usr/share/doc/cjose/html/search/classes_0.js
/usr/share/doc/cjose/html/search/close.svg
/usr/share/doc/cjose/html/search/defines_0.html
/usr/share/doc/cjose/html/search/defines_0.js
/usr/share/doc/cjose/html/search/defines_1.html
/usr/share/doc/cjose/html/search/defines_1.js
/usr/share/doc/cjose/html/search/enums_0.html
/usr/share/doc/cjose/html/search/enums_0.js
/usr/share/doc/cjose/html/search/enumvalues_0.html
/usr/share/doc/cjose/html/search/enumvalues_0.js
/usr/share/doc/cjose/html/search/files_0.html
/usr/share/doc/cjose/html/search/files_0.js
/usr/share/doc/cjose/html/search/files_1.html
/usr/share/doc/cjose/html/search/files_1.js
/usr/share/doc/cjose/html/search/files_2.html
/usr/share/doc/cjose/html/search/files_2.js
/usr/share/doc/cjose/html/search/files_3.html
/usr/share/doc/cjose/html/search/files_3.js
/usr/share/doc/cjose/html/search/files_4.html
/usr/share/doc/cjose/html/search/files_4.js
/usr/share/doc/cjose/html/search/files_5.html
/usr/share/doc/cjose/html/search/files_5.js
/usr/share/doc/cjose/html/search/functions_0.html
/usr/share/doc/cjose/html/search/functions_0.js
/usr/share/doc/cjose/html/search/mag_sel.svg
/usr/share/doc/cjose/html/search/nomatches.html
/usr/share/doc/cjose/html/search/search.css
/usr/share/doc/cjose/html/search/search.js
/usr/share/doc/cjose/html/search/search_l.png
/usr/share/doc/cjose/html/search/search_m.png
/usr/share/doc/cjose/html/search/search_r.png
/usr/share/doc/cjose/html/search/searchdata.js
/usr/share/doc/cjose/html/search/typedefs_0.html
/usr/share/doc/cjose/html/search/typedefs_0.js
/usr/share/doc/cjose/html/search/variables_0.html
/usr/share/doc/cjose/html/search/variables_0.js
/usr/share/doc/cjose/html/search/variables_1.html
/usr/share/doc/cjose/html/search/variables_1.js
/usr/share/doc/cjose/html/search/variables_2.html
/usr/share/doc/cjose/html/search/variables_2.js
/usr/share/doc/cjose/html/search/variables_3.html
/usr/share/doc/cjose/html/search/variables_3.js
/usr/share/doc/cjose/html/search/variables_4.html
/usr/share/doc/cjose/html/search/variables_4.js
/usr/share/doc/cjose/html/search/variables_5.html
/usr/share/doc/cjose/html/search/variables_5.js
/usr/share/doc/cjose/html/search/variables_6.html
/usr/share/doc/cjose/html/search/variables_6.js
/usr/share/doc/cjose/html/search/variables_7.html
/usr/share/doc/cjose/html/search/variables_7.js
/usr/share/doc/cjose/html/search/variables_8.html
/usr/share/doc/cjose/html/search/variables_8.js
/usr/share/doc/cjose/html/search/variables_9.html
/usr/share/doc/cjose/html/search/variables_9.js
/usr/share/doc/cjose/html/search/variables_a.html
/usr/share/doc/cjose/html/search/variables_a.js
/usr/share/doc/cjose/html/search/variables_b.html
/usr/share/doc/cjose/html/search/variables_b.js
/usr/share/doc/cjose/html/search/variables_c.html
/usr/share/doc/cjose/html/search/variables_c.js
/usr/share/doc/cjose/html/splitbar.png
/usr/share/doc/cjose/html/structcjose__err-members.html
/usr/share/doc/cjose/html/structcjose__err.html
/usr/share/doc/cjose/html/structcjose__jwe__recipient__t-members.html
/usr/share/doc/cjose/html/structcjose__jwe__recipient__t.html
/usr/share/doc/cjose/html/structcjose__jwk__ec__keyspec-members.html
/usr/share/doc/cjose/html/structcjose__jwk__ec__keyspec.html
/usr/share/doc/cjose/html/structcjose__jwk__rsa__keyspec-members.html
/usr/share/doc/cjose/html/structcjose__jwk__rsa__keyspec.html
/usr/share/doc/cjose/html/sync_off.png
/usr/share/doc/cjose/html/sync_on.png
/usr/share/doc/cjose/html/tab_a.png
/usr/share/doc/cjose/html/tab_b.png
/usr/share/doc/cjose/html/tab_h.png
/usr/share/doc/cjose/html/tab_s.png
/usr/share/doc/cjose/html/tabs.css
/usr/share/doc/cjose/html/util_8h.html
/usr/share/doc/cjose/html/util_8h_source.html
/usr/share/doc/cjose/html/version_8h.html
/usr/share/doc/cjose/html/version_8h_source.html
/usr/share/licenses/cjose
/usr/share/licenses/cjose/LICENSE

References

/usr/lib/.build-id /usr/lib/.build-id/8d /usr/lib/.build-id/8d/dadd4212c4c56d42a2a367e1e89aad25e0dfb1 /usr/lib64/libcjose.so.0 /usr/lib64/libcjose.so.0.0.0 /usr/share/doc/cjose /usr/share/doc/cjose/CHANGELOG.md /usr/share/doc/cjose/README.md /usr/share/doc/cjose/html /usr/share/doc/cjose/html/annotated.html /usr/share/doc/cjose/html/base64_8h.html /usr/share/doc/cjose/html/base64_8h_source.html /usr/share/doc/cjose/html/bc_s.png /usr/share/doc/cjose/html/bdwn.png /usr/share/doc/cjose/html/cjose_8h_source.html /usr/share/doc/cjose/html/classes.html /usr/share/doc/cjose/html/closed.png /usr/share/doc/cjose/html/dir_55b9275dd3380a8a8f3d70da798804d2.html /usr/share/doc/cjose/html/dir_d44c64559bbebec7f509842c48db8b23.html /usr/share/doc/cjose/html/doc.png /usr/share/doc/cjose/html/doxygen.css /usr/share/doc/cjose/html/doxygen.svg /usr/share/doc/cjose/html/dynsections.js /usr/share/doc/cjose/html/error_8h.html /usr/share/doc/cjose/html/error_8h_source.html /usr/share/doc/cjose/html/files.html /usr/share/doc/cjose/html/folderclosed.png /usr/share/doc/cjose/html/folderopen.png /usr/share/doc/cjose/html/functions.html /usr/share/doc/cjose/html/functions_vars.html /usr/share/doc/cjose/html/globals.html /usr/share/doc/cjose/html/globals_defs.html /usr/share/doc/cjose/html/globals_enum.html /usr/share/doc/cjose/html/globals_eval.html /usr/share/doc/cjose/html/globals_func.html /usr/share/doc/cjose/html/globals_type.html /usr/share/doc/cjose/html/globals_vars.html /usr/share/doc/cjose/html/header_8h.html /usr/share/doc/cjose/html/header_8h_source.html /usr/share/doc/cjose/html/index.html /usr/share/doc/cjose/html/jquery.js /usr/share/doc/cjose/html/jwe_8h.html /usr/share/doc/cjose/html/jwe_8h_source.html /usr/share/doc/cjose/html/jwk_8h.html /usr/share/doc/cjose/html/jwk_8h_source.html /usr/share/doc/cjose/html/jws_8h.html /usr/share/doc/cjose/html/jws_8h_source.html /usr/share/doc/cjose/html/menu.js /usr/share/doc/cjose/html/menudata.js /usr/share/doc/cjose/html/nav_f.png /usr/share/doc/cjose/html/nav_g.png /usr/share/doc/cjose/html/nav_h.png /usr/share/doc/cjose/html/open.png /usr/share/doc/cjose/html/search /usr/share/doc/cjose/html/search/all_0.html /usr/share/doc/cjose/html/search/all_0.js /usr/share/doc/cjose/html/search/all_1.html /usr/share/doc/cjose/html/search/all_1.js /usr/share/doc/cjose/html/search/all_10.html /usr/share/doc/cjose/html/search/all_10.js /usr/share/doc/cjose/html/search/all_2.html /usr/share/doc/cjose/html/search/all_2.js /usr/share/doc/cjose/html/search/all_3.html /usr/share/doc/cjose/html/search/all_3.js /usr/share/doc/cjose/html/search/all_4.html /usr/share/doc/cjose/html/search/all_4.js /usr/share/doc/cjose/html/search/all_5.html /usr/share/doc/cjose/html/search/all_5.js /usr/share/doc/cjose/html/search/all_6.html /usr/share/doc/cjose/html/search/all_6.js /usr/share/doc/cjose/html/search/all_7.html /usr/share/doc/cjose/html/search/all_7.js /usr/share/doc/cjose/html/search/all_8.html /usr/share/doc/cjose/html/search/all_8.js /usr/share/doc/cjose/html/search/all_9.html /usr/share/doc/cjose/html/search/all_9.js /usr/share/doc/cjose/html/search/all_a.html /usr/share/doc/cjose/html/search/all_a.js /usr/share/doc/cjose/html/search/all_b.html /usr/share/doc/cjose/html/search/all_b.js /usr/share/doc/cjose/html/search/all_c.html /usr/share/doc/cjose/html/search/all_c.js /usr/share/doc/cjose/html/search/all_d.html /usr/share/doc/cjose/html/search/all_d.js /usr/share/doc/cjose/html/search/all_e.html /usr/share/doc/cjose/html/search/all_e.js /usr/share/doc/cjose/html/search/all_f.html /usr/share/doc/cjose/html/search/all_f.js /usr/share/doc/cjose/html/search/classes_0.html /usr/share/doc/cjose/html/search/classes_0.js /usr/share/doc/cjose/html/search/close.svg /usr/share/doc/cjose/html/search/defines_0.html /usr/share/doc/cjose/html/search/defines_0.js /usr/share/doc/cjose/html/search/defines_1.html /usr/share/doc/cjose/html/search/defines_1.js /usr/share/doc/cjose/html/search/enums_0.html /usr/share/doc/cjose/html/search/enums_0.js /usr/share/doc/cjose/html/search/enumvalues_0.html /usr/share/doc/cjose/html/search/enumvalues_0.js /usr/share/doc/cjose/html/search/files_0.html /usr/share/doc/cjose/html/search/files_0.js /usr/share/doc/cjose/html/search/files_1.html /usr/share/doc/cjose/html/search/files_1.js /usr/share/doc/cjose/html/search/files_2.html /usr/share/doc/cjose/html/search/files_2.js /usr/share/doc/cjose/html/search/files_3.html /usr/share/doc/cjose/html/search/files_3.js /usr/share/doc/cjose/html/search/files_4.html /usr/share/doc/cjose/html/search/files_4.js /usr/share/doc/cjose/html/search/files_5.html /usr/share/doc/cjose/html/search/files_5.js /usr/share/doc/cjose/html/search/functions_0.html /usr/share/doc/cjose/html/search/functions_0.js /usr/share/doc/cjose/html/search/mag_sel.svg /usr/share/doc/cjose/html/search/nomatches.html /usr/share/doc/cjose/html/search/search.css /usr/share/doc/cjose/html/search/search.js /usr/share/doc/cjose/html/search/search_l.png /usr/share/doc/cjose/html/search/search_m.png /usr/share/doc/cjose/html/search/search_r.png /usr/share/doc/cjose/html/search/searchdata.js /usr/share/doc/cjose/html/search/typedefs_0.html /usr/share/doc/cjose/html/search/typedefs_0.js /usr/share/doc/cjose/html/search/variables_0.html /usr/share/doc/cjose/html/search/variables_0.js /usr/share/doc/cjose/html/search/variables_1.html /usr/share/doc/cjose/html/search/variables_1.js /usr/share/doc/cjose/html/search/variables_2.html /usr/share/doc/cjose/html/search/variables_2.js /usr/share/doc/cjose/html/search/variables_3.html /usr/share/doc/cjose/html/search/variables_3.js /usr/share/doc/cjose/html/search/variables_4.html /usr/share/doc/cjose/html/search/variables_4.js /usr/share/doc/cjose/html/search/variables_5.html /usr/share/doc/cjose/html/search/variables_5.js /usr/share/doc/cjose/html/search/variables_6.html /usr/share/doc/cjose/html/search/variables_6.js /usr/share/doc/cjose/html/search/variables_7.html /usr/share/doc/cjose/html/search/variables_7.js /usr/share/doc/cjose/html/search/variables_8.html /usr/share/doc/cjose/html/search/variables_8.js /usr/share/doc/cjose/html/search/variables_9.html /usr/share/doc/cjose/html/search/variables_9.js /usr/share/doc/cjose/html/search/variables_a.html /usr/share/doc/cjose/html/search/variables_a.js /usr/share/doc/cjose/html/search/variables_b.html /usr/share/doc/cjose/html/search/variables_b.js /usr/share/doc/cjose/html/search/variables_c.html /usr/share/doc/cjose/html/search/variables_c.js /usr/share/doc/cjose/html/splitbar.png /usr/share/doc/cjose/html/structcjose__err-members.html /usr/share/doc/cjose/html/structcjose__err.html /usr/share/doc/cjose/html/structcjose__jwe__recipient__t-members.html /usr/share/doc/cjose/html/structcjose__jwe__recipient__t.html /usr/share/doc/cjose/html/structcjose__jwk__ec__keyspec-members.html /usr/share/doc/cjose/html/structcjose__jwk__ec__keyspec.html /usr/share/doc/cjose/html/structcjose__jwk__rsa__keyspec-members.html /usr/share/doc/cjose/html/structcjose__jwk__rsa__keyspec.html /usr/share/doc/cjose/html/sync_off.png /usr/share/doc/cjose/html/sync_on.png /usr/share/doc/cjose/html/tab_a.png /usr/share/doc/cjose/html/tab_b.png /usr/share/doc/cjose/html/tab_h.png /usr/share/doc/cjose/html/tab_s.png /usr/share/doc/cjose/html/tabs.css /usr/share/doc/cjose/html/util_8h.html /usr/share/doc/cjose/html/util_8h_source.html /usr/share/doc/cjose/html/version_8h.html /usr/share/doc/cjose/html/version_8h_source.html /usr/share/licenses/cjose /usr/share/licenses/cjose/LICENSE

Summary

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


## References

* [cjose website](https://github.com/cisco/cjose)

## Summary

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