{"id":1325,"date":"2020-08-07T14:45:34","date_gmt":"2020-08-07T19:45:34","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1325"},"modified":"2020-08-07T14:45:34","modified_gmt":"2020-08-07T19:45:34","slug":"how-to-install-go-on-debian-9-2","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/","title":{"rendered":"How to Install Go on Debian 9"},"content":{"rendered":"<p>In this tutorial, we will guide you through the steps of installing Go on a <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 9 Cloud VPS<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1328\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/set-up-go-programming-language-for-debian-9-cloud-vps.jpg\" alt=\"\" width=\"120\" height=\"45\" \/>Go, also known as Golang, is a free and open-source programming language developed by Google. Go can be used to build simple, fast, reliable and efficient software applications. At the moment, Go is actually the most widely used programming language in the world. Many popular applications such as Docker, Openshift, and Graphana are all written in the Go language, along with thousands of smaller projects designed to fulfill and add extra features to other software. Go also allows us to run multiple processes of applications at the same time, improving performance and efficiency. Let&#8217;s begin with the installation.<br \/>\n<!--more--><\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>A <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Debian 9 Cloud VPS<\/a>. For the purposes of this tutorial we will use our LC VPS-1hosting plan.<\/li>\n<li>A system user with root privileges, or the root<\/li>\n<\/ul>\n<h2>Step 1: Log in and Update Packages<\/h2>\n<p>Log in to your <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Debian 9 Cloud VPS<\/a> via SSH as the root user (or as a user with sudo privileges). We can do that by entering this command:<\/p>\n<pre>ssh root@&lt;span style=&quot;color: #ff0000;&quot;&gt;Server_IP_Address&lt;\/span&gt; -p &lt;span style=&quot;color: #ff0000;&quot;&gt;Port_Number&lt;\/span&gt;<\/pre>\n<p>Remember to replace &#8216;root&#8217; with your username if you are not using the root user to log in. Change <code>Server_IP_Address<\/code> and <code>Port_Number<\/code> according to your server&#8217;s IP address and SSH port number.<\/p>\n<p>Once logged in, you need to update all of the OS packages to their latest available versions by running the following commands:<\/p>\n<pre>apt update \r\napt upgrade<\/pre>\n<p>As soon as all of your packages are up-to-date, we can then continue with the next step.<\/p>\n<h2>Step 2: Install Go<\/h2>\n<p>Go doesn&#8217;t come pre-installed on most of the Linux distributions. In the case of Debian 9, will have to install the latest version of the Go programming language from source.<\/p>\n<p>Download the latest version of Go using the <code>wget<\/code> command:<\/p>\n<pre>wget https:\/\/dl.google.com\/go\/go1.12.6.linux-amd64.tar.gz<\/pre>\n<p>Then, verify the downloaded file checksum with the <code>sha256sum<\/code> utility:<\/p>\n<pre>sha256sum go1.12.6.linux-amd64.tar.gz<\/pre>\n<p>The output should be similar to the one below:<\/p>\n<pre>dbcf71a3c1ea53b8d54ef1b48c85a39a6c9a935d01fc8291ff2b92028e59913c go1.12.6.linux-amd64.tar.gz<\/pre>\n<p>Run the following command to extract the tarball into the <code>\/usr\/local<\/code> directory.<\/p>\n<pre>tar -C \/usr\/local -xzf go1.12.6.linux-amd64.tar.gz<\/pre>\n<h2>Step 3: Set up the Go Environment<\/h2>\n<p>Once the Go tarball is extracted, we need to set the <code>PATH<\/code> environment variable in order to find Go executable binaries by the system.<\/p>\n<p>We can do this by editing the <code>\/etc\/profile<\/code> file (for a system-wide installation) or the <code>$HOME\/.profile<\/code> file (for a current user installation). In this case, we&#8217;re going to set up Go to be available for all users.<\/p>\n<pre>nano \/etc\/profile<\/pre>\n<p>Append the following line:<\/p>\n<pre>export PATH=$PATH:\/usr\/local\/go\/bin<\/pre>\n<p>Save and close the file. Then, apply the new <code>PATH<\/code> environment variable with the following command:<\/p>\n<pre>source \/etc\/profile<\/pre>\n<h2>Step 4: Verify the Go Installation<\/h2>\n<p>That&#8217;s it! Once step 3 has been completed, Go has successfully installed and configured to work on a Debian 9 Cloud VPS.<\/p>\n<p>We can now check the installed Go version with the following command:<\/p>\n<pre>go version<\/pre>\n<p>The output should be similar to the one below:<\/p>\n<pre>go version go1.12.6 linux\/amd64<\/pre>\n<p>We can also check all of the Go environment variables that are currently configured by running the following command:<\/p>\n<pre>go env<\/pre>\n<p>The output should be similar to the following:<\/p>\n<pre>GOARCH=&quot;amd64&quot;\r\nGOBIN=&quot;&quot;\r\nGOCACHE=&quot;\/root\/.cache\/go-build&quot;\r\nGOEXE=&quot;&quot;\r\nGOFLAGS=&quot;&quot;\r\nGOHOSTARCH=&quot;amd64&quot;\r\nGOHOSTOS=&quot;linux&quot;\r\nGOOS=&quot;linux&quot;\r\nGOPATH=&quot;\/root\/go&quot;\r\nGOPROXY=&quot;&quot;\r\nGORACE=&quot;&quot;\r\nGOROOT=&quot;\/usr\/local\/go&quot;\r\nGOTMPDIR=&quot;&quot;\r\nGOTOOLDIR=&quot;\/usr\/local\/go\/pkg\/tool\/linux_amd64&quot;\r\nGCCGO=&quot;gccgo&quot;\r\nCC=&quot;gcc&quot;\r\nCXX=&quot;g++&quot;\r\nCGO_ENABLED=&quot;1&quot;\r\nGOMOD=&quot;&quot;\r\nCGO_CFLAGS=&quot;-g -O2&quot;\r\nCGO_CPPFLAGS=&quot;&quot;\r\nCGO_CXXFLAGS=&quot;-g -O2&quot;\r\nCGO_FFLAGS=&quot;-g -O2&quot;\r\nCGO_LDFLAGS=&quot;-g -O2&quot;\r\nPKG_CONFIG=&quot;pkg-config&quot;\r\nGOGCCFLAGS=&quot;-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=\/tmp\/go-build527675922=\/tmp\/go-build -gno-record-gcc-switches&quot;<\/pre>\n<h2>A Simple Go Example: Hello World<\/h2>\n<p>We will create a simple program that simply outputs &#8216;Hello World&#8217; to your terminal to show that the installation works and is ready to be used.<\/p>\n<p>Open your favorite text editor (in our example we are using nano as our text editor) and create a file named <code>hello-world.go<\/code>:<\/p>\n<pre>nano hello-world.go<\/pre>\n<p>and then enter this code inside:<\/p>\n<pre>package main\r\n\r\nimport &quot;fmt&quot;\r\n\r\nfunc main() {\r\n    fmt.Println(&quot;Hello World&quot;)\r\n}<\/pre>\n<p>This program is extremely simple. Save and close the file, then run it using Go:<\/p>\n<pre>go run hello-world.go<\/pre>\n<p>The output of this program should be:<\/p>\n<pre>Hello World<\/pre>\n<p>We can then build this simple program into a binary file. We can do this with the &#8216;go build&#8217; command:<\/p>\n<pre>go build hello-world.go<\/pre>\n<p>Then, we can run the newly created binary directly as a native executable, like this:<\/p>\n<pre>.\/hello-world<\/pre>\n<p>The output should be the same as before.<\/p>\n<p>That&#8217;s it! Go is now installed and fully functional on your Debian 9 Cloud VPS. For more details on how to use this platform, please check their official documentation &#8211; it&#8217;s extensive and should cover everything that you need.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1329\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/managed-go-language-setup-configuration-by-experts-debian-cloud-server-support.jpg\" alt=\"\" width=\"120\" height=\"45\" \/>You don&#8217;t need to set up Go by yourself if you use one of our <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Managed Debian Cloud Hosting<\/a> solutions. Instead, you can simply ask our expert Linux admins to set up Go on Debian 9 for you. They are available 24\u00d77 and will take care of making sure that it&#8217;s ready to go for your project, along with any other requests that you might have.<\/p>\n<p>If you found this tutorial helpful, please share it with your friends through social media by using the share shortcuts, or if you have any questions or comments, feel free to leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source programming language developed by Google. Go can be used to build simple, fast, reliable and efficient software applications. At the moment, Go is actually the most &#8230; <a title=\"How to Install Go on Debian 9\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/\" aria-label=\"More on How to Install Go on Debian 9\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1327,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[110,186,187],"class_list":["post-1325","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-debian","tag-go","tag-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Go on Debian 9 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Go on Debian 9 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-07T19:45:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/how-to-install-go-on-debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Go on Debian 9\",\"datePublished\":\"2020-08-07T19:45:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/\"},\"wordCount\":753,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/how-to-install-go-on-debian-9.jpg\",\"keywords\":[\"debian\",\"go\",\"programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/\",\"name\":\"How to Install Go on Debian 9 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/how-to-install-go-on-debian-9.jpg\",\"datePublished\":\"2020-08-07T19:45:34+00:00\",\"description\":\"In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/how-to-install-go-on-debian-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/how-to-install-go-on-debian-9.jpg\",\"width\":750,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-go-on-debian-9-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Go on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Go on Debian 9 | LinuxCloudVPS Blog","description":"In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Go on Debian 9 | LinuxCloudVPS Blog","og_description":"In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2020-08-07T19:45:34+00:00","og_image":[{"width":750,"height":360,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/how-to-install-go-on-debian-9.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Go on Debian 9","datePublished":"2020-08-07T19:45:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/"},"wordCount":753,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/how-to-install-go-on-debian-9.jpg","keywords":["debian","go","programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/","name":"How to Install Go on Debian 9 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/how-to-install-go-on-debian-9.jpg","datePublished":"2020-08-07T19:45:34+00:00","description":"In this tutorial, we will guide you through the steps of installing Go on a Debian 9 Cloud VPS. Go, also known as Golang, is a free and open-source","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/how-to-install-go-on-debian-9.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/08\/how-to-install-go-on-debian-9.jpg","width":750,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-go-on-debian-9-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Go on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1325"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1325\/revisions"}],"predecessor-version":[{"id":1331,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1325\/revisions\/1331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1327"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}