How To Install sbuild-debian-developer-setup on Kali Linux

In this tutorial we learn how to install sbuild-debian-developer-setup on Kali Linux. sbuild-debian-developer-setup is Convenience script to set up an sbuild environment for Debian Developers

Introduction

In this tutorial we learn how to install sbuild-debian-developer-setup on Kali Linux.

What is sbuild-debian-developer-setup

sbuild-debian-developer-setup is:

Run “sudo sbuild-debian-developer-setup” to add the current user to the sbuild group, create an schroot for building packages for Debian unstable, and create a cronjob which updates said schroot daily.

This script assumes you are on an un-metered internet connection (daily schroot updates might be costly otherwise).

There are three methods to install sbuild-debian-developer-setup 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 sbuild-debian-developer-setup Using apt-get

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

sudo apt-get update

After updating apt database, We can install sbuild-debian-developer-setup using apt-get by running the following command:

sudo apt-get -y install sbuild-debian-developer-setup

Install sbuild-debian-developer-setup Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sbuild-debian-developer-setup using apt by running the following command:

sudo apt -y install sbuild-debian-developer-setup

Install sbuild-debian-developer-setup 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 sbuild-debian-developer-setup using aptitude by running the following command:

sudo aptitude -y install sbuild-debian-developer-setup

How To Uninstall sbuild-debian-developer-setup on Kali Linux

To uninstall only the sbuild-debian-developer-setup package we can use the following command:

sudo apt-get remove sbuild-debian-developer-setup

Uninstall sbuild-debian-developer-setup And Its Dependencies

To uninstall sbuild-debian-developer-setup and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove sbuild-debian-developer-setup

Remove sbuild-debian-developer-setup Configurations and Data

To remove sbuild-debian-developer-setup configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge sbuild-debian-developer-setup

Remove sbuild-debian-developer-setup configuration, data, and all of its dependencies

We can use the following command to remove sbuild-debian-developer-setup configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sbuild-debian-developer-setup

Dependencies

sbuild-debian-developer-setup have the following dependencies:

References

Summary

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