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:
| # Add `~/bin` to the `$PATH` | |
| export BUN_INSTALL="$HOME/.bun"; | |
| export PATH="$HOME/bin:$BUN_INSTALL/bin:$PATH:$HOME/go/bin"; | |
| # Set PATH, MANPATH, etc., for Homebrew. | |
| eval "$(/opt/homebrew/bin/brew shellenv)"; | |
| # Load the shell dotfiles, and then some: | |
| # * ~/.path can be used to extend `$PATH`. | |
| # * ~/.extra can be used for other settings you don’t want to commit. |
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:
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.content.pm.PackageManager; | |
| import android.net.Uri; | |
| import android.os.Build; | |
| import android.preference.PreferenceManager; | |
| import android.provider.Settings; | |
| import android.support.v4.app.Fragment; | |
| import java.util.List; |