How To Install cmake-fedora on Kali Linux

In this tutorial we learn how to install cmake-fedora on Kali Linux. cmake-fedora is Set of scripts and cmake modules that simplify the release process

Introduction

In this tutorial we learn how to install cmake-fedora on Kali Linux.

What is cmake-fedora

cmake-fedora is:

cmake-fedora is designed to relieve you from chores of releasing software by:

  • Keeping the consistency of release information such as version and update messages in:
    • Release notes
    • ChangeLog
    • Tags
    • Spec file
    • Fedpkg commit message
    • Bodhi notes
  • Source archive depends on the files to be packed.
  • Run rpmlint and koji scratch build before tag as sanity checks.
  • Easy upload to scp, sftp hosting services sites.
  • Translation targets like gettext and Zanata.
  • Provide license information and templates of CMakeLists.txt, spec files for new packages.

while avoid some pitfalls like all junk files are packed.

There are three methods to install cmake-fedora on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cmake-fedora Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cmake-fedora using apt-get by running the following command:

sudo apt-get -y install cmake-fedora

Install cmake-fedora Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cmake-fedora

Install cmake-fedora Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cmake-fedora using aptitude by running the following command:

sudo aptitude -y install cmake-fedora

How To Uninstall cmake-fedora on Kali Linux

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

sudo apt-get remove cmake-fedora

Uninstall cmake-fedora And Its Dependencies

To uninstall cmake-fedora and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove cmake-fedora

Remove cmake-fedora Configurations and Data

To remove cmake-fedora configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge cmake-fedora

Remove cmake-fedora configuration, data, and all of its dependencies

We can use the following command to remove cmake-fedora configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cmake-fedora

Dependencies

cmake-fedora have the following dependencies:

References

Summary

In this tutorial we learn how to install cmake-fedora package on Kali Linux using different package management tools: apt, apt-get and aptitude.