How To Install cfengine3 on Kali Linux
Introduction
In this tutorial we learn how to install cfengine3 on Kali Linux.
What is cfengine3
cfengine3 is:
Cfengine is a suite of programs for integrated autonomic management of either individual or networked computers.
Cfengine 3 is both a more powerful and much simplified version of cfengine, which has been designed to inter operate with cfengine 2 rather than be backwards compatible with it.
With cfengine 3 you can install, configure and maintain computers using powerful hands-free tools.
There are three methods to install cfengine3 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 cfengine3 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install cfengine3 using apt-get by running the following command:
sudo apt-get -y install cfengine3Install cfengine3 Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install cfengine3 using apt by running the following command:
sudo apt -y install cfengine3Install cfengine3 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 updateAfter updating apt database, We can install cfengine3 using aptitude by running the following command:
sudo aptitude -y install cfengine3How To Uninstall cfengine3 on Kali Linux
To uninstall only the cfengine3 package we can use the following command:
sudo apt-get remove cfengine3Uninstall cfengine3 And Its Dependencies
To uninstall cfengine3 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove cfengine3Remove cfengine3 Configurations and Data
To remove cfengine3 configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge cfengine3Remove cfengine3 configuration, data, and all of its dependencies
We can use the following command to remove cfengine3 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cfengine3Dependencies
cfengine3 have the following dependencies:
- lsb-base
- e2fsprogs
- libacl1
- libc6
- liblmdb0
- libpam0g
- libpcre3
- libpromises3
- libssl1.1
- libvirt0
- libxml2
- libyaml-0-2
References
Summary
In this tutorial we learn how to install cfengine3 package on Kali Linux using different package management tools: apt, apt-get and aptitude.