How To Install snappy on Fedora 36

In this tutorial we learn how to install snappy in Fedora 36. snappy is Fast compression and decompression library

Introduction

In this tutorial we learn how to install snappy on Fedora 36.

What is snappy

Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger.

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


title: “How To Install snappy on Fedora 36” linkTitle: “snappy” type: “docs” description: “In this tutorial we learn how to install snappy in Fedora 36. snappy is Fast compression and decompression library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/snappy-featured.png

Introduction

In this tutorial we learn how to install snappy on Fedora 36.

What is snappy

Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger.

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

Install snappy on Fedora 36 Using dnf

Update yum database with dnf using the following command.

Install snappy on Fedora 36 Using dnf


sudo dnf makecache --refresh

Update yum database with dnf using the following command.

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


sudo dnf makecache --refresh
```bash

sudo dnf -y install snappy


After updating yum database, We can install `snappy` using `dnf` by running the following command:
## Install snappy on Fedora 36 Using yum


```bash
Update yum database with `yum` using the following command.
sudo dnf -y install snappy

sudo yum makecache --refresh
## Install snappy on Fedora 36 Using yum

Update yum database with yum using the following command. After updating yum database, We can install snappy using yum by running the following command:

```bash
sudo yum makecache --refresh
sudo yum -y install snappy

How To Uninstall snappy on Fedora 36

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

sudo dnf remove snappy

snappy Package Contents on Fedora 36

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

sudo yum -y install snappy

How To Uninstall snappy on Fedora 36

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

sudo dnf remove snappy

snappy Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/5ffd6e8f39a7552d886108497c62d34b8db574
/usr/lib/libsnappy.so.1
/usr/lib/libsnappy.so.1.1.9
/usr/share/doc/snappy
/usr/share/doc/snappy/AUTHORS
/usr/share/doc/snappy/NEWS
/usr/share/doc/snappy/README.md
/usr/share/licenses/snappy
/usr/share/licenses/snappy/COPYING

References

Summary

In this tutorial we learn how to install snappy on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/99 /usr/lib/.build-id/99/9ca1f11c8aa542954ecd3466c120d0fd672d24 /usr/lib64/libsnappy.so.1 /usr/lib64/libsnappy.so.1.1.9 /usr/share/doc/snappy /usr/share/doc/snappy/AUTHORS /usr/share/doc/snappy/NEWS /usr/share/doc/snappy/README.md /usr/share/licenses/snappy /usr/share/licenses/snappy/COPYING


## References

* [snappy website](https://github.com/google/snappy)

## Summary

In this tutorial we learn how to install `snappy` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).