I have selected an Ubuntu 22.04 VM from playground and tried to install the kubectl using the CLI but unfortunately I am getting error as unable to locate package.
root@ubuntu-host ~ sudo apt-get install -y kubectl
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package kubectl
However, I have updated the server but that did not help, went through the official documentation to install but no luck. Please advise on how to take it up further.