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

In this tutorial we learn how to install newt-devel.x86_64 in Amazon Linux 2. newt-devel.x86_64 is Newt windowing toolkit development files

Introduction

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

What is newt-devel.x86_64

The newt-devel package contains the header files and libraries necessary for developing applications which use newt. Newt is a development library for text mode user interfaces. Newt is based on the slang library. Install newt-devel if you want to develop applications which will use newt.

We can use yum to install newt-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 newt-devel.x86_64.

Install newt-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 newt-devel.x86_64 using yum by running the following command:

sudo yum -y install newt-devel.x86_64

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

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

sudo yum remove newt-devel.x86_64

newt-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/newt.h
/usr/lib64/libnewt.so
/usr/lib64/pkgconfig/libnewt.pc
/usr/share/doc/newt-devel-0.52.15
/usr/share/doc/newt-devel-0.52.15/tutorial.sgml
/usr/share/doc/newt-devel-0.52.15/tutorial.txt

References

Summary

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