Set PATHĪdd the following to ~/.bashrc: export GOPATH="/usr/local/go/work"Įxport PATH="$/bin/hello (or just hello if you setup your GOPATH above) and you should see Hello, Chrome OS!. Also, create a folder called src inside /usr/local/go/work/. To keep this simple just create a folder called /usr/local/go/work. If it installed correctly, you should see the Go help prompt. Go should now be installed you can test this by typing /usr/local/go/bin/go. Then extract it using the following command (when replacing with the name of the file you downloaded): sudo tar xpvf ~/Downloads/ -C /usr/local Install Goįirst download the latest version of Go for Linux from the Go Downloads page.Īfter that, open a shell by hitting (CTRL+ALT+T) and typing in shell then hit enter. The Import Virtual Machine window will open. Option 1: Import the Chrome OS Now, you need to launch VMWare, head to File > Open, and then browse to the Chrome OS image. Note that enabling developer mode reduces the security guarantees offered by Chrome OS. Install Chrome OS VMWare According to the VMWare version you use, you can choose to import the OVA file or create the Chrome OS VM from scratch. Please note this has only been tested on a 64GB LTE Pixel, however it should work on other Chromebooks. This tutorial will show you how to install, build, and run Go on Chrome OS. If this feature is not available for you, you will need to enable Developer Mode. This has been tested on a Samsung Chromebook Plus on version. Follow the steps from the following Google Support article to enable this feature. If your Chromebook is relatively new, you can enable the Linux VM now built into ChromeOS to install Go without developer mode. You don't need to compile from source in Developer mode, you can just use the Chromebrew-provided version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |