How To Install dialog-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dialog-devel.x86_64 in Amazon Linux 2. dialog-devel.x86_64 is Development files for building applications with the dialog

Introduction

In this tutorial we learn how to install dialog-devel.x86_64 on Amazon Linux 2.

What is dialog-devel.x86_64

Dialog is a utility that allows you to show dialog boxes (containing questions or messages) in TTY (text mode) interfaces. This package contains the files needed for developing applications, which use the dialog library.

We can use yum to install dialog-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dialog-devel.x86_64.

Install dialog-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install dialog-devel.x86_64

How To Uninstall dialog-devel.x86_64 on Amazon Linux 2

To uninstall only the dialog-devel.x86_64 package we can use the following command:

sudo yum remove dialog-devel.x86_64

dialog-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dialog-config
/usr/include/dialog
/usr/include/dialog/dialog.h
/usr/include/dialog/dlg_colors.h
/usr/include/dialog/dlg_config.h
/usr/include/dialog/dlg_keys.h
/usr/lib64/libdialog.so
/usr/share/man/man3/dialog.3.gz

References

Summary

In this tutorial we learn how to install dialog-devel.x86_64 on Amazon Linux 2 using yum.