How To Install eclipse-cdt-autotools on Ubuntu 18.04
Introduction
In this tutorial we learn how to install eclipse-cdt-autotools
on Ubuntu 18.04.
What is eclipse-cdt-autotools
eclipse-cdt-autotools is:
The Autotools suite of plugins adds to the CDT a support for building and maintaining C/C++ projects that use Autotools. With this additional support, a vast repository of C/C++ code can be checked out, built, and maintained under the CDT rather easily without having to resort to the command line.
In conjunction with the CDT, the plugin can do the following:
- Build a C/C++ project that uses a configure script or an autogen script or a Makefile.cvs script
- Create a simple C or C++ hello world Autotools project via a template
- Allow configuration parameters to be set via a gui and to rebuild when configuration parameters are changed
- Colorized editing of configuration files such as configure.in, configure.ac, Makefile.am, and Makefile.in with full hover help for autoconf/automake macros
- Allow specification of multiple build configurations for a single project
- Run autotools such as autoconf, automake, or aclocal directly using a gui interface
- Includes hover help for autoconf and automake macros in the editors
There are three methods to install eclipse-cdt-autotools
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install eclipse-cdt-autotools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install eclipse-cdt-autotools
using apt-get
by running the following command:
sudo apt-get -y install eclipse-cdt-autotools
Install eclipse-cdt-autotools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install eclipse-cdt-autotools
using apt
by running the following command:
sudo apt -y install eclipse-cdt-autotools
Install eclipse-cdt-autotools Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install eclipse-cdt-autotools
using aptitude
by running the following command:
sudo aptitude -y install eclipse-cdt-autotools
How To Uninstall eclipse-cdt-autotools on Ubuntu 18.04
To uninstall only the eclipse-cdt-autotools
package we can use the following command:
sudo apt-get remove eclipse-cdt-autotools
Uninstall eclipse-cdt-autotools And Its Dependencies
To uninstall eclipse-cdt-autotools
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove eclipse-cdt-autotools
Remove eclipse-cdt-autotools Configurations and Data
To remove eclipse-cdt-autotools
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge eclipse-cdt-autotools
Remove eclipse-cdt-autotools configuration, data, and all of its dependencies
We can use the following command to remove eclipse-cdt-autotools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge eclipse-cdt-autotools
References
Summary
In this tutorial we learn how to install eclipse-cdt-autotools
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.