How To Install debuerreotype on Ubuntu 20.04

In this tutorial we learn how to install debuerreotype on Ubuntu 20.04. debuerreotype is reproducible, snapshot-based Debian rootfs builder

Introduction

In this tutorial we learn how to install debuerreotype on Ubuntu 20.04.

What is debuerreotype

debuerreotype is:

A set of scripts for building reproducible Debian rootfs tarballs based on snapshot.debian.org, especially for the purposes of Docker base images.

The goal is to create an auditable, reproducible process for creating rootfs tarballs (especially for use in Docker) of Debian releases, based on point-in-time snapshots from snapshot.debian.org.

The only strictly Docker-specific script is debuerreotype-minimizing-config, which applies many configuration tweaks which are useful for Docker users and may or may not be useful outside of that context.

There are three methods to install debuerreotype on Ubuntu 20.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 debuerreotype Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install debuerreotype

Install debuerreotype Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install debuerreotype

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

sudo aptitude -y install debuerreotype

How To Uninstall debuerreotype on Ubuntu 20.04

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

sudo apt-get remove debuerreotype

Uninstall debuerreotype And Its Dependencies

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

sudo apt-get -y autoremove debuerreotype

Remove debuerreotype Configurations and Data

To remove debuerreotype configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge debuerreotype

Remove debuerreotype configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge debuerreotype

References

Summary

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