OpenSUSE Leap 15: Install Eclipse CDT for C/C++ development

This article will describe installing Eclipse CDT.

1 Install Eclipse

Install packages for running Eclipse CDT.

> sudo zypper -n in patterns-devel-C-C++-devel_C_C++

Download Eclipse installer.

> URL=https://www.eclipse.org/downloads/download.php
> ECLIPSE=/oomph/epp/oxygen/R/eclipse-inst-linux64.tar.gz
> MIRROR=1
> wget -q -O eclipse-inst-linux64.tar.gz \
       "${URL}?file=${ECLIPSE}&mirror_id=${MIRROR}"
> tar zxf eclipse-inst-linux64.tar.gz

Run Eclipse installer.

> ./eclipse-installer/eclipse-inst

Select "Eclipse IDE for C/C++ Developers".

0001_SelectType.png

Decide install directory and press "INSTALL".

0002_InstallationFolder.png

Accept license with pressing "Accept".

0003_AcceptLicenses.png.png

Select all cetifications and press "Accept selected".

0004_TrustCertificates.png

Eclipse installation is completed. Pressing "LAUNCH" runs Eclipse.

0005_InstallationCompleted.png

You can remove Eclipse installer.

> rm -rf eclipse-inst-linux64.tar.gz eclipse-installer

2 Run Eclipse

Run the following command.

> ./eclipse/cpp-oxygen/eclipse/eclipse

0006_Eclipse.png