How To Install sparsehash-devel on Fedora 36

In this tutorial we learn how to install sparsehash-devel in Fedora 36. sparsehash-devel is Extremely memory-efficient C++ hash_map implementation

Introduction

In this tutorial we learn how to install sparsehash-devel on Fedora 36.

What is sparsehash-devel

The Google SparseHash project contains several C++ template hash-map implementations with different performance characteristics, including an implementation that optimizes for space and one that optimizes for speed.

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

Install sparsehash-devel 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 sparsehash-devel using dnf by running the following command:

sudo dnf -y install sparsehash-devel

Install sparsehash-devel 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 sparsehash-devel using yum by running the following command:

sudo yum -y install sparsehash-devel

How To Uninstall sparsehash-devel on Fedora 36

To uninstall only the sparsehash-devel package we can use the following command:

sudo dnf remove sparsehash-devel

sparsehash-devel Package Contents on Fedora 36

---
title: "How To Install sparsehash-devel on Fedora 36"
linkTitle: "sparsehash-devel"
type: "docs"
description: "In this tutorial we learn how to install sparsehash-devel in Fedora 36. sparsehash-devel is Extremely memory-efficient C++ hash_map implementation"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/sparsehash-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `sparsehash-devel` on Fedora 36.

### What is `sparsehash-devel`

> The Google SparseHash project contains several C++ template hash-map implementations with different performance characteristics, including an implementation that optimizes for space and one that optimizes for speed.  

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

## Install sparsehash-devel 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 sparsehash-devel using dnf by running the following command:

sudo dnf -y install sparsehash-devel

Install sparsehash-devel 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 sparsehash-devel using yum by running the following command:

sudo yum -y install sparsehash-devel

How To Uninstall sparsehash-devel on Fedora 36

To uninstall only the sparsehash-devel package we can use the following command:

sudo dnf remove sparsehash-devel

sparsehash-devel Package Contents on Fedora 36

/usr/include/google
/usr/include/google/dense_hash_map
/usr/include/google/dense_hash_set
/usr/include/google/sparse_hash_map
/usr/include/google/sparse_hash_set
/usr/include/google/sparsehash
/usr/include/google/sparsehash/densehashtable.h
/usr/include/google/sparsehash/hashtable-common.h
/usr/include/google/sparsehash/libc_allocator_with_realloc.h
/usr/include/google/sparsehash/sparsehashtable.h
/usr/include/google/sparsetable
/usr/include/google/template_util.h
/usr/include/google/type_traits.h
/usr/include/sparsehash
/usr/include/sparsehash/dense_hash_map
/usr/include/sparsehash/dense_hash_set
/usr/include/sparsehash/internal
/usr/include/sparsehash/internal/densehashtable.h
/usr/include/sparsehash/internal/hashtable-common.h
/usr/include/sparsehash/internal/libc_allocator_with_realloc.h
/usr/include/sparsehash/internal/sparseconfig.h
/usr/include/sparsehash/internal/sparsehashtable.h
/usr/include/sparsehash/sparse_hash_map
/usr/include/sparsehash/sparse_hash_set
/usr/include/sparsehash/sparsetable
/usr/include/sparsehash/template_util.h
/usr/include/sparsehash/type_traits.h
/usr/lib64/pkgconfig/libsparsehash.pc
/usr/share/doc/sparsehash
/usr/share/doc/sparsehash/AUTHORS
/usr/share/doc/sparsehash/COPYING
/usr/share/doc/sparsehash/ChangeLog
/usr/share/doc/sparsehash/NEWS
/usr/share/doc/sparsehash/README
/usr/share/doc/sparsehash/TODO
/usr/share/doc/sparsehash/dense_hash_map.html
/usr/share/doc/sparsehash/dense_hash_set.html
/usr/share/doc/sparsehash/designstyle.css
/usr/share/doc/sparsehash/implementation.html
/usr/share/doc/sparsehash/index.html
/usr/share/doc/sparsehash/performance.html
/usr/share/doc/sparsehash/sparse_hash_map.html
/usr/share/doc/sparsehash/sparse_hash_set.html
/usr/share/doc/sparsehash/sparsetable.html

References

Summary

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

/usr/include/google /usr/include/google/dense_hash_map /usr/include/google/dense_hash_set /usr/include/google/sparse_hash_map /usr/include/google/sparse_hash_set /usr/include/google/sparsehash /usr/include/google/sparsehash/densehashtable.h /usr/include/google/sparsehash/hashtable-common.h /usr/include/google/sparsehash/libc_allocator_with_realloc.h /usr/include/google/sparsehash/sparsehashtable.h /usr/include/google/sparsetable /usr/include/google/template_util.h /usr/include/google/type_traits.h /usr/include/sparsehash /usr/include/sparsehash/dense_hash_map /usr/include/sparsehash/dense_hash_set /usr/include/sparsehash/internal /usr/include/sparsehash/internal/densehashtable.h /usr/include/sparsehash/internal/hashtable-common.h /usr/include/sparsehash/internal/libc_allocator_with_realloc.h /usr/include/sparsehash/internal/sparseconfig.h /usr/include/sparsehash/internal/sparsehashtable.h /usr/include/sparsehash/sparse_hash_map /usr/include/sparsehash/sparse_hash_set /usr/include/sparsehash/sparsetable /usr/include/sparsehash/template_util.h /usr/include/sparsehash/type_traits.h /usr/lib/pkgconfig/libsparsehash.pc /usr/share/doc/sparsehash /usr/share/doc/sparsehash/AUTHORS /usr/share/doc/sparsehash/COPYING /usr/share/doc/sparsehash/ChangeLog /usr/share/doc/sparsehash/NEWS /usr/share/doc/sparsehash/README /usr/share/doc/sparsehash/TODO /usr/share/doc/sparsehash/dense_hash_map.html /usr/share/doc/sparsehash/dense_hash_set.html /usr/share/doc/sparsehash/designstyle.css /usr/share/doc/sparsehash/implementation.html /usr/share/doc/sparsehash/index.html /usr/share/doc/sparsehash/performance.html /usr/share/doc/sparsehash/sparse_hash_map.html /usr/share/doc/sparsehash/sparse_hash_set.html /usr/share/doc/sparsehash/sparsetable.html


## References

* [sparsehash-devel website](http://code.google.com/p/sparsehash)

## Summary

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