无法安装 c++从 ubuntu 11.10 完全卸载后的 eclipse indigo
我之前已经使用以下命令在 Ubuntu(虚拟机)中成功安装了 Indigo eclipse:
sudo apt-get install eclipse
sudo apt-get install eclipse-cdt
但是,当我从“安装新软件”选项卡进行更新时,它变得混乱。运行以下命令后,我完全删除了 eclipse。
sudo apt-get remove --purge eclipse
sudo apt-get autoremove
sudo rm -rf /usr/bin/eclipse /usr/lib/eclipse/ /usr/share/eclipse /usr/share/man/man1/eclipse.1.gz /etc/eclipse.ini
但是,现在我想在我的 Ubuntu 中再次安装 eclipse。当我运行上面的命令时,它根本不顺利,并在以下执行时停止:
milind@milind-VirtualUbuntuOneiric:~$ sudo apt-get install eclipse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eclipse
0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded.
Need to get 0 B/17.3 kB of archives.
After this operation, 131 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
eclipse
Install these packages without verification [y/N]? y
Selecting previously deselected package eclipse.
(Reading database ... 133931 files and directories currently installed.)
Unpacking eclipse (from .../eclipse_3.7.0-0ubuntu1_all.deb) ...
Setting up eclipse (3.7.0-0ubuntu1) ...
milind@milind-VirtualUbuntuOneiric:~$
尝试了很长时间(多次重新启动 VBox),但没有运气。你能帮我吗:
- How to install eclipse for C++ (I think indigo) from command line 就像我之前做的那样?
- 如果命令行不起作用,那么最新的 C++ eclipse 站点是什么?
- 如何为此 Eclipse 安装正确的 CDT 以便可以使用它 非常适合调试(这是我的根本问题)?
I had installed Indigo eclipse successfully earlier in Ubuntu (Virtual Machine) with following commands:
sudo apt-get install eclipse
sudo apt-get install eclipse-cdt
However, it got messed up when I did an update from its "Install New Software" tab. After running following commands, I removed eclipse completely.
sudo apt-get remove --purge eclipse
sudo apt-get autoremove
sudo rm -rf /usr/bin/eclipse /usr/lib/eclipse/ /usr/share/eclipse /usr/share/man/man1/eclipse.1.gz /etc/eclipse.ini
However, now I want to again install eclipse in my Ubuntu. When I run the above commands, it simply doesn't go well and stop at following execution:
milind@milind-VirtualUbuntuOneiric:~$ sudo apt-get install eclipse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eclipse
0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded.
Need to get 0 B/17.3 kB of archives.
After this operation, 131 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
eclipse
Install these packages without verification [y/N]? y
Selecting previously deselected package eclipse.
(Reading database ... 133931 files and directories currently installed.)
Unpacking eclipse (from .../eclipse_3.7.0-0ubuntu1_all.deb) ...
Setting up eclipse (3.7.0-0ubuntu1) ...
milind@milind-VirtualUbuntuOneiric:~$
Trying for so long (with restarting the VBox many times), but no luck. Can you please help me with:
- How to install eclipse for C++ (I think indigo) from command line
like earlier I did ? - If command line is not working then what is the latest C++ eclipse site to get it ?
- How to install proper CDT for this eclipse so that it can be used
nicely for debugging (which was my root problem) ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近从 apt 安装时遇到了一些问题(Ubuntu 11.10)。我最终最终从 此处 下载了一个版本,然后安装到自定义位置 [/home/usrname/程序/日食]。这是我让市场发挥作用的唯一方法。
I had a few problems installing from apt recently (Ubuntu 11.10). I eventually ended up downloading a build from here and then installing to a custom location [/home/usrname/programs/eclipse]. This was the only way I could get the marketplace to work.