How To Install pdebuild on Ubuntu 18.04

In this tutorial we learn how to install pdebuild on Ubuntu 18.04. pdebuild is Eclipse PDE Build extension for Common Debian Build System

Introduction

In this tutorial we learn how to install pdebuild on Ubuntu 18.04.

What is pdebuild

pdebuild is:

pdebuild provides make scripts to build Eclipse features and plugins using the Eclipse PDE Build system. These scripts extend the Common Debian Build System.

Homepage http://debian-eclipse.wfrag.org/tracpy/wiki/PDEBuild

There are three methods to install pdebuild 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 pdebuild Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pdebuild using apt-get by running the following command:

sudo apt-get -y install pdebuild

Install pdebuild Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pdebuild using apt by running the following command:

sudo apt -y install pdebuild

Install pdebuild 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 pdebuild using aptitude by running the following command:

sudo aptitude -y install pdebuild

How To Uninstall pdebuild on Ubuntu 18.04

To uninstall only the pdebuild package we can use the following command:

sudo apt-get remove pdebuild

Uninstall pdebuild And Its Dependencies

To uninstall pdebuild and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove pdebuild

Remove pdebuild Configurations and Data

To remove pdebuild configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pdebuild

Remove pdebuild configuration, data, and all of its dependencies

We can use the following command to remove pdebuild configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pdebuild

References

Summary

In this tutorial we learn how to install pdebuild package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.