Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1408  / 2 Years ago, thu, october 27, 2022, 6:02:06

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:




  1. How to install eclipse for C++ (I think indigo) from command line
    like earlier I did ?

  2. If command line is not working then what is the latest C++ eclipse
    site to get it ?

  3. How to install proper CDT for this eclipse so that it can be used
    nicely for debugging (which was my root problem) ?


More From » 11.10

 Answers
0

The nice thing about Eclipse IDE is that you don't need to install it. When you download Eclipse you get a zip file that you can unzip to somewhere in your home directory and just execute it from that directory.

If you will visit the Eclipse downloads site you will see a list of available packages where you can choose the Eclipse IDE for C/C++ Developers (32/64 bit) and download the zip file.



You'll also get the latest version (v3.7.2) which is newer than what you'll find in the repository.


[#42261] Thursday, October 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionavocad

Total Points: 189
Total Questions: 101
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
tionavocad questions
Tue, May 23, 23, 00:07, 1 Year ago
Tue, Jan 17, 23, 20:38, 1 Year ago
Sun, Oct 10, 21, 04:50, 3 Years ago
Tue, Jun 7, 22, 08:50, 2 Years ago
;