How To Install cpprest on Fedora 36

In this tutorial we learn how to install cpprest in Fedora 36. cpprest is C++ REST library

Introduction

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

What is cpprest

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services. Also known as Casablanca.

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

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

sudo dnf -y install cpprest

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

sudo yum -y install cpprest

How To Uninstall cpprest on Fedora 36

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

sudo dnf remove cpprest

cpprest Package Contents on Fedora 36

---
title: "How To Install cpprest on Fedora 36"
linkTitle: "cpprest"
type: "docs"
description: "In this tutorial we learn how to install cpprest in Fedora 36. cpprest is C++ REST library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/cpprest-featured.png
---

## Introduction

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

### What is `cpprest`

> The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.  Also known as Casablanca.  

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

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

sudo dnf -y install cpprest

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

sudo yum -y install cpprest

How To Uninstall cpprest on Fedora 36

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

sudo dnf remove cpprest

cpprest Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/86
/usr/lib/.build-id/86/33bdc4d1f2e6c865b4ee2e08513c54a0b0d508
/usr/lib/libcpprest.so.2.10
/usr/share/doc/cpprest
/usr/share/doc/cpprest/CONTRIBUTORS.txt
/usr/share/licenses/cpprest
/usr/share/licenses/cpprest/license.txt

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/36 /usr/lib/.build-id/36/b730422553d6a907acd7b938116c9c681cf3a9 /usr/lib64/libcpprest.so.2.10 /usr/share/doc/cpprest /usr/share/doc/cpprest/CONTRIBUTORS.txt /usr/share/licenses/cpprest /usr/share/licenses/cpprest/license.txt


## References

* [cpprest website](https://github.com/Microsoft/cpprestsdk)

## Summary

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