how to full update kali linux

C++
apt-get update && apt-get upgradesudo apt full-upgrade -y
Source

Also in C++: