2011-11-06 74 views
0

我已經安裝了靛藍Eclipse在Ubuntu的(虛擬機)用下面的命令早些時候成功:沒能之後,從Ubuntu的完全卸載安裝C++日食靛藍11.10

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。當我運行上面的命令,它根本不順利,在下面的執行停止:

[email protected]:~$ 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) ... 
[email protected]:~$ 

嘗試了這麼久(與重新啓動垂直框很多次),但沒有運氣。你能幫幫我:

  1. 如何安裝Eclipse用於C++(我認爲靛藍)命令行 喜歡早期我做?
  2. 如果命令行不起作用,那麼最新的C++ eclipse站點是什麼?
  3. 如何爲此日蝕安裝適當的CDT,以便它可以用於調試(這是我的根本問題) ?

回答

0

我最近從apt安裝了一些問題(Ubuntu 11.10)。我最終從here下載了一個版本,然後安裝到自定義位置[/ home/usrname/programs/eclipse]。這是我能夠讓市場開展工作的唯一途徑。