How To Install influxdb on Kali Linux
Introduction
In this tutorial we learn how to install influxdb on Kali Linux.
What is influxdb
influxdb is:
InfluxDB is a time series, metrics, and analytics database. It??s written in Go and has no external dependencies. That means once you install it there??s nothing else to manage (such as Redis, ZooKeeper, Cassandra, HBase, or anything else). InfluxDB is targeted at use cases for DevOps, metrics, sensor data, and real-time analytics.
There are three methods to install influxdb 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 influxdb Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install influxdb using apt-get by running the following command:
sudo apt-get -y install influxdbInstall influxdb Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install influxdb using apt by running the following command:
sudo apt -y install influxdbInstall influxdb 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 influxdb using aptitude by running the following command:
sudo aptitude -y install influxdbHow To Uninstall influxdb on Kali Linux
To uninstall only the influxdb package we can use the following command:
sudo apt-get remove influxdbUninstall influxdb And Its Dependencies
To uninstall influxdb and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove influxdbRemove influxdb Configurations and Data
To remove influxdb configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge influxdbRemove influxdb configuration, data, and all of its dependencies
We can use the following command to remove influxdb configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge influxdbDependencies
influxdb have the following dependencies:
References
Summary
In this tutorial we learn how to install influxdb package on Kali Linux using different package management tools: apt, apt-get and aptitude.