How To Install ruby-kitchen-docker on Debian 10

Learn how to install ruby-kitchen-docker on Debian 10 with this tutorial. ruby-kitchen-docker is Docker Driver for Test Kitchen

Introduction

In this tutorial we learn how to install ruby-kitchen-docker on Debian 10.

What is ruby-kitchen-docker

ruby-kitchen-docker is:

A Docker Driver for Test Kitchen.

Test Kitchen is a test harness tool to execute your configured code on one or more platforms in isolation. A driver plugin architecture is used which lets you run your code on various cloud providers and virtualization technologies such as Amazon EC2, Blue Box, CloudStack, Digital Ocean, Rackspace, OpenStack, Vagrant, Docker, LXC containers, and more. Many testing frameworks are already supported out of the box including Bats, shUnit2, RSpec, Serverspec, with others being created weekly.

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

Install ruby-kitchen-docker Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ruby-kitchen-docker

Install ruby-kitchen-docker Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ruby-kitchen-docker using apt by running the following command:

sudo apt -y install ruby-kitchen-docker

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

sudo aptitude -y install ruby-kitchen-docker

How To Uninstall ruby-kitchen-docker on Debian 10

To uninstall only the ruby-kitchen-docker package we can use the following command:

sudo apt-get remove ruby-kitchen-docker

Uninstall ruby-kitchen-docker And Its Dependencies

To uninstall ruby-kitchen-docker and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove ruby-kitchen-docker

Remove ruby-kitchen-docker Configurations and Data

To remove ruby-kitchen-docker configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ruby-kitchen-docker

Remove ruby-kitchen-docker configuration, data, and all of its dependencies

We can use the following command to remove ruby-kitchen-docker configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ruby-kitchen-docker

Dependencies

ruby-kitchen-docker have the following dependencies:

References

Summary

In this tutorial we learn how to install ruby-kitchen-docker package on Debian 10 using different package management tools: apt, apt-get and aptitude.