一:安装GO语言环境
参考文章:Ubuntu14.04环境下安装配置GO语言开发环境

二:安装Liteide
下载地址:https://sourceforge.net/projects/liteide/files/
选择对应版本,我这里选择X32.2中的64位QT4版本
Ubuntu14.04安装配置GO语言编译器Liteide
Ubuntu14.04安装配置GO语言编译器Liteide
解压安装包到/usr/local目录
Ubuntu14.04安装配置GO语言编译器Liteide
编辑.bashrc文件,将export PATH=/usr/local/liteide/bin:$PATH添加到最后一行,运行source ~/.bashrc刷新

三:配置Liteide
安装好liteide后还需要进行相应的配置才能编译GO程序,终端输入liteide启动编辑器
Ubuntu14.04安装配置GO语言编译器Liteide
点击选择系统环境,这里我们选择Linux64位环境
Ubuntu14.04安装配置GO语言编译器Liteide
点击此处配置环境变量,其中GOROOT和GOPATH跟GO安装位置相同即可
Ubuntu14.04安装配置GO语言编译器Liteide
Ubuntu14.04安装配置GO语言编译器Liteide
Ubuntu14.04安装配置GO语言编译器Liteide
打开或编写一个GO源码,点击BR即可编译链接运行
Ubuntu14.04安装配置GO语言编译器Liteide
Ubuntu14.04安装配置GO语言编译器Liteide

相关文章:

  • 2021-06-01
  • 2021-11-22
  • 2021-04-17
  • 2021-07-22
  • 2021-10-03
  • 2021-11-19
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-11-28
  • 2021-12-22
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2021-07-06
相关资源
相似解决方案