Search code examples
linuxeclipseubuntueclipse-cdt

How do you manually install the eclipse-CDT plugin from an archive/zip on ubuntu?


I have successfully installed Eclipse 3.5 and Java 1.5. I would like to install CDT without using Eclipse's "install new features" (nor can i use the Eclipse-CDT installer) option because this computer is offline.

What I did:

  1. I downloaded the archive of cdt from CDT's official download page.
  2. I used file-roller to unzip everything into the eclipse folder (the plugins/features now have a ton of cdt files)
  3. I started Eclipse with -clean
  4. When I clicked the New Project. The GUI dialog box did not show C/C++... and there was no C/C++ perspective

Eclipse appeared to have ignored my unzipping CDT.

Have you ever installed CDT using the offline archive?

What steps have I missed?


Solution

  • On eclipse 3.5, instead of unzipping onto the eclipse folder, try "Help" -> "Install New Software..." then "Add" and instead of typing an update site, choose "Archive". Then follow the instructions.