How To Install cmake-filesystem on Rocky Linux 8

In this tutorial we learn how to install cmake-filesystem on Rocky Linux 8. cmake-filesystem is Directories used by CMake modules

Introduction

In this tutorial we learn how to install cmake-filesystem on Rocky Linux 8.

What is cmake-filesystem

This package owns all directories used by CMake modules.

We can use yum or dnf to install cmake-filesystem on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cmake-filesystem.

Install cmake-filesystem on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cmake-filesystem

Install cmake-filesystem on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cmake-filesystem

How To Uninstall cmake-filesystem on Rocky Linux 8

To uninstall only the cmake-filesystem package we can use the following command:

sudo dnf remove cmake-filesystem

cmake-filesystem Package Contents on Rocky Linux 8

/usr/lib/cmake
/usr/share/cmake
/usr/share/cmake/Help
/usr/share/cmake/Help/command
/usr/share/cmake/Help/cpack_gen
/usr/share/cmake/Help/envvar
/usr/share/cmake/Help/generator
/usr/share/cmake/Help/include
/usr/share/cmake/Help/manual
/usr/share/cmake/Help/module
/usr/share/cmake/Help/policy
/usr/share/cmake/Help/prop_cache
/usr/share/cmake/Help/prop_dir
/usr/share/cmake/Help/prop_gbl
/usr/share/cmake/Help/prop_inst
/usr/share/cmake/Help/prop_sf
/usr/share/cmake/Help/prop_test
/usr/share/cmake/Help/prop_tgt
/usr/share/cmake/Help/release
/usr/share/cmake/Help/variable
/usr/share/cmake/Modules
/usr/share/cmake/Modules/AndroidTestUtilities
/usr/share/cmake/Modules/CMakeAddFortranSubdirectory
/usr/share/cmake/Modules/CheckIPOSupported
/usr/share/cmake/Modules/Compiler
/usr/share/cmake/Modules/Compiler/XL-Fortran
/usr/share/cmake/Modules/CompilerId
/usr/share/cmake/Modules/FetchContent
/usr/share/cmake/Modules/FindCUDA
/usr/share/cmake/Modules/FindMPI
/usr/share/cmake/Modules/FindPython
/usr/share/cmake/Modules/FortranCInterface
/usr/share/cmake/Modules/FortranCInterface/Verify
/usr/share/cmake/Modules/IntelVSImplicitPath
/usr/share/cmake/Modules/Internal
/usr/share/cmake/Modules/Internal/CPack
/usr/share/cmake/Modules/Platform
/usr/share/cmake/Modules/Platform/AIX
/usr/share/cmake/Modules/Platform/Android
/usr/share/cmake/Modules/UseJava
/usr/share/cmake/Modules/UseSWIG
/usr/share/cmake/Templates
/usr/share/cmake/Templates/MSBuild
/usr/share/cmake/Templates/MSBuild/FlagTables
/usr/share/cmake/Templates/Windows
/usr/share/cmake/include
/usr/lib64/cmake
/usr/share/cmake
/usr/share/cmake/Help
/usr/share/cmake/Help/command
/usr/share/cmake/Help/cpack_gen
/usr/share/cmake/Help/envvar
/usr/share/cmake/Help/generator
/usr/share/cmake/Help/include
/usr/share/cmake/Help/manual
/usr/share/cmake/Help/module
/usr/share/cmake/Help/policy
/usr/share/cmake/Help/prop_cache
/usr/share/cmake/Help/prop_dir
/usr/share/cmake/Help/prop_gbl
/usr/share/cmake/Help/prop_inst
/usr/share/cmake/Help/prop_sf
/usr/share/cmake/Help/prop_test
/usr/share/cmake/Help/prop_tgt
/usr/share/cmake/Help/release
/usr/share/cmake/Help/variable
/usr/share/cmake/Modules
/usr/share/cmake/Modules/AndroidTestUtilities
/usr/share/cmake/Modules/CMakeAddFortranSubdirectory
/usr/share/cmake/Modules/CheckIPOSupported
/usr/share/cmake/Modules/Compiler
/usr/share/cmake/Modules/Compiler/XL-Fortran
/usr/share/cmake/Modules/CompilerId
/usr/share/cmake/Modules/FetchContent
/usr/share/cmake/Modules/FindCUDA
/usr/share/cmake/Modules/FindMPI
/usr/share/cmake/Modules/FindPython
/usr/share/cmake/Modules/FortranCInterface
/usr/share/cmake/Modules/FortranCInterface/Verify
/usr/share/cmake/Modules/IntelVSImplicitPath
/usr/share/cmake/Modules/Internal
/usr/share/cmake/Modules/Internal/CPack
/usr/share/cmake/Modules/Platform
/usr/share/cmake/Modules/Platform/AIX
/usr/share/cmake/Modules/Platform/Android
/usr/share/cmake/Modules/UseJava
/usr/share/cmake/Modules/UseSWIG
/usr/share/cmake/Templates
/usr/share/cmake/Templates/MSBuild
/usr/share/cmake/Templates/MSBuild/FlagTables
/usr/share/cmake/Templates/Windows
/usr/share/cmake/include

References

Summary

In this tutorial we learn how to install cmake-filesystem on Rocky Linux 8 using yum and dnf.