Eclipse C++ On Ubuntu 安装过程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3726344/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse C++ On Ubuntu installation Process
提问by parsifal
I am now working on a data transfer project under Linux.
我现在正在从事 Linux 下的数据传输项目。
The Project Team choose putty to login in linux server via vim to development, But I think the efficiency is too low.
项目组选择putty通过vim登录linux服务器进行开发,但是我觉得效率太低了。
Now I choose Eclipse for C++, and distributor the version "eclipse-cpp-helios-linux-gtk.tar.gz
" on Ubuntu.
现在我为 C++ 选择 Eclipse,并eclipse-cpp-helios-linux-gtk.tar.gz
在Ubuntu上发布版本“ ” 。
However, I encountered a problem: My Linux system should install jre1_5_0_09linuxi586
, but I can not find it on web.
但是,我遇到了一个问题:我的Linux系统应该安装jre1_5_0_09linuxi586
,但我在网上找不到它。
Can anybody help me on how to install Elipse for C++ on a cleanup linux OS?
What I need is Eclipse for C++ running gdb and compiling on IDE, thanks!
任何人都可以帮助我如何在清理 linux 操作系统上为 C++ 安装 Elipse?
我需要的是 Eclipse for C++ 运行 gdb 并在 IDE 上编译,谢谢!
回答by Nick Meyer
Your question is difficult to understand, but if I'm reading it correctly, you're trying to install the Java Runtime Environment and Eclipse Helios for C++ on Ubuntu.
您的问题很难理解,但如果我没看错,您是在尝试在 Ubuntu 上安装 Java Runtime Environment 和 Eclipse Helios for C++。
The easiest way to install the JRE is to use the packages in the "partner" repository:
安装 JRE 的最简单方法是使用“合作伙伴”存储库中的包:
Edit /etc/apt/sources.list:
编辑 /etc/apt/sources.list:
sudo -e /etc/apt/sources.list
You should see a few lines that end with the word "partner." Remove the hash marks from the front of each of these lines.
您应该会看到几行以“合作伙伴”一词结尾。删除每行前面的哈希标记。
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
Now update your package list and install the Sun Java Runtime:
现在更新您的软件包列表并安装 Sun Java Runtime:
sudo apt-get update
sudo apt-get install sun-java6-jre
Then you can unzip the Eclipse tarball and run the eclipse binary from inside the tarball:
然后您可以解压缩 Eclipse tarball 并从 tarball 中运行 eclipse 二进制文件:
tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz
./eclipse
回答by VonC
You can:
你可以:
- download a JRE or JDK version on the Oracle siteor use the process "How to Install Java Runtime Environment (JRE) in Ubuntu"
- Follow for instance those installation instruction
- use the right
eclipse.ini
to launch your eclpise
- 在 Oracle 站点上下载 JRE 或 JDK 版本或使用过程“如何在 Ubuntu 中安装 Java 运行时环境 (JRE)”
- 遵循例如那些安装说明
- 使用权利
eclipse.ini
启动您的 eclpise
回答by GuruM
Download page of Eclipse Helios (http://www.eclipse.org/downloads/packages) gives 2 good alternatives for C++ developers on Linux:
Eclipse Helios 的下载页面 ( http://www.eclipse.org/downloads/packages) 为 Linux 上的 C++ 开发人员提供了 2 个不错的选择:
A) Eclipse IDE for C/C++ Developers, 87 MB without LinuxTools
B) Eclipse IDE for C/C++ Linux Developers, 120 MB with inbuilt LinuxTools like valgrind, gprof, systemtap etc.
C) Installing/Updating LinuxTools using UpdateManager(Note: You may need to do a Java6 JRE update as described below first.)
D) Updating Eclipse Helios CDT with UpdateManager
E) Helios Installation how-to
F) Java6 JRE update:apt-get install sun-java6-jre
G) Unzip the Eclipse tarball and run the eclipse binary from inside the tarball:tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz && ./eclipse
For related info click here
A)面向 C/C++ 开发人员的 Eclipse IDE,87 MB 不带 LinuxTools
B)面向 C/C++ Linux 开发人员的 Eclipse IDE,120 MB 带有内置 LinuxTools,如 valgrind、gprof、systemtap 等。
C)使用 UpdateManager 安装/更新 LinuxTools(注意:你可能需要首先执行如下所述的 Java6 JRE 更新。)
D)使用 UpdateManager 更新 Eclipse Helios CDT
E) Helios 安装方法
F) Java6 JRE 更新:apt-get install sun-java6-jre
G) 解压缩 Eclipse tarball 并从 tarball 中运行 eclipse 二进制文件:tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz && ./eclipse
相关信息请点击这里