How To Install moonshot-ui on Ubuntu 18.04

In this tutorial we learn how to install moonshot-ui on Ubuntu 18.04. moonshot-ui is Moonshot Identity Selector

Introduction

In this tutorial we learn how to install moonshot-ui on Ubuntu 18.04.

What is moonshot-ui

moonshot-ui is:

Project moonshot provides federated authentication using EAP, RADIUS and SAML to applications beyond the web platform. This package provides a service to manage the local identity store and to select which identity is used with a given service.

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

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

sudo apt-get update

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

sudo apt-get -y install moonshot-ui

Install moonshot-ui Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install moonshot-ui

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

sudo aptitude -y install moonshot-ui

How To Uninstall moonshot-ui on Ubuntu 18.04

To uninstall only the moonshot-ui package we can use the following command:

sudo apt-get remove moonshot-ui

Uninstall moonshot-ui And Its Dependencies

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

sudo apt-get -y autoremove moonshot-ui

Remove moonshot-ui Configurations and Data

To remove moonshot-ui configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge moonshot-ui

Remove moonshot-ui configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge moonshot-ui

References

Summary

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