码迷,mamicode.com
首页 > 系统相关 > 详细

在Ubuntu中安装LiteIDE

时间:2016-09-04 00:12:41      阅读:1479      评论:0      收藏:0      [点我收藏+]

标签:

该文章主要讲述从源码编译LiteIDE的步骤。

 

编译环境

  Ubuntu 16.04  64bit,   Qt 5.5.1

  $ uname -a

Linux kev-ubuntu 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

 

        $ gcc -version

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

        $ qmake --version

QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu

 

先决条件

  编译liteIDE需要安装golang开发环境(设置好gopath即可)。

  Git (推荐使用,便于手动“升级软件”)

技术分享
sudo apt-get install git-core
View Code

 

编译步骤

  • 获取源码
    • git clone https://github.com/visualfc/liteide.git
  • 设置QTDIR环境变量
    • # 此处使用的是qt5
      export QTDIR=/usr/share/qt5          
  • 更新package
    • cd liteide/build
      ./update_pkg.sh
  • Build源码
    • ./build_linux_qt5.sh
  • Deploy 
    •   ./deploy_linux_x64_qt5.sh

 

成功之后在src的同级目录(build目录)下,会生成一个liteide目录,进入 liteide/bin目录运行liteide 就可以了。你也可以选择将生成的文件复制到你想要的位置,将liteide加入启动器就OK了。

 

参考: https://github.com/visualfc/liteide/blob/master/liteidex/deploy/welcome/zh_CN/install.md

在Ubuntu中安装LiteIDE

标签:

原文地址:http://www.cnblogs.com/7explore-share/p/5838281.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!