How To Install jenkins-debian-glue-buildenv on Ubuntu 18.04

In this tutorial we learn how to install jenkins-debian-glue-buildenv on Ubuntu 18.04. jenkins-debian-glue-buildenv is Jenkins Debian glue scripts - dependency package

Introduction

In this tutorial we learn how to install jenkins-debian-glue-buildenv on Ubuntu 18.04.

What is jenkins-debian-glue-buildenv

jenkins-debian-glue-buildenv is:

This package depends on all Debian packaging/repository management and VCS tools which may be used with jenkins-debian-glue for easier installation.

If disk space is a concern consider installing only the subset of packages you actually need.

There are three methods to install jenkins-debian-glue-buildenv 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 jenkins-debian-glue-buildenv Using apt-get

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

sudo apt-get update

After updating apt database, We can install jenkins-debian-glue-buildenv using apt-get by running the following command:

sudo apt-get -y install jenkins-debian-glue-buildenv

Install jenkins-debian-glue-buildenv Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jenkins-debian-glue-buildenv using apt by running the following command:

sudo apt -y install jenkins-debian-glue-buildenv

Install jenkins-debian-glue-buildenv 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 jenkins-debian-glue-buildenv using aptitude by running the following command:

sudo aptitude -y install jenkins-debian-glue-buildenv

How To Uninstall jenkins-debian-glue-buildenv on Ubuntu 18.04

To uninstall only the jenkins-debian-glue-buildenv package we can use the following command:

sudo apt-get remove jenkins-debian-glue-buildenv

Uninstall jenkins-debian-glue-buildenv And Its Dependencies

To uninstall jenkins-debian-glue-buildenv and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove jenkins-debian-glue-buildenv

Remove jenkins-debian-glue-buildenv Configurations and Data

To remove jenkins-debian-glue-buildenv configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge jenkins-debian-glue-buildenv

Remove jenkins-debian-glue-buildenv configuration, data, and all of its dependencies

We can use the following command to remove jenkins-debian-glue-buildenv configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jenkins-debian-glue-buildenv

References

Summary

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