How To Install libmtp.i686 on Amazon Linux 2

In this tutorial we learn how to install libmtp.i686 in Amazon Linux 2. libmtp.i686 is A software library for MTP media players

Introduction

In this tutorial we learn how to install libmtp.i686 on Amazon Linux 2.

What is libmtp.i686

This package provides a software library for communicating with MTP (Media Transfer Protocol) media players, typically audio players, video players etc.

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

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

sudo yum -y install libmtp.i686

How To Uninstall libmtp.i686 on Amazon Linux 2

To uninstall only the libmtp.i686 package we can use the following command:

sudo yum remove libmtp.i686

libmtp.i686 Package Contents on Amazon Linux 2

/usr/lib/libmtp.so.9
/usr/lib/libmtp.so.9.3.0
/usr/lib/udev/hwdb.d/69-libmtp.hwdb
/usr/lib/udev/mtp-probe
/usr/lib/udev/rules.d/69-libmtp.rules

References

Summary

In this tutorial we learn how to install libmtp.i686 on Amazon Linux 2 using yum.