#JavaInspires
Command to install python 3 in Ubuntu.
$ sudo apt-get install python3.9
Command to set python 3 as default in Ubuntu.
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
Command to remove Unnecessary packages.
$ sudo apt autoremove
Command to remove apt cache.
$ sudo apt autoclean