How To Install spooky-c on Fedora 36

In this tutorial we learn how to install spooky-c in Fedora 36. spooky-c is C port of Bob Jenkins’ spooky hash

Introduction

In this tutorial we learn how to install spooky-c on Fedora 36.

What is spooky-c

This is a C version of Bob Jenkins’ spooky hash. The only advantage over Bob’s original version is that it is in C, not C++ and comes with some test and benchmark code. This is a very competitive hash function, but is somewhat non-portable. It should work on both big and little endian architectures, but will generate different hashes on them. It’s also optimized for 64-bit architectures. It will work on 32-bit architectures as well, but is much slower there.

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

Install spooky-c on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install spooky-c

Install spooky-c on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install spooky-c

How To Uninstall spooky-c on Fedora 36

To uninstall only the spooky-c package we can use the following command:

sudo dnf remove spooky-c

spooky-c Package Contents on Fedora 36

---
title: "How To Install spooky-c on Fedora 36"
linkTitle: "spooky-c"
type: "docs"
description: "In this tutorial we learn how to install spooky-c in Fedora 36. spooky-c is C port of Bob Jenkins' spooky hash"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/spooky-c-featured.png
---

## Introduction

In this tutorial we learn how to install `spooky-c` on Fedora 36.

### What is `spooky-c`

> This is a C version of Bob Jenkins' spooky hash. The only advantage over Bob's original version is that it is in C, not C++ and comes with some test and benchmark code.  This is a very competitive hash function, but is somewhat non-portable. It should work on both big and little endian architectures, but will generate different hashes on them. It's also optimized for 64-bit architectures. It will work on 32-bit architectures as well, but is much slower there.  

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

## Install spooky-c on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install spooky-c

Install spooky-c on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install spooky-c

How To Uninstall spooky-c on Fedora 36

To uninstall only the spooky-c package we can use the following command:

sudo dnf remove spooky-c

spooky-c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/555167acf936f1e9aca86d8e09cba65934c00b
/usr/lib/libspooky-c.so.1
/usr/lib/libspooky-c.so.1.0.0
/usr/share/doc/spooky-c
/usr/share/doc/spooky-c/README.md

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/e2 /usr/lib/.build-id/e2/64f45a66fa76072643b6f334d38ac4aee42f7c /usr/lib64/libspooky-c.so.1 /usr/lib64/libspooky-c.so.1.0.0 /usr/share/doc/spooky-c /usr/share/doc/spooky-c/README.md


## References

* [spooky-c website](https://github.com/andikleen/spooky-c)

## Summary

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