How to Install Eclipse for C++ on Linux?
Last Updated :
16 Oct, 2021
Eclipse is an IDE (integrated development environment) used for building software. It was initially released by IBM on 7 November 2001. Using eclipse, we can develop applications with Java, PHP, and C/C++ programming languages. It's one of the most popular open-source IDE among developers. In today's article, we are going to cover how we can install Eclipse for C/C++ Developers to develop applications in C or C++ on a Linux machine.
Installing Eclipse for C++ on Linux:
Follow the below step-by-step guide to install Eclipse for C/C++:
Step 1: Download the eclipse launcher by going through this link:
downloading the eclipse
Step 2: Extract the downloaded file using the following command:
tar -xvf eclipse-cpp-2021-09-R-linux-gtk-x86_54.tar.gz
The tar is a utility tool to make operations on archives, to extract, to make, to list, and to rename the archives. Here, -xvf flag stands for extract, verbose, and file.
Extracting
Step 3: Navigate to the extracted folder and run the following commands to install Alacarte menu that will help us to create a desktop shortcut for Eclipse.
After extracting the eclipse installer, create a shortcut for the launcher:
Alacarte is a menu editor for the GNOME desktop. It is written in Python. It has been part of GNOME since the 2.16 release. To install the Alacarte for creating a custom shortcut icon.
sudo apt-get install alacarte
installing alacarte
Step 4: Configuring the shortcut by running the alacarte:
alacarte
Creating shortcut
In the first step click on the New item button on the right side, a pop-up window will open as in the above figure. Select executable from the extracted folder and click on the ok button. This will create a shortcut application in the programs.
Step 5: To launch the eclipse simple search for Eclipse, a icon will appear and click enter. This will launch the Eclipse IDE.
Eclipse installed
Similar Reads
How to Install Eclipse For PHP on Linux? Eclipse is a free open source platform, Integrated Development Environment (IDE) with the help of which applications are made using the Java programming languages and other programming languages are also used such as C/C++, PERL, Python, Ruby, etc. It is composed of many plug-ins and is designed to
1 min read
How to Install Code Blocks for C++ on Linux? Code::Blocks is a free IDE( an integrated development environment), for C/C++ and FORTRAN languages. It is a cross-platform IDE and available for Windows, Mac, and Linux, In this article, we are going to discuss various methods using which we can install Code Blocks on Linux.: Installation Code Bloc
2 min read
How to Install Eclipse for C++ in MacOS? C++ is basically a programming language. It is an Object-Oriented Programming Language. That means here we can use classes, objects, and other useful items. For developing purposes C++ is widely used. For this reason, we need to have an IDE. Eclipse is an IDE. It is used for many programming languag
2 min read
How to Install Eclipse for PHP on MacOS? Eclipse is a free open source platform, Integrated Development Environment (IDE) with the help of which applications are made using the Java programming languages and other programming languages are also used such as C/C++, PERL, Python, Ruby, etc. It is composed of many plug-ins and is designed to
1 min read
How To Install Qt Creator On Linux? Qt Creator is a cross-platform C++, JavaScript, and QML integrated environment that simplifies GUI application development. It is currently available for Windows, macOS, and Linux. It is part of the SDK for the Qt GUI application development framework and uses the Qt API, which encapsulates host OS
2 min read