How To Install sen on Ubuntu 18.04

In this tutorial we learn how to install sen on Ubuntu 18.04. sen is Terminal user interface for docker engine

Introduction

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

What is sen

sen is:

sen is a terminal user interface for docker engine:

  • it can interactively manage your containers and images:
    • manage? start, stop, restart, kill, delete,…
  • you are able to inspect containers and images
  • sen can fetch logs of containers and even stream logs real-time
  • all buffers support searching and filtering
  • sen receives real-time updates from docker when anything changes
    • e.g. if you create a container in another terminal, sen will pick it up
  • sen notifies you whenever something happens (and reports slow queries)
  • supports a lot of vim-like keybindings (j, k, gg, /, …)
  • there is a special buffer which display detailed info about images
  • you can get interactive tree view of all images (equivalent of docker images –tree)

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

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

sudo apt-get update

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

sudo apt-get -y install sen

Install sen Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sen

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

sudo aptitude -y install sen

How To Uninstall sen on Ubuntu 18.04

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

sudo apt-get remove sen

Uninstall sen And Its Dependencies

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

sudo apt-get -y autoremove sen

Remove sen Configurations and Data

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

sudo apt-get -y purge sen

Remove sen configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sen

References

Summary

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