![]() During installation you can connect your computer using an Ethernet cable to ensure that you do not miss a connection in the center of installation. Let’s create a simple program (hello) to test the Go installation.When introduced to the manufacturer touchscreen you should see that the key is used to enter the boot that is listed in one of the lower corners of the screen. GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1429786228=/tmp/go-build -gno-record-gcc-switches"Ĭreate a directory hello under your home directory. GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" go versionĬheck the Go environment variables we set in previous sections. ![]() Run the below command to see the version of the Go language. Source $HOME/.profile Verify Go Installation ![]() echo "export PATH=/usr/local/go/bin:$" | sudo tee -a $HOME/.profile ![]() To do that, execute the below command.įor the system-wide installation and load the environment onto your current login session, run the following command. We will now configure the PATH environment variable to include Go’s bin ( /usr/local/go/bin) directory. sudo tar -zxvf go1.17. -C /usr/local/ Setup Go Environment Alternatively, you can download the Go language binary package via terminal using the following command. Visit the Go Language download page to download the latest version of Go. Here, we will see how to install Golang on Debian 11 / Debian 10. Go’s major features are: memory safety without a garbage collector, concurrency without data races, deadlock freedom, and coordination avoidance. ![]() It is primarily intended to be a modern language: it doesn’t have constructs that make you remember your past (like C’s structs) or are inspired by other languages (like Python’s list comprehensions). Go is a programming language designed by Google engineers Robert Griesemer, Rob Pike, and Ken Thompson. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |