How To Install gvfs-afc on Rocky Linux 8

In this tutorial we learn how to install gvfs-afc on Rocky Linux 8. gvfs-afc is AFC support for gvfs

Introduction

In this tutorial we learn how to install gvfs-afc on Rocky Linux 8.

What is gvfs-afc

This package provides support for reading files on mobile devices including phones and music players to applications using gvfs.

We can use yum or dnf to install gvfs-afc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gvfs-afc.

Install gvfs-afc on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gvfs-afc using dnf by running the following command:

sudo dnf -y install gvfs-afc

Install gvfs-afc on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gvfs-afc using yum by running the following command:

sudo yum -y install gvfs-afc

How To Uninstall gvfs-afc on Rocky Linux 8

To uninstall only the gvfs-afc package we can use the following command:

sudo dnf remove gvfs-afc

gvfs-afc Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/a33b9f8a5a4f62b575e60415e4f01684d337f6
/usr/lib/.build-id/91
/usr/lib/.build-id/91/422f2175c4aecd4781d888845881013f3c7187
/usr/lib/systemd/user/gvfs-afc-volume-monitor.service
/usr/libexec/gvfs-afc-volume-monitor
/usr/libexec/gvfsd-afc
/usr/share/dbus-1/services/org.gtk.vfs.AfcVolumeMonitor.service
/usr/share/gvfs/mounts/afc.mount
/usr/share/gvfs/remote-volume-monitors/afc.monitor

References

Summary

In this tutorial we learn how to install gvfs-afc on Rocky Linux 8 using yum and dnf.