How To Install eclipse-egit-mylyn on Ubuntu 18.04

In this tutorial we learn how to install eclipse-egit-mylyn on Ubuntu 18.04. eclipse-egit-mylyn is Mylyn integration for EGit

Introduction

In this tutorial we learn how to install eclipse-egit-mylyn on Ubuntu 18.04.

What is eclipse-egit-mylyn

eclipse-egit-mylyn is:

This plugin allows one to create links between Git commits and Mylyn tasks. It includes these functions:

  • Pre-populating of the commit message with name, ID and status of active Mylyn task.
  • Add files changed in a particular commit into active task’s context.
  • From Git History view, open a task corresponding to a commit.

There are three methods to install eclipse-egit-mylyn 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-egit-mylyn 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-egit-mylyn using apt-get by running the following command:

sudo apt-get -y install eclipse-egit-mylyn

Install eclipse-egit-mylyn Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install eclipse-egit-mylyn using apt by running the following command:

sudo apt -y install eclipse-egit-mylyn

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

sudo aptitude -y install eclipse-egit-mylyn

How To Uninstall eclipse-egit-mylyn on Ubuntu 18.04

To uninstall only the eclipse-egit-mylyn package we can use the following command:

sudo apt-get remove eclipse-egit-mylyn

Uninstall eclipse-egit-mylyn And Its Dependencies

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

sudo apt-get -y autoremove eclipse-egit-mylyn

Remove eclipse-egit-mylyn Configurations and Data

To remove eclipse-egit-mylyn configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge eclipse-egit-mylyn

Remove eclipse-egit-mylyn configuration, data, and all of its dependencies

We can use the following command to remove eclipse-egit-mylyn configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge eclipse-egit-mylyn

References

Summary

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