How To Install libosinfo-l10n on Ubuntu 18.04

In this tutorial we learn how to install libosinfo-l10n on Ubuntu 18.04. libosinfo-l10n is Translations for libosinfo

Introduction

In this tutorial we learn how to install libosinfo-l10n on Ubuntu 18.04.

What is libosinfo-l10n

libosinfo-l10n is:

libosinfo is a GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support. It includes a database containing device metadata and provides APIs to match/identify optimal devices for deploying an operating system on a hypervisor.

This package contains the libosinfo translations.

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

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

sudo apt-get update

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

sudo apt-get -y install libosinfo-l10n

Install libosinfo-l10n Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libosinfo-l10n

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

sudo aptitude -y install libosinfo-l10n

How To Uninstall libosinfo-l10n on Ubuntu 18.04

To uninstall only the libosinfo-l10n package we can use the following command:

sudo apt-get remove libosinfo-l10n

Uninstall libosinfo-l10n And Its Dependencies

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

sudo apt-get -y autoremove libosinfo-l10n

Remove libosinfo-l10n Configurations and Data

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

sudo apt-get -y purge libosinfo-l10n

Remove libosinfo-l10n configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libosinfo-l10n

References

Summary

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