1. Install Python 3.12
Kali usually ships with Python preinstalled, but I have verified using the following command
python3.12 --version
2. Install Git 2.47
Here’s how to compile Git 2.47:
Installed dependencies:
sudo apt install -y make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
Download and build Git:
cd /usr/src
sudo curl -O https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.47.2.tar.gz
sudo tar -xvzf git-2.47.2.tar.gz
cd git-2.47.2
sudo make prefix=/usr/local all
sudo make prefix=/usr/local install
Verified Installation using:
git --version
3. Install Visual Studio Code
VS Code offers a .deb package for Debian-based distros like Kali so i downloaded it from the official website using the link "https://code.visualstudio.com/download".
Installed it using the command"
cd Downloads
sudo apt install ./code_1.101.1-1750254731_amd64.deb
& Lanched it using
code
then added a few extensions to better suit it for my python development.
4. Install Docker on Kali Linux
Kali already has a package named docker, but it’s not the container engine. You’ll want to install docker.io instead:
sudo apt install -y docker.io
Enable and start Docker
sudo systemctl enable docker --now
Then I Tested Installation:
docker --version
5. Configure Git with GitHub SSH
Generate Your SSH Key
ssh-keygen -t ed25519 -C "email"
- Replace "email" with the email linked to your GitHub account.
- When prompted, just press Enter to accept the default file location.
- You can add a passphrase for extra security.
Add the Key to the SSH Agent & your private key
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
Add Your Public Key to GitHub
cat ~/.ssh/id_ed25519.pub
- Copy the entire output.
- Paste your key and save.
Test your Setup
ssh -T git@github.com
Configure Git Settings
git config --global user.name "Your Full Name"
git config --global user.email "your_email@example.com"
At the end you should have installed
- Python.
- Git( & Configured it with GitHub SSH).
- Docker Engine.
- VS Code.
Enjoy!!
Top comments (0)