Linux 如何为 Eclipse 安装 CDT
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4622982/
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
how to install CDT for eclipse
提问by pradeep
i have installed eclipse on ubuntu 10.04,i want to run C and C++ program, what is the commant to install CDT for it, i have installed eclipse Galileo, i tried help -> install new softwares and added this link http://download.eclipse.org/tools/cdt/releases/galileobut it shows no repository , please help...
我已经在 ubuntu 10.04 上安装了 eclipse,我想运行 C 和 C++ 程序,为它安装 CDT 的命令是什么,我已经安装了 eclipse Galileo,我尝试了帮助 -> 安装新软件并添加了这个链接http://download .eclipse.org/tools/cdt/releases/galileo但它没有显示存储库,请帮助...
回答by J-16 SDiZ
回答by Rizvi Hasan
To install Eclipse CDT in Ubuntu just type these command in terminal
要在 Ubuntu 中安装 Eclipse CDT,只需在终端中键入这些命令
sudo apt-get install eclipse-cdt
Assuming that you have a Ubuntu installed with internet connection.
假设您安装了具有 Internet 连接的 Ubuntu。
回答by NIhal
Just press Alt+Cnt+T and type sudo apt-get install eclipse-cdt this is only when you have already eclipse installed in Ubuntu.
只需按 Alt+Cnt+T 并键入 sudo apt-get install eclipse-cdt 这仅当您已经在 Ubuntu 中安装了 eclipse 时。
回答by Sumit Pokhrel
- Install Eclipse from the Ubuntu repositories.
- Go to terminal and type the following command : sudo apt-get install eclipse eclipse-cdt g++
- 从 Ubuntu 存储库安装 Eclipse。
- 转到终端并输入以下命令:sudo apt-get install eclipse eclipse-cdt g++