douzhong1907 2013-04-10 19:37
浏览 281

在CentOS 5.x上安装Go

I want to install Go on CentOS 5.x, but Go website here http://golang.org/doc/install mentions that it is not supported.

Is there still some way to install Go Language on CentOS since CentOS is just a different flavour of Linux?

When I installed the same and ran the sample program hello.go mentioned at above website I got the error hello.go:3:8: import "fmt": cannot find package package runtime: import "runtime": cannot find package

  • 写回答

5条回答 默认 最新

  • dougu6815 2013-04-10 19:40
    关注

    I'm affraid you're out of luck because of the bit too much aged kernel version of CentOS 5.x. If the go runtime uses features simply not present in that kernel, then I see no easy way how it could work.

    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!