How To Install subiquity-tools on Ubuntu 18.04

In this tutorial we learn how to install subiquity-tools on Ubuntu 18.04. subiquity-tools is Ubuntu Server Installer

Introduction

In this tutorial we learn how to install subiquity-tools on Ubuntu 18.04.

What is subiquity-tools

subiquity-tools is:

SUbiquity is an installer system for servers, embedded devices and desktops or laptops meant to build systems as quickly as possible for users to reach a point where their system is usable.

By default, subiquity provides a “first boot” experience that allows users to do initial system configuration such as adding users and login settings, along with doing basic network configuration. It can also be used to build a new system from the ground up, partitioning and copying a disk image to the storage device selected by the user.

This package provides the installer which all the necessary utilities to complete a new installation.

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

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

sudo apt-get update

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

sudo apt-get -y install subiquity-tools

Install subiquity-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install subiquity-tools

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

sudo aptitude -y install subiquity-tools

How To Uninstall subiquity-tools on Ubuntu 18.04

To uninstall only the subiquity-tools package we can use the following command:

sudo apt-get remove subiquity-tools

Uninstall subiquity-tools And Its Dependencies

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

sudo apt-get -y autoremove subiquity-tools

Remove subiquity-tools Configurations and Data

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

sudo apt-get -y purge subiquity-tools

Remove subiquity-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge subiquity-tools

References

Summary

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