How To Install libmtp-examples.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libmtp-examples.x86_64 in Amazon Linux 2. libmtp-examples.x86_64 is Example programs for libmtp

Introduction

In this tutorial we learn how to install libmtp-examples.x86_64 on Amazon Linux 2.

What is libmtp-examples.x86_64

This package provides example programs for communicating with MTP devices.

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

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

sudo yum -y install libmtp-examples.x86_64

How To Uninstall libmtp-examples.x86_64 on Amazon Linux 2

To uninstall only the libmtp-examples.x86_64 package we can use the following command:

sudo yum remove libmtp-examples.x86_64

libmtp-examples.x86_64 Package Contents on Amazon Linux 2

/usr/bin/mtp-albumart
/usr/bin/mtp-albums
/usr/bin/mtp-connect
/usr/bin/mtp-delfile
/usr/bin/mtp-detect
/usr/bin/mtp-emptyfolders
/usr/bin/mtp-files
/usr/bin/mtp-filetree
/usr/bin/mtp-folders
/usr/bin/mtp-format
/usr/bin/mtp-getfile
/usr/bin/mtp-getplaylist
/usr/bin/mtp-hotplug
/usr/bin/mtp-newfolder
/usr/bin/mtp-newplaylist
/usr/bin/mtp-playlists
/usr/bin/mtp-reset
/usr/bin/mtp-sendfile
/usr/bin/mtp-sendtr
/usr/bin/mtp-thumb
/usr/bin/mtp-tracks
/usr/bin/mtp-trexist

References

Summary

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