How To Install os-autoinst on Ubuntu 18.04
Introduction
In this tutorial we learn how to install os-autoinst on Ubuntu 18.04.
What is os-autoinst
os-autoinst is:
The OS-autoinst project aims at providing a means to run fully automated tests. Especially to run tests of basic and low-level operating system components such as bootloader, kernel, installer and upgrade, which can not easily and safely be tested with other automated testing frameworks. However, it can just as well be used to test firefox and openoffice operation on top of a newly installed OS.
os-autoinst can be executed alone, but is currently designed to be executed together with openQA, the web user interface that allows one to run more than one os-autoinst instance at the same time.
There are three methods to install os-autoinst 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 os-autoinst Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install os-autoinst using apt-get by running the following command:
sudo apt-get -y install os-autoinst
Install os-autoinst Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install os-autoinst using apt by running the following command:
sudo apt -y install os-autoinst
Install os-autoinst 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 os-autoinst using aptitude by running the following command:
sudo aptitude -y install os-autoinst
How To Uninstall os-autoinst on Ubuntu 18.04
To uninstall only the os-autoinst package we can use the following command:
sudo apt-get remove os-autoinst
Uninstall os-autoinst And Its Dependencies
To uninstall os-autoinst and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove os-autoinst
Remove os-autoinst Configurations and Data
To remove os-autoinst configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge os-autoinst
Remove os-autoinst configuration, data, and all of its dependencies
We can use the following command to remove os-autoinst configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge os-autoinst
References
Summary
In this tutorial we learn how to install os-autoinst package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.