How To Install dcap-tunnel-gsi on Debian 9

In this tutorial we learn how to install dcap-tunnel-gsi on Debian 9. dcap-tunnel-gsi is GSI tunnel for dCache

Introduction

In this tutorial we learn how to install dcap-tunnel-gsi on Debian 9.

What is dcap-tunnel-gsi

dcap-tunnel-gsi is:

This package contains the gsi tunnel plugin library used by dcap. This library is dynamically loaded at runtime.

There are three methods to install dcap-tunnel-gsi on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install dcap-tunnel-gsi Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dcap-tunnel-gsi

Install dcap-tunnel-gsi Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dcap-tunnel-gsi using apt by running the following command:

sudo apt -y install dcap-tunnel-gsi

Install dcap-tunnel-gsi 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install dcap-tunnel-gsi using aptitude by running the following command:

sudo aptitude -y install dcap-tunnel-gsi

How To Uninstall dcap-tunnel-gsi on Debian 9

To uninstall only the dcap-tunnel-gsi package we can use the following command:

sudo apt-get remove dcap-tunnel-gsi

Uninstall dcap-tunnel-gsi And Its Dependencies

To uninstall dcap-tunnel-gsi and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove dcap-tunnel-gsi

Remove dcap-tunnel-gsi Configurations and Data

To remove dcap-tunnel-gsi configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge dcap-tunnel-gsi

Remove dcap-tunnel-gsi configuration, data, and all of its dependencies

We can use the following command to remove dcap-tunnel-gsi configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dcap-tunnel-gsi

Dependencies

dcap-tunnel-gsi have the following dependencies:

References

Summary

In this tutorial we learn how to install dcap-tunnel-gsi package on Debian 9 using different package management tools: apt, apt-get and aptitude.