kali linux apt update code example Example: how to update kali linux sudo apt-get update sudo apt-get upgrade