How To Install squashfuse on CentOS 7

In this tutorial we learn how to install squashfuse on CentOS 7. squashfuse is FUSE filesystem to mount squashfs archives

Introduction

In this tutorial we learn how to install squashfuse on CentOS 7.

What is squashfuse

Squashfuse lets you mount SquashFS archives in user-space. It supports almost all features of the SquashFS format, yet is still fast and memory-efficient. SquashFS is an efficiently compressed, read-only storage format. Support for it has been built into the Linux kernel since 2009. It is very common on Live CDs and embedded Linux distributions.

We can use yum or dnf to install squashfuse on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install squashfuse.

Install squashfuse on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install squashfuse using yum by running the following command:

sudo yum -y install squashfuse

Install squashfuse on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install squashfuse

How To Uninstall squashfuse on CentOS 7

To uninstall only the squashfuse package we can use the following command:

sudo dnf remove squashfuse

References

Summary

In this tutorial we learn how to install squashfuse on CentOS 7 using yum and dnf.