Introduction
In this tutorial we learn how to install qemubuilder
on Kali Linux.
What is qemubuilder
qemubuilder is:
pbuilder implementation for QEMU.
qemubuilder create – builds QEMU cow base image.
qemubuilder update – updates QEMU cow base image.
qemubuilder build – builds package inside QEMU cow base image.
Gives a pbuilder interface for emulated cross-building environments
using qemu.
pbuilder is a tool for building and testing Debian package inside a
clean chroot, and qemubuilder implements similar experience over
emulated CPUs. This tool allows building package inside emulated
Debian environment for different CPU architectures supported by qemu.
There are three methods to install qemubuilder
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 qemubuilder Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install qemubuilder
using apt-get
by running the following command:
sudo apt-get -y install qemubuilder
Install qemubuilder Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install qemubuilder
using apt
by running the following command:
sudo apt -y install qemubuilder
Install qemubuilder 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 qemubuilder
using aptitude
by running the following command:
sudo aptitude -y install qemubuilder
How To Uninstall qemubuilder on Kali Linux
To uninstall only the qemubuilder
package we can use the following command:
sudo apt-get remove qemubuilder
Uninstall qemubuilder And Its Dependencies
To uninstall qemubuilder
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove qemubuilder
Remove qemubuilder Configurations and Data
To remove qemubuilder
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge qemubuilder
Remove qemubuilder configuration, data, and all of its dependencies
We can use the following command to remove qemubuilder
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge qemubuilder
Dependencies
qemubuilder have the following dependencies:
References
Summary
In this tutorial we learn how to install qemubuilder
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.