Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu安装Eclipse for C/C++及相关配置

Ubuntu安装Eclipse for C/C++及相关配置1,安装JDK:sudo apt-get install aptitudesudo aptitude search openjavasudo aptitude install openjdk-7-jdk然后输入:java -version;javac -version进行测试,即可判断是否安装成功。2,去Eclipse官方网站下载Eclipse(eclipse-cpp-mars-R-linux-gtk.tar.gz),然后解压:tar -xzf eclipse-cpp-mars-R-linux-gtk.tar.gz -C ~/3,创建快捷方式:右键Eclipse可执行文件,点击创建快捷方式,然后将快捷方式放到桌面即可。4, 安装CDT(此步可跳过):方法1)去Eclips官方下载CDT,然后解压至Eclipse目录即可。方法2)在help->software updates->find and install...中,选择search for new features to install,然后点击new remote site按钮,添加如下地址: http://download.eclipse.org/tools/cdt/releases/8.7,然后选中它,eclipse就会到这个地址查找新的cdt,等一会,列出cdt的版本,选择最新的,然后一路next,它就会开始从网上下载并安装,安装完后会提示重启eclipse。5,测试Eclipse:编写一个Hello world程序进行测试即可。配置相关问题:字体修改:进入左侧树结构依次选择General->Appearance->Colors  and  Fonts或者直接在搜索框输入Colors  选择Colors  and  Fonts,在Colors  and  Fonts界面框中中可以看到各种的格式设置,设置base下的Text Font,选择后,点击右侧的Edit按钮,可以打开格式编辑框,选择需要的格式样式,点击确定即可。修改前:修改后:Eclipse汉化方法:Installing the language packs
  • Open the install wizard with "Help" > "Install new software..."
  • Add the Babel p2 repository: http://download.eclipse.org/technology/babel/update-site/R0.13.0/mars
  • Select/install your language pack of choice
  • Restart Eclipse and you should get a translated Eclipse
--------------------------------------分割线 --------------------------------------Ubuntu 14.04 LTS安装Java 8和Eclipse 4.4  http://www.linuxidc.com/Linux/2014-11/109217.htmHadoop Eclipse 插件编译安装1.2.0 http://www.linuxidc.com/Linux/2013-07/87428.htmHadoop在Eclipse中的插件编译 http://www.linuxidc.com/Linux/2013-04/83295.htmHadoop 1.2.1编译Eclipse插件 http://www.linuxidc.com/Linux/2013-10/91666.htmUbuntu 13.10安装JDK、Eclipse for C/C++(解决全局菜单问题) http://www.linuxidc.com/Linux/2013-11/92305.htm如何在Ubuntu 14.04中安装最新版Eclipse  http://www.linuxidc.com/Linux/2014-08/105090.htm--------------------------------------分割线 --------------------------------------Eclipse 的详细介绍:请点这里
Eclipse 的下载地址:请点这里更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2本文永久更新链接地址