How To Install cmake-fedora on Fedora 36
Introduction
In this tutorial we learn how to install cmake-fedora
on Fedora 36.
What is cmake-fedora
cmake-fedora consist a set of cmake modules that provides helper macros and targets for fedora developers.
We can use yum
or dnf
to install cmake-fedora
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cmake-fedora.
Install cmake-fedora 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 cmake-fedora
using dnf
by running the following command:
sudo dnf -y install cmake-fedora
Install cmake-fedora 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 cmake-fedora
using yum
by running the following command:
sudo yum -y install cmake-fedora
How To Uninstall cmake-fedora on Fedora 36
To uninstall only the cmake-fedora
package we can use the following command:
sudo dnf remove cmake-fedora
cmake-fedora Package Contents on Fedora 36
/etc/cmake-fedora.conf
/usr/bin/cmake-fedora-fedpkg
/usr/bin/cmake-fedora-koji
/usr/bin/cmake-fedora-newprj
/usr/bin/cmake-fedora-pkgdb
/usr/bin/cmake-fedora-reset
/usr/bin/cmake-fedora-zanata
/usr/bin/koji-build-scratch
/usr/share/cmake/Modules/CmakeFedoraScript.cmake
/usr/share/cmake/Modules/DateTimeFormat.cmake
/usr/share/cmake/Modules/ManageAPIDoc.cmake
/usr/share/cmake/Modules/ManageArchive.cmake
/usr/share/cmake/Modules/ManageChangeLogScript.cmake
/usr/share/cmake/Modules/ManageDependency.cmake
/usr/share/cmake/Modules/ManageEnvironment.cmake
/usr/share/cmake/Modules/ManageEnvironmentCommon.cmake
/usr/share/cmake/Modules/ManageFile.cmake
/usr/share/cmake/Modules/ManageGConf.cmake
/usr/share/cmake/Modules/ManageGettextScript.cmake
/usr/share/cmake/Modules/ManageGitScript.cmake
/usr/share/cmake/Modules/ManageMessage.cmake
/usr/share/cmake/Modules/ManageRPM.cmake
/usr/share/cmake/Modules/ManageRPMScript.cmake
/usr/share/cmake/Modules/ManageRelease.cmake
/usr/share/cmake/Modules/ManageReleaseFedora.cmake
/usr/share/cmake/Modules/ManageSourceVersionControl.cmake
/usr/share/cmake/Modules/ManageString.cmake
/usr/share/cmake/Modules/ManageTarget.cmake
/usr/share/cmake/Modules/ManageTranslation.cmake
/usr/share/cmake/Modules/ManageUninstall.cmake
/usr/share/cmake/Modules/ManageUpload.cmake
/usr/share/cmake/Modules/ManageVariable.cmake
/usr/share/cmake/Modules/ManageVersion.cmake
/usr/share/cmake/Modules/ManageZanata.cmake
/usr/share/cmake/Modules/ManageZanataDefinition.cmake
/usr/share/cmake/Modules/ManageZanataScript.cmake
/usr/share/cmake/Modules/ManageZanataSuggest.cmake
/usr/share/cmake/Modules/cmake_uninstall.cmake.in
/usr/share/cmake/Templates/fedora/CMakeLists.txt.template
/usr/share/cmake/Templates/fedora/RELEASE-NOTES.txt.template
/usr/share/cmake/Templates/fedora/bsd-3-clauses.txt
/usr/share/cmake/Templates/fedora/gpl-2.0.txt
/usr/share/cmake/Templates/fedora/gpl-3.0.txt
/usr/share/cmake/Templates/fedora/lgpl-2.1.txt
/usr/share/cmake/Templates/fedora/lgpl-3.0.txt
/usr/share/cmake/Templates/fedora/project.spec.in
/usr/share/doc/cmake-fedora
/usr/share/doc/cmake-fedora/AUTHORS
/usr/share/doc/cmake-fedora/COPYING
/usr/share/doc/cmake-fedora/ChangeLog
/usr/share/doc/cmake-fedora/README.md
References
Summary
In this tutorial we learn how to install cmake-fedora
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).