How To Install mingw32-sparsehash on Fedora 36

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

Introduction

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

What is mingw32-sparsehash

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 mingw32-sparsehash on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw32-sparsehash.

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

sudo dnf -y install mingw32-sparsehash

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

sudo yum -y install mingw32-sparsehash

How To Uninstall mingw32-sparsehash on Fedora 36

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

sudo dnf remove mingw32-sparsehash

mingw32-sparsehash Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/include/google
/usr/i686-w64-mingw32/sys-root/mingw/include/google/dense_hash_map
/usr/i686-w64-mingw32/sys-root/mingw/include/google/dense_hash_set
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparse_hash_map
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparse_hash_set
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparsehash
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparsehash/densehashtable.h
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparsehash/hashtable-common.h
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparsehash/libc_allocator_with_realloc.h
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparsehash/sparsehashtable.h
/usr/i686-w64-mingw32/sys-root/mingw/include/google/sparsetable
/usr/i686-w64-mingw32/sys-root/mingw/include/google/template_util.h
/usr/i686-w64-mingw32/sys-root/mingw/include/google/type_traits.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/dense_hash_map
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/dense_hash_set
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/internal
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/internal/densehashtable.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/internal/hashtable-common.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/internal/libc_allocator_with_realloc.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/internal/sparseconfig.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/internal/sparsehashtable.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/sparse_hash_map
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/sparse_hash_set
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/sparsetable
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/template_util.h
/usr/i686-w64-mingw32/sys-root/mingw/include/sparsehash/type_traits.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libsparsehash.pc
/usr/share/doc/mingw32-sparsehash
/usr/share/doc/mingw32-sparsehash/AUTHORS
/usr/share/doc/mingw32-sparsehash/NEWS
/usr/share/doc/mingw32-sparsehash/README
/usr/share/doc/mingw32-sparsehash/TODO
/usr/share/licenses/mingw32-sparsehash
/usr/share/licenses/mingw32-sparsehash/COPYING

References

Summary

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