Go!
Go! is an agent-based programming language in the tradition of logic-based programming languages like Prolog designed at Google.
Difficulty: Easy
Installation
With user
admin
, go to the temporary folder
Set a temporary version environment variable to the installation
Set a temporary SHA256 environment variable to the installation
Get the latest binary of the official repository
Check the checksum of the file
Example of expected output:
Extract and install Go in the
/usr/local
directory
Add the next line at the end of the
/etc/profile
file
Expected output:
Apply the changes immediately to the current session
Verify that you've installed Go by typing the following command
Example of expected output:
(Optional) Delete the file of the temporary folder to be immediately ready for the next update
Upgrade
With user
admin
, remove any previous Go installation
Go to the temporary folder
Set a temporary version environment variable with the new value, to the installation
Set the new temporary SHA256 environment variable to the installation
Get the latest binary of the official repository
Check the checksum of the file
Example of expected output:
Extract and install Go in the
/usr/local
directory
Verify that you've updated Go by typing the following command
Example of expected output:
(Optional) Delete the file of the temporary folder to be immediately ready for the next update
Uninstall
Delete go folder
Edit
/etc/profile
file and delete the completeexport PATH=$PATH:/usr/local/go/bin
line at the end of the file. Save and exit
Apply the changes immediately to the current session
Ensure you are uninstalled Go definitely
Expected output:
Next new session you will obtain this command when you try go version
command:
Last updated