How To Install qt5-qtserialport-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qt5-qtserialport-devel.x86_64 in Amazon Linux 2. qt5-qtserialport-devel.x86_64 is Development files for qt5-qtserialport

Introduction

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

What is qt5-qtserialport-devel.x86_64

Development files for qt5-qtserialport.

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

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

sudo yum -y install qt5-qtserialport-devel.x86_64

How To Uninstall qt5-qtserialport-devel.x86_64 on Amazon Linux 2

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

sudo yum remove qt5-qtserialport-devel.x86_64

qt5-qtserialport-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/qt5/QtSerialPort
/usr/include/qt5/QtSerialPort/5.9.2
/usr/include/qt5/QtSerialPort/5.9.2/QtSerialPort
/usr/include/qt5/QtSerialPort/5.9.2/QtSerialPort/private
/usr/include/qt5/QtSerialPort/5.9.2/QtSerialPort/private/qserialport_p.h
/usr/include/qt5/QtSerialPort/5.9.2/QtSerialPort/private/qserialportinfo_p.h
/usr/include/qt5/QtSerialPort/5.9.2/QtSerialPort/private/qtudev_p.h
/usr/include/qt5/QtSerialPort/QSerialPort
/usr/include/qt5/QtSerialPort/QSerialPortInfo
/usr/include/qt5/QtSerialPort/QtSerialPort
/usr/include/qt5/QtSerialPort/QtSerialPortDepends
/usr/include/qt5/QtSerialPort/QtSerialPortVersion
/usr/include/qt5/QtSerialPort/qserialport.h
/usr/include/qt5/QtSerialPort/qserialportglobal.h
/usr/include/qt5/QtSerialPort/qserialportinfo.h
/usr/include/qt5/QtSerialPort/qtserialportversion.h
/usr/lib64/cmake/Qt5SerialPort
/usr/lib64/cmake/Qt5SerialPort/Qt5SerialPortConfig.cmake
/usr/lib64/cmake/Qt5SerialPort/Qt5SerialPortConfigVersion.cmake
/usr/lib64/libQt5SerialPort.prl
/usr/lib64/libQt5SerialPort.so
/usr/lib64/pkgconfig/Qt5SerialPort.pc
/usr/lib64/qt5/mkspecs/modules/qt_lib_serialport.pri
/usr/lib64/qt5/mkspecs/modules/qt_lib_serialport_private.pri

References

Summary

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