How To Install mydumper on Kali Linux

In this tutorial we learn how to install mydumper on Kali Linux. mydumper is High-performance MySQL backup tool

Introduction

In this tutorial we learn how to install mydumper on Kali Linux.

What is mydumper

mydumper is:

Mydumper (aka. MySQL Data Dumper) is a high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle. The main developers originally worked as Support Engineers at MySQL (one has moved to Facebook and another to SkySQL) and this is how they would envisage mysqldump based on years of user feedback.

Mydumper features

Lightweight C source Up to 10x faster dumps compared to mysqldump Consistent snapshots for transactional and non-transactional tables File compression on-the-fly Binary log dumps Multi-threaded restore utility Daemon mode for timed snapshots and continuous binary logs

Mydumper is still under active development but is well tested/used in production on some large installations.

There are three methods to install mydumper 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 mydumper Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mydumper

Install mydumper Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mydumper using apt by running the following command:

sudo apt -y install mydumper

Install mydumper 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 mydumper using aptitude by running the following command:

sudo aptitude -y install mydumper

How To Uninstall mydumper on Kali Linux

To uninstall only the mydumper package we can use the following command:

sudo apt-get remove mydumper

Uninstall mydumper And Its Dependencies

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

sudo apt-get -y autoremove mydumper

Remove mydumper Configurations and Data

To remove mydumper configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge mydumper

Remove mydumper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mydumper

Dependencies

mydumper have the following dependencies:

References

Summary

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