How To Install kali-linux-headless on Kali Linux
Introduction
In this tutorial we learn how to install kali-linux-headless on Kali Linux.
What is kali-linux-headless
kali-linux-headless is:
This is Kali Linux, the most advanced penetration testing and security auditing distribution.
This metapackage depends on all the applications that are included in official Kali Linux images and that don’t require X11/GUI.
There are three methods to install kali-linux-headless 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 kali-linux-headless Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install kali-linux-headless using apt-get by running the following command:
sudo apt-get -y install kali-linux-headlessInstall kali-linux-headless Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install kali-linux-headless using apt by running the following command:
sudo apt -y install kali-linux-headlessInstall kali-linux-headless 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 updateAfter updating apt database, We can install kali-linux-headless using aptitude by running the following command:
sudo aptitude -y install kali-linux-headlessHow To Uninstall kali-linux-headless on Kali Linux
To uninstall only the kali-linux-headless package we can use the following command:
sudo apt-get remove kali-linux-headlessUninstall kali-linux-headless And Its Dependencies
To uninstall kali-linux-headless and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove kali-linux-headlessRemove kali-linux-headless Configurations and Data
To remove kali-linux-headless configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge kali-linux-headlessRemove kali-linux-headless configuration, data, and all of its dependencies
We can use the following command to remove kali-linux-headless configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge kali-linux-headlessDependencies
kali-linux-headless have the following dependencies:
- kali-linux-core
- aircrack-ng
- amass
- arp-scan
- arping
- binwalk
- bluez
- bluez-hcidump
- bulk-extractor
- bully
- cadaver
- cewl
- chntpw
- commix
- crackmapexec
- creddump7
- crunch
- cryptcat
- davtest
- dbd
- dirb
- dmitry
- dns2tcp
- dnschef
- dnsenum
- dnsrecon
- enum4linux
- exe2hexbat
- exiv2
- exploitdb
- ffuf
- fierce
- fping
- gpp-decrypt
- hash-identifier
- hashcat
- hashcat-utils
- hashid
- hping3
- hydra
- i2c-tools
- ike-scan
- impacket-scripts
- inetsim
- iodine
- john
- kismet
- laudanum
- lbd
- macchanger
- magicrescue
- maltego
- maskprocessor
- masscan
- metasploit-framework
- mimikatz
- mitmproxy
- msfpc
- nasm
- nbtscan
- ncrack
- ncurses-hexedit
- netdiscover
- netsed
- nfs-common
- nikto
- nmap
- onesixtyone
- passing-the-hash
- patator
- pdf-parser
- pdfid
- pipal
- pixiewps
- powershell-empire
- powersploit
- proxychains4
- proxytunnel
- ptunnel
- python3-impacket
- python3-scapy
- qsslcaudit
- radare2
- reaver
- rebind
- recon-ng
- redsocks
- responder
- rsmangler
- samdump2
- sbd
- scalpel
- scrounge-ntfs
- set
- skipfish
- sleuthkit
- smbmap
- snmpcheck
- spiderfoot
- spike
- spooftooph
- sqlmap
- ssldump
- sslscan
- sslsplit
- sslyze
- statsprocessor
- thc-ipv6
- thc-pptp-bruter
- theharvester
- udptunnel
- unix-privesc-check
- voiphopper
- wafw00f
- wce
- webshells
- weevely
- wfuzz
- whatweb
- wifite
- windows-binaries
- winexe
- wordlists
- wpscan
- apache2
- atftpd
- axel
- bind9-dnsutils
- cifs-utils
- clang
- cryptsetup
- cryptsetup-nuke-password
- curlftpfs
- default-mysql-server
- dos2unix
- ethtool
- expect
- gdisk
- git
- hashdeep
- hotpatch
- ifenslave
- iw
- minicom
- miredo
- mlocate
- multimac
- netmask
- netsniff-ng
- ngrep
- openvpn
- p7zip-full
- php
- php-mysql
- pwnat
- rake
- rfkill
- sakis3g
- samba
- screen
- sendemail
- snmp
- snmpd
- socat
- sslh
- stunnel4
- swaks
- tcpick
- tcpreplay
- telnet
- testdisk
- tftp
- traceroute
- unrar
- upx-ucl
- vboot-kernel-utils
- vboot-utils
- vim
- vlan
- vpnc
- whois
References
Summary
In this tutorial we learn how to install kali-linux-headless package on Kali Linux using different package management tools: apt, apt-get and aptitude.