- Delete the go first in your machine.
# sudo: Allows superuser privileges to execute the command.
# rm: Remove.
# -r: Recursively removes files and directories.
# -f: Forces the removal of files and directories.
sudo rm -rf /usr/local/go
In LUbuntu, when you install a snap application it will not include a desktop icon in the main menu. Follow the instruction below to add a desktop icon in main menu.
1. Change directory to "/var/lib/snapd/desktop/applications/".
2. Execute the command "sudo cp <name.desktop> /usr/share/applications/".