How To Install s3fs-fuse on CentOS 8
Introduction
In this tutorial we learn how to install s3fs-fuse
on CentOS 8.
What is s3fs-fuse
s3fs is a FUSE file system that allows you to mount an Amazon S3 bucket as a local file system. It stores files natively and transparently in S3 (i.e., you can use other programs to access the same files). Maximum file size is 5 TB when using multipart upload. s3fs is stable and is being used in number of production environments, e.g., rsync backup to s3.
We can use yum
or dnf
to install s3fs-fuse
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install s3fs-fuse.
Install s3fs-fuse on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install s3fs-fuse
using dnf
by running the following command:
sudo dnf -y install s3fs-fuse
Install s3fs-fuse on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install s3fs-fuse
using yum
by running the following command:
sudo yum -y install s3fs-fuse
How To Uninstall s3fs-fuse on CentOS 8
To uninstall only the s3fs-fuse
package we can use the following command:
sudo dnf remove s3fs-fuse
s3fs-fuse Package Contents on CentOS 8
/usr/bin/s3fs
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/7b8a6d9092ed32d9eab1a7e15df89bf45ce4be
/usr/share/doc/s3fs-fuse
/usr/share/doc/s3fs-fuse/AUTHORS
/usr/share/doc/s3fs-fuse/ChangeLog
/usr/share/doc/s3fs-fuse/README.md
/usr/share/doc/s3fs-fuse/passwd-s3fs
/usr/share/licenses/s3fs-fuse
/usr/share/licenses/s3fs-fuse/COPYING
/usr/share/man/man1/s3fs.1.gz
References
Summary
In this tutorial we learn how to install s3fs-fuse
on CentOS 8 using yum and dnf.