How To Install cachelib-devel on Fedora 36

In this tutorial we learn how to install cachelib-devel in Fedora 36. cachelib-devel is Pluggable caching engine for scale high performance cache services

Introduction

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

What is cachelib-devel

CacheLib is a C++ library providing in-process high performance caching mechanism. CacheLib provides a thread safe API to build high throughput, low overhead caching services, with built-in ability to leverage DRAM and SSD caching transparently. The cachelib-devel package contains libraries and header files for developing applications that use cachelib.

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

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

sudo dnf -y install cachelib-devel

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

sudo yum -y install cachelib-devel

How To Uninstall cachelib-devel on Fedora 36

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

sudo dnf remove cachelib-devel

cachelib-devel Package Contents on Fedora 36

/usr/include/cachelib
/usr/include/cachelib/allocator
/usr/include/cachelib/allocator/CCacheAllocator.h
/usr/include/cachelib/allocator/CCacheManager.h
/usr/include/cachelib/allocator/Cache.h
/usr/include/cachelib/allocator/CacheAllocator-inl.h
/usr/include/cachelib/allocator/CacheAllocator.h
/usr/include/cachelib/allocator/CacheAllocatorConfig.h
/usr/include/cachelib/allocator/CacheAllocatorFindApiWrapper.h
/usr/include/cachelib/allocator/CacheChainedItemIterator.h
/usr/include/cachelib/allocator/CacheDetails.h
/usr/include/cachelib/allocator/CacheItem-inl.h
/usr/include/cachelib/allocator/CacheItem.h
/usr/include/cachelib/allocator/CacheStats.h
/usr/include/cachelib/allocator/CacheStatsInternal.h
/usr/include/cachelib/allocator/CacheTraits.h
/usr/include/cachelib/allocator/CacheVersion.h
/usr/include/cachelib/allocator/ChainedAllocs.h
/usr/include/cachelib/allocator/ChainedHashTable-inl.h
/usr/include/cachelib/allocator/ChainedHashTable.h
/usr/include/cachelib/allocator/FreeMemStrategy.h
/usr/include/cachelib/allocator/Handle.h
/usr/include/cachelib/allocator/HitsPerSlabStrategy.h
/usr/include/cachelib/allocator/ICompactCache.h
/usr/include/cachelib/allocator/KAllocation.h
/usr/include/cachelib/allocator/LruTailAgeStrategy.h
/usr/include/cachelib/allocator/MM2Q-inl.h
/usr/include/cachelib/allocator/MM2Q.h
/usr/include/cachelib/allocator/MMLru-inl.h
/usr/include/cachelib/allocator/MMLru.h
/usr/include/cachelib/allocator/MMTinyLFU-inl.h
/usr/include/cachelib/allocator/MMTinyLFU.h
/usr/include/cachelib/allocator/MarginalHitsOptimizeStrategy.h
/usr/include/cachelib/allocator/MarginalHitsState-inl.h
/usr/include/cachelib/allocator/MarginalHitsState.h
/usr/include/cachelib/allocator/MarginalHitsStrategy.h
/usr/include/cachelib/allocator/MemoryMonitor.h
/usr/include/cachelib/allocator/NvmAdmissionPolicy.h
/usr/include/cachelib/allocator/NvmCacheState.h
/usr/include/cachelib/allocator/PoolOptimizeStrategy.h
/usr/include/cachelib/allocator/PoolOptimizer.h
/usr/include/cachelib/allocator/PoolRebalancer.h
/usr/include/cachelib/allocator/PoolResizeStrategy.h
/usr/include/cachelib/allocator/PoolResizer.h
/usr/include/cachelib/allocator/RandomStrategy.h
/usr/include/cachelib/allocator/ReadOnlySharedCacheView.h
/usr/include/cachelib/allocator/Reaper-inl.h
/usr/include/cachelib/allocator/Reaper.h
/usr/include/cachelib/allocator/RebalanceInfo.h
/usr/include/cachelib/allocator/RebalanceStrategy.h
/usr/include/cachelib/allocator/Refcount.h
/usr/include/cachelib/allocator/SlabReleaseStats.h
/usr/include/cachelib/allocator/TempShmMapping.h
/usr/include/cachelib/allocator/TlsActiveItemRing.h
/usr/include/cachelib/allocator/TypedHandle.h
/usr/include/cachelib/allocator/Util.h
/usr/include/cachelib/allocator/datastruct
/usr/include/cachelib/allocator/datastruct/DList-inl.h
/usr/include/cachelib/allocator/datastruct/DList.h
/usr/include/cachelib/allocator/datastruct/MultiDList-inl.h
/usr/include/cachelib/allocator/datastruct/MultiDList.h
/usr/include/cachelib/allocator/datastruct/SList-inl.h
/usr/include/cachelib/allocator/datastruct/SList.h
/usr/include/cachelib/allocator/datastruct/serialize
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_constants.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_data.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_for_each_field.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_layouts.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_metadata.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_types.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_types.tcc
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_types_custom_protocol.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_visit_by_thrift_field_metadata.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_visit_union.h
/usr/include/cachelib/allocator/datastruct/serialize/gen-cpp2/objects_visitation.h
/usr/include/cachelib/allocator/memory
/usr/include/cachelib/allocator/memory/AllocationClass.h
/usr/include/cachelib/allocator/memory/CompressedPtr.h
/usr/include/cachelib/allocator/memory/MemoryAllocator.h
/usr/include/cachelib/allocator/memory/MemoryAllocatorStats.h
/usr/include/cachelib/allocator/memory/MemoryPool.h
/usr/include/cachelib/allocator/memory/MemoryPoolManager.h
/usr/include/cachelib/allocator/memory/Slab.h
/usr/include/cachelib/allocator/memory/SlabAllocator.h
/usr/include/cachelib/allocator/memory/serialize
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_constants.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_data.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_for_each_field.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_layouts.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_metadata.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_types.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_types.tcc
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_types_custom_protocol.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_visit_by_thrift_field_metadata.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_visit_union.h
/usr/include/cachelib/allocator/memory/serialize/gen-cpp2/objects_visitation.h
/usr/include/cachelib/allocator/nvmcache
/usr/include/cachelib/allocator/nvmcache/BlockCacheReinsertionPolicy.h
/usr/include/cachelib/allocator/nvmcache/CacheApiWrapper.h
/usr/include/cachelib/allocator/nvmcache/InFlightPuts.h
/usr/include/cachelib/allocator/nvmcache/NavyConfig.h
/usr/include/cachelib/allocator/nvmcache/NavySetup.h
/usr/include/cachelib/allocator/nvmcache/NvmCache-inl.h
/usr/include/cachelib/allocator/nvmcache/NvmCache.h
/usr/include/cachelib/allocator/nvmcache/NvmItem.h
/usr/include/cachelib/allocator/nvmcache/ReqContexts.h
/usr/include/cachelib/allocator/nvmcache/TombStones.h
/usr/include/cachelib/allocator/nvmcache/WaitContext.h
/usr/include/cachelib/allocator/serialize
/usr/include/cachelib/allocator/serialize/gen-cpp2
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_constants.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_data.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_for_each_field.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_layouts.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_metadata.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_types.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_types.tcc
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_types_custom_protocol.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_visit_by_thrift_field_metadata.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_visit_union.h
/usr/include/cachelib/allocator/serialize/gen-cpp2/objects_visitation.h
/usr/include/cachelib/benchmarks
/usr/include/cachelib/benchmarks/gen-cpp2
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_constants.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_data.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_for_each_field.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_layouts.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_metadata.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_types.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_types.tcc
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_types_custom_protocol.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_visit_by_thrift_field_metadata.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_visit_union.h
/usr/include/cachelib/benchmarks/gen-cpp2/DataTypeBench_visitation.h
/usr/include/cachelib/common
/usr/include/cachelib/common/AccessTracker-inl.h
/usr/include/cachelib/common/AccessTracker.h
/usr/include/cachelib/common/ApproxSplitSet.h
/usr/include/cachelib/common/AtomicCounter.h
/usr/include/cachelib/common/BloomFilter.h
/usr/include/cachelib/common/BytesEqual.h
/usr/include/cachelib/common/Cohort.h
/usr/include/cachelib/common/CompilerUtils.h
/usr/include/cachelib/common/CountDownLatch.h
/usr/include/cachelib/common/CountMinSketch-inl.h
/usr/include/cachelib/common/CountMinSketch.h
/usr/include/cachelib/common/EventInterface.h
/usr/include/cachelib/common/Exceptions.h
/usr/include/cachelib/common/FastStats.h
/usr/include/cachelib/common/Hash.h
/usr/include/cachelib/common/Iterators.h
/usr/include/cachelib/common/MurmurHash.h
/usr/include/cachelib/common/Mutex.h
/usr/include/cachelib/common/PercentileStats.h
/usr/include/cachelib/common/PeriodicWorker.h
/usr/include/cachelib/common/Serialization.h
/usr/include/cachelib/common/TestUtils.h
/usr/include/cachelib/common/Throttler.h
/usr/include/cachelib/common/Ticker.h
/usr/include/cachelib/common/Time.h
/usr/include/cachelib/common/Utils.h
/usr/include/cachelib/common/gen-cpp2
/usr/include/cachelib/common/gen-cpp2/BloomFilter_constants.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_data.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_for_each_field.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_layouts.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_metadata.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_types.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_types.tcc
/usr/include/cachelib/common/gen-cpp2/BloomFilter_types_custom_protocol.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_visit_by_thrift_field_metadata.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_visit_union.h
/usr/include/cachelib/common/gen-cpp2/BloomFilter_visitation.h
/usr/include/cachelib/common/hothash
/usr/include/cachelib/common/hothash/HotHashDetector.h
/usr/include/cachelib/common/piecewise
/usr/include/cachelib/common/piecewise/GenericPieces.h
/usr/include/cachelib/common/piecewise/RequestRange.h
/usr/include/cachelib/compact_cache
/usr/include/cachelib/compact_cache/CCache-inl.h
/usr/include/cachelib/compact_cache/CCache.h
/usr/include/cachelib/compact_cache/CCacheBucketLock.h
/usr/include/cachelib/compact_cache/CCacheCreator.h
/usr/include/cachelib/compact_cache/CCacheDescriptor.h
/usr/include/cachelib/compact_cache/CCacheFixedLruBucket.h
/usr/include/cachelib/compact_cache/CCacheVariableLruBucket.h
/usr/include/cachelib/compact_cache/allocators
/usr/include/cachelib/compact_cache/allocators/CCacheAllocatorBase.h
/usr/include/cachelib/compact_cache/allocators/TestAllocator.h
/usr/include/cachelib/datatype
/usr/include/cachelib/datatype/Buffer-inl.h
/usr/include/cachelib/datatype/Buffer.h
/usr/include/cachelib/datatype/DataTypes.h
/usr/include/cachelib/datatype/FixedSizeArray.h
/usr/include/cachelib/datatype/Map-inl.h
/usr/include/cachelib/datatype/Map.h
/usr/include/cachelib/datatype/MapView-inl.h
/usr/include/cachelib/datatype/MapView.h
/usr/include/cachelib/datatype/RangeMap-inl.h
/usr/include/cachelib/datatype/RangeMap.h
/usr/include/cachelib/navy
/usr/include/cachelib/navy/AbstractCache.h
/usr/include/cachelib/navy/Factory.h
/usr/include/cachelib/navy/admission_policy
/usr/include/cachelib/navy/admission_policy/AdmissionPolicy.h
/usr/include/cachelib/navy/admission_policy/DynamicRandomAP.h
/usr/include/cachelib/navy/admission_policy/RejectRandomAP.h
/usr/include/cachelib/navy/bighash
/usr/include/cachelib/navy/bighash/BigHash.h
/usr/include/cachelib/navy/bighash/Bucket.h
/usr/include/cachelib/navy/bighash/BucketStorage.h
/usr/include/cachelib/navy/block_cache
/usr/include/cachelib/navy/block_cache/Allocator.h
/usr/include/cachelib/navy/block_cache/BlockCache.h
/usr/include/cachelib/navy/block_cache/EvictionPolicy.h
/usr/include/cachelib/navy/block_cache/FifoPolicy.h
/usr/include/cachelib/navy/block_cache/HitsReinsertionPolicy.h
/usr/include/cachelib/navy/block_cache/Index.h
/usr/include/cachelib/navy/block_cache/LruPolicy.h
/usr/include/cachelib/navy/block_cache/PercentageReinsertionPolicy.h
/usr/include/cachelib/navy/block_cache/Region.h
/usr/include/cachelib/navy/block_cache/RegionManager.h
/usr/include/cachelib/navy/block_cache/Types.h
/usr/include/cachelib/navy/common
/usr/include/cachelib/navy/common/Buffer.h
/usr/include/cachelib/navy/common/CompilerUtils.h
/usr/include/cachelib/navy/common/Device.h
/usr/include/cachelib/navy/common/Hash.h
/usr/include/cachelib/navy/common/SizeDistribution.h
/usr/include/cachelib/navy/common/Types.h
/usr/include/cachelib/navy/common/Utils.h
/usr/include/cachelib/navy/driver
/usr/include/cachelib/navy/driver/Driver.h
/usr/include/cachelib/navy/driver/NoopEngine.h
/usr/include/cachelib/navy/engine
/usr/include/cachelib/navy/engine/Engine.h
/usr/include/cachelib/navy/scheduler
/usr/include/cachelib/navy/scheduler/JobScheduler.h
/usr/include/cachelib/navy/scheduler/ThreadPoolJobQueue.h
/usr/include/cachelib/navy/scheduler/ThreadPoolJobScheduler.h
/usr/include/cachelib/navy/serialization
/usr/include/cachelib/navy/serialization/RecordIO.h
/usr/include/cachelib/navy/serialization/Serialization.h
/usr/include/cachelib/navy/serialization/gen-cpp2
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_constants.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_data.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_for_each_field.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_metadata.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_types.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_types.tcc
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_types_custom_protocol.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_visit_by_thrift_field_metadata.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_visit_union.h
/usr/include/cachelib/navy/serialization/gen-cpp2/objects_visitation.h
/usr/include/cachelib/navy/testing
/usr/include/cachelib/navy/testing/BufferGen.h
/usr/include/cachelib/navy/testing/Callbacks.h
/usr/include/cachelib/navy/testing/MockDevice.h
/usr/include/cachelib/navy/testing/MockJobScheduler.h
/usr/include/cachelib/navy/testing/SeqPoints.h
/usr/include/cachelib/shm
/usr/include/cachelib/shm/PosixShmSegment.h
/usr/include/cachelib/shm/Shm.h
/usr/include/cachelib/shm/ShmCommon.h
/usr/include/cachelib/shm/ShmManager.h
/usr/include/cachelib/shm/SysVShmSegment.h
/usr/include/cachelib/shm/gen-cpp2
/usr/include/cachelib/shm/gen-cpp2/shm_constants.h
/usr/include/cachelib/shm/gen-cpp2/shm_data.h
/usr/include/cachelib/shm/gen-cpp2/shm_for_each_field.h
/usr/include/cachelib/shm/gen-cpp2/shm_layouts.h
/usr/include/cachelib/shm/gen-cpp2/shm_metadata.h
/usr/include/cachelib/shm/gen-cpp2/shm_types.h
/usr/include/cachelib/shm/gen-cpp2/shm_types.tcc
/usr/include/cachelib/shm/gen-cpp2/shm_types_custom_protocol.h
/usr/include/cachelib/shm/gen-cpp2/shm_visit_by_thrift_field_metadata.h
/usr/include/cachelib/shm/gen-cpp2/shm_visit_union.h
/usr/include/cachelib/shm/gen-cpp2/shm_visitation.h
/usr/lib64/cmake/cachelib
/usr/lib64/cmake/cachelib/cachelib-config.cmake
/usr/lib64/cmake/cachelib/cachelib-targets-noconfig.cmake
/usr/lib64/cmake/cachelib/cachelib-targets.cmake
/usr/lib64/libcachelib_allocator.so
/usr/lib64/libcachelib_cachebench.so
/usr/lib64/libcachelib_common.so
/usr/lib64/libcachelib_datatype.so
/usr/lib64/libcachelib_navy.so
/usr/lib64/libcachelib_shm.so

References

Summary

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