Ubuntu中下载和安装Eclipse

【背景】

需要在Ubuntu下弄一个Eclipse项目的编译。

其是C语言的,嵌入式项目。

所以,先要在Ubuntu中,下载和安装Eclipse。

【折腾过程】

1.Ubuntu下,用Firefox打开Eclipse主页,找到对应的,C语言的版本(已安装了CDT的)Eclipse:

Eclipse IDE for C/C++ Developers, 148 MB 
Downloaded 160,782 Times    An IDE for C/C++ developers with Mylyn integration.

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplerr

下载对应的32bit的:

Ubuntu中下载和安装Eclipse_第1张图片

Ubuntu中下载和安装Eclipse_第2张图片

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/R/eclipse-cpp-kepler-R-linux-gtk.tar.gz

得到:

Ubuntu中下载和安装Eclipse_第3张图片

2. 下载后,解压,得到源码:

crifan@ubuntu:eclipse$ ls

eclipse-cpp-kepler-R-linux-gtk.tar.gz

crifan@ubuntu:eclipse$ tar xvf eclipse-cpp-kepler-R-linux-gtk.tar.gz

eclipse/

eclipse/.eclipseproduct

eclipse/epl-v10.html

......

(省略显示解压内容)

......

eclipse/eclipse.ini

eclipse/dropins/

eclipse/readme/

eclipse/readme/readme_eclipse.html

crifan@ubuntu:eclipse$ cd eclipse/

crifan@ubuntu:eclipse$ ls

about_files  artifacts.xml  dropins  eclipse.ini   features  notice.html  plugins

about.html   configuration  eclipse  epl-v10.html  icon.xpm  p2           readme

crifan@ubuntu:eclipse$ pwd

/home/crifan/develop/eclipse/eclipse

crifan@ubuntu:eclipse$ ls -lh

total 320K

drwxrwxr-x  2 crifan crifan 4.0K Jun 13 19:45 about_files

-rw-rw-r--  1 crifan crifan  19K May 21 19:01 about.html

-rw-rw-r--  1 crifan crifan 118K Jun 13 19:45 artifacts.xml

drwxrwxr-x  5 crifan crifan 4.0K Jun 13 19:45 configuration

drwxrwxr-x  2 crifan crifan 4.0K Jun 13 19:45 dropins

-rwxr-xr-x  1 crifan crifan  64K May 21 17:05 eclipse

-rw-rw-r--  1 crifan crifan  441 Jun 13 19:45 eclipse.ini

-rw-rw-r--  1 crifan crifan  17K Jun  5 17:04 epl-v10.html

drwxrwxr-x 71 crifan crifan 4.0K Jun 13 19:45 features

-rw-rw-r--  1 crifan crifan 8.9K Apr 19 14:56 icon.xpm

-rw-rw-r--  1 crifan crifan 9.1K Jun  5 17:04 notice.html

drwxrwxr-x  4 crifan crifan 4.0K Jun 13 19:45 p2

drwxrwxr-x  9 crifan crifan  44K Jun 13 19:45 plugins

drwxrwxr-x  2 crifan crifan 4.0K Jun 13 19:45 readme

crifan@ubuntu:eclipse$

3.然后,看看双击是否可以打开对应的Eclipse:

double eclipse see can use or not

结果却说找不到java:

【已解决】Ubuntu中双击Eclipse结果出错:A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse

 

【总结】

搞定Eclipse后,就完成任务了。


后续就是:

【记录】Ubuntu下使用Eclipse编译项目

转载请注明:在路上 » 【记录】Ubuntu中下载和安装Eclipse

PS:网址链接:

https://www.crifan.com/under_ubuntu_download_and_install_eclipse/https://www.crifan.com/under_ubuntu_download_and_install_eclipse/

 

 

你可能感兴趣的:(工具)