How To Install autopilot-touch-legacy on Ubuntu 18.04

In this tutorial we learn how to install autopilot-touch-legacy on Ubuntu 18.04. autopilot-touch-legacy is Autopilot support for the ubuntu Touch platform

Introduction

In this tutorial we learn how to install autopilot-touch-legacy on Ubuntu 18.04.

What is autopilot-touch-legacy

autopilot-touch-legacy is:

This metapackage exists to depend on the packages needed to install and use autopilot on the Ubuntu Touch platform.

This is the legacy Python 2 support.

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

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

sudo apt-get update

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

sudo apt-get -y install autopilot-touch-legacy

Install autopilot-touch-legacy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install autopilot-touch-legacy using apt by running the following command:

sudo apt -y install autopilot-touch-legacy

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

sudo aptitude -y install autopilot-touch-legacy

How To Uninstall autopilot-touch-legacy on Ubuntu 18.04

To uninstall only the autopilot-touch-legacy package we can use the following command:

sudo apt-get remove autopilot-touch-legacy

Uninstall autopilot-touch-legacy And Its Dependencies

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

sudo apt-get -y autoremove autopilot-touch-legacy

Remove autopilot-touch-legacy Configurations and Data

To remove autopilot-touch-legacy configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge autopilot-touch-legacy

Remove autopilot-touch-legacy configuration, data, and all of its dependencies

We can use the following command to remove autopilot-touch-legacy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge autopilot-touch-legacy

References

Summary

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