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

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

Introduction

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

What is gvfs-gphoto2.x86_64

This package provides support for reading and writing files on PTP based cameras (Picture Transfer Protocol) and MTP based media players (Media Transfer Protocol) to applications using gvfs.

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

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

sudo yum -y install gvfs-gphoto2.x86_64

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

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

sudo yum remove gvfs-gphoto2.x86_64

gvfs-gphoto2.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

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