How To Install libgsecuredelete0 on Ubuntu 18.04

In this tutorial we learn how to install libgsecuredelete0 on Ubuntu 18.04. libgsecuredelete0 is wrapper library for the secure-delete tools

Introduction

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

What is libgsecuredelete0

libgsecuredelete0 is:

GSecureDelete is a GObject wrapper library for the secure-delete tools (srm, sfill, sswap and smem), aiming to ease use of these tool from programs by providing a simple but complete API to invoke them.

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

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

sudo apt-get update

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

sudo apt-get -y install libgsecuredelete0

Install libgsecuredelete0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgsecuredelete0

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

sudo aptitude -y install libgsecuredelete0

How To Uninstall libgsecuredelete0 on Ubuntu 18.04

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

sudo apt-get remove libgsecuredelete0

Uninstall libgsecuredelete0 And Its Dependencies

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

sudo apt-get -y autoremove libgsecuredelete0

Remove libgsecuredelete0 Configurations and Data

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

sudo apt-get -y purge libgsecuredelete0

Remove libgsecuredelete0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgsecuredelete0

References

Summary

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