---
title: "ubuntu eclipse"
author: "leagion"
date: "2012-11-05T09:33:37Z"
tags: []
categories: ["编程语言"]
slug: "ubuntu-eclipse"
draft: false
lastmod: "2012-11-05T09:33:37Z"
id: 1716440
url: "https://leagion.iteye.com/blog/1716440"
---

### ubuntu 12.04 eclipse 安装

2012-07-13 15:52:43|  分类： [linux](http://blog.163.com/goodandrich@126/blog/#m=0&t=1&c=fks_084071086094080067084083080095082095080071085081094074 "linux") |  标签：[linux](http://blog.163.com/goodandrich@126/blog/#m=0&t=3&c=linux)  [ubuntu](http://blog.163.com/goodandrich@126/blog/#m=0&t=3&c=ubuntu)  [eclipse](http://blog.163.com/goodandrich@126/blog/#m=0&t=3&c=eclipse)  |字号 [订阅]()

1\. 首先解压缩下载好的压缩包，在终端中输入：

```


tar -zxvf eclipse-SDK-3.6.2-linux-gtk.tar.gz
sudo mv eclipse /opt/
sudo gedit /usr/share/applications/Eclipse.desktop
```

在文本中填入：

```


[Desktop Entry]
Name=Eclipse
Comment=Eclipse IDE
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Application;Development;
```

然后进入/opt/目录下建立eclipse的快捷桌面（和windows相同）

eclipse安装结束。