[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"page-en-\u002Fblog\u002Finstall-go-on-centos":3},{"id":4,"title":5,"body":6,"date":51,"description":52,"extension":53,"meta":54,"navigation":55,"path":56,"seo":57,"stem":58,"tags":59,"translation":61,"__hash__":62},"pages_en\u002Fen\u002Fblog\u002Finstall-go-on-centos.md","Install Go on CentOS",{"type":7,"value":8,"toc":45},"minimark",[9,14,25,29,35,39],[10,11,13],"h2",{"id":12},"check-version","Check Version",[15,16,21],"pre",{"className":17,"code":19,"language":20},[18],"language-text","go version\n","text",[22,23,19],"code",{"__ignoreMap":24},"",[10,26,28],{"id":27},"download-and-unzip","Download and Unzip",[15,30,33],{"className":31,"code":32,"language":20},[18],"wget https:\u002F\u002Fgo.dev\u002Fdl\u002Fgo1.18.5.linux-amd64.tar.gz\n\ntar -C \u002Fusr\u002Flocal -zxvf go1.18.5.linux-amd64.tar.gz\n",[22,34,32],{"__ignoreMap":24},[10,36,38],{"id":37},"add-to-environment-variable-and-take-effect","Add to Environment Variable and Take Effect",[15,40,43],{"className":41,"code":42,"language":20},[18],"vi \u002Fetc\u002Fprofile\n\nexport PATH=$PATH:\u002Fusr\u002Flocal\u002Fgo\u002Fbin\n\nsource \u002Fetc\u002Fprofile\n",[22,44,42],{"__ignoreMap":24},{"title":24,"searchDepth":46,"depth":46,"links":47},2,[48,49,50],{"id":12,"depth":46,"text":13},{"id":27,"depth":46,"text":28},{"id":37,"depth":46,"text":38},"2022-10-31","Installing Go on CentOS: download, extract to \u002Fusr\u002Flocal, and PATH configuration.","md",{},true,"\u002Fen\u002Fblog\u002Finstall-go-on-centos",{"title":5,"description":52},"en\u002Fblog\u002Finstall-go-on-centos",[60],"application servers","\u002Fblog\u002Finstall-go-on-centos","_qB76SgXwbOommOXW9jXJPBOQUSsSFWk8ot9jyoZnS8",1792353223626]