How To Install kati on Debian 12

Learn how to install kati on Debian 12 with this tutorial. kati is experimental GNU make clone

Introduction

In this tutorial we learn how to install kati on Debian 12.

What is kati

kati is:

The main goal of this tool is to speed up incremental build of Android. Currently, kati does not offer a faster build by itself. Instead, it converts your Makefile to a ninja file.

This is the Go version of kati.

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

Install kati Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install kati

Install kati Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kati

Install kati Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install kati

How To Uninstall kati on Debian 12

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

sudo apt-get remove kati

Uninstall kati And Its Dependencies

To uninstall kati and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove kati

Remove kati Configurations and Data

To remove kati configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge kati

Remove kati configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kati

Dependencies

kati have the following dependencies:

References

Summary

In this tutorial we learn how to install kati package on Debian 12 using different package management tools: apt, apt-get and aptitude.