How To Install gvfs-mtp.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gvfs-mtp.x86_64 in Amazon Linux 2. gvfs-mtp.x86_64 is MTP support for gvfs

Introduction

In this tutorial we learn how to install gvfs-mtp.x86_64 on Amazon Linux 2.

What is gvfs-mtp.x86_64

This package provides support for reading and writing files on MTP based devices (Media Transfer Protocol) to applications using gvfs.

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

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

sudo yum -y install gvfs-mtp.x86_64

How To Uninstall gvfs-mtp.x86_64 on Amazon Linux 2

To uninstall only the gvfs-mtp.x86_64 package we can use the following command:

sudo yum remove gvfs-mtp.x86_64

gvfs-mtp.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/user/gvfs-mtp-volume-monitor.service
/usr/libexec/gvfs-mtp-volume-monitor
/usr/libexec/gvfsd-mtp
/usr/share/dbus-1/services/org.gtk.vfs.MTPVolumeMonitor.service
/usr/share/gvfs/mounts/mtp.mount
/usr/share/gvfs/remote-volume-monitors/mtp.monitor

References

Summary

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