从ubuntu 11.10完全卸载后无法安装c++ eclipse indigo

Not able to install c++ eclipse indigo after completely uninstalling from ubuntu 11.10

本文关键字:安装 c++ indigo eclipse 卸载 ubuntu      更新时间:2023-10-16

我已经在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多次),但没有运气。你能帮我一下吗?

  1. 如何从命令行安装eclipse for c++(我认为是indigo)
  2. 如果命令行不工作,那么最新的c++ eclipse站点是什么?
  3. 如何为这个eclipse安装合适的CDT以便可以使用它很好地调试(这是我的根本问题)?

我最近从apt (Ubuntu 11.10)安装时遇到了一些问题。我最终从这里下载了一个构建,然后安装到一个自定义位置[/home/usrname/programs/eclipse]。这是我唯一能让市场运转起来的方法。