System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| @echo off | |
| title Activate Microsoft Office 2019 ! | |
| cls | |
| echo ============================================================================ | |
| echo #Project: Activating Microsoft software products | |
| echo ============================================================================ | |
| echo. | |
| echo #Supported products: | |
| echo - Microsoft Office Standard 2019 | |
| echo - Microsoft Office Professional Plus 2019 |
| var fs = require("fs"); | |
| var rmDir = function(dir, rmSelf) { | |
| var files; | |
| rmSelf = (rmSelf === undefined) ? true : rmSelf; | |
| dir = dir + "/"; | |
| try { files = fs.readdirSync(dir); } catch (e) { console.log("!Oops, directory not exist."); return; } | |
| if (files.length > 0) { | |
| files.forEach(function(x, i) { | |
| if (fs.statSync(dir + x).isDirectory()) { | |
| rmDir(dir + x); |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by: