You might be facing issues in installing docker compose in Kali linux. In the latest Kali linux versions, the docker-compose cannot be installed in the transitional way. However the standalone version can be installed, as mentioned in the installation guide. To download and install the Docker Compose standalone, run: sudo curl -SL https://github.com/docker/compose/releases/download/v2.32.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose Apply executable permissions to the standalone binary in the target path for the installation. sudo chmod +x /usr/local/bin/docker-compose Test and execute Docker Compose commands using docker-compose.
Unable to locate package linux-headers / E: Unable to locate package linux-headers-5.10.0-kali5-amd64
While compiling programs, you may encounter this particular error.
E: Unable to locate package linux-headers-5.10.0-kali5-amd64
I encountered this while compiling a C code.
To fix this, i first updated my Kali machine (v2020.2a).
sudo apt update -y && apt upgrade -y && apt dist-upgrade
Rebooted. Then installed the headers.
sudo apt install linux-headers-$(uname -r)