How To Install compat-readline5-devel on Fedora 36

In this tutorial we learn how to install compat-readline5-devel in Fedora 36. compat-readline5-devel is Files needed to develop programs which use the readline library

Introduction

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

What is compat-readline5-devel

The Readline library provides a set of functions that allow users to edit typed command lines. If you want to develop programs that will use the readline library, you need to have the readline-devel package installed. You also need to have the readline package installed.

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

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

sudo dnf -y install compat-readline5-devel

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

sudo yum -y install compat-readline5-devel

How To Uninstall compat-readline5-devel on Fedora 36

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

sudo dnf remove compat-readline5-devel

compat-readline5-devel Package Contents on Fedora 36

---
title: "How To Install compat-readline5-devel on Fedora 36"
linkTitle: "compat-readline5-devel"
type: "docs"
description: "In this tutorial we learn how to install compat-readline5-devel in Fedora 36. compat-readline5-devel is Files needed to develop programs which use the readline library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/compat-readline5-devel-featured.png
---

## Introduction

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

### What is `compat-readline5-devel`

> The Readline library provides a set of functions that allow users to edit typed command lines. If you want to develop programs that will use the readline library, you need to have the readline-devel package installed. You also need to have the readline package installed.  

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

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

sudo dnf -y install compat-readline5-devel

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

sudo yum -y install compat-readline5-devel

How To Uninstall compat-readline5-devel on Fedora 36

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

sudo dnf remove compat-readline5-devel

compat-readline5-devel Package Contents on Fedora 36

/usr/include/readline5 /usr/include/readline5/readline /usr/include/readline5/readline/chardefs.h /usr/include/readline5/readline/history.h /usr/include/readline5/readline/keymaps.h /usr/include/readline5/readline/readline.h /usr/include/readline5/readline/rlconf.h /usr/include/readline5/readline/rlstdc.h /usr/include/readline5/readline/rltypedefs.h /usr/include/readline5/readline/tilde.h /usr/lib/readline5 /usr/lib/readline5/libhistory.so /usr/lib/readline5/libreadline.so

References

Summary

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

/usr/include/readline5 /usr/include/readline5/readline /usr/include/readline5/readline/chardefs.h /usr/include/readline5/readline/history.h /usr/include/readline5/readline/keymaps.h /usr/include/readline5/readline/readline.h /usr/include/readline5/readline/rlconf.h /usr/include/readline5/readline/rlstdc.h /usr/include/readline5/readline/rltypedefs.h /usr/include/readline5/readline/tilde.h /usr/lib64/readline5 /usr/lib64/readline5/libhistory.so /usr/lib64/readline5/libreadline.so


## References

* [compat-readline5-devel website](http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html)

## Summary

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