How To Install gir1.2-lightdm-1 on Ubuntu 20.04

In this tutorial we learn how to install gir1.2-lightdm-1 on Ubuntu 20.04. gir1.2-lightdm-1 is Typelib file for liblightdm-1 Typelib file for liblightdm-1

Introduction

In this tutorial we learn how to install gir1.2-lightdm-1 on Ubuntu 20.04.

What is gir1.2-lightdm-1

gir1.2-lightdm-1 is:

A GObject based library for LightDM clients to use to interface with LightDM.

Package: gir1.2-lightdm-1 Architecture: amd64 Version: 1.30.0-0ubuntu3.1 Multi-Arch: same Priority: optional Section: universe/introspection Source: lightdm Origin: Ubuntu Maintainer: Robert Ancell [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 59 Depends: liblightdm-gobject-1-0 (= 1.30.0-0ubuntu3.1) Filename: pool/universe/l/lightdm/gir1.2-lightdm-1_1.30.0-0ubuntu3.1_amd64.deb Size: 5924 MD5sum: 2421ab8dd16d82e86e9d6d5aec1d072e SHA1: 5adbe7043b6f2e6c344ca21b1f88efd9240b6239 SHA256: d4af72ad26ef8247899fa7e7faefe102f14753b299594d90bca83f7c475f69b2 Homepage: https://github.com/canonical/lightdm Description-en: Typelib file for liblightdm-1 A GObject based library for LightDM clients to use to interface with LightDM.

There are three methods to install gir1.2-lightdm-1 on Ubuntu 20.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 gir1.2-lightdm-1 Using apt-get

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

sudo apt-get update

After updating apt database, We can install gir1.2-lightdm-1 using apt-get by running the following command:

sudo apt-get -y install gir1.2-lightdm-1

Install gir1.2-lightdm-1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gir1.2-lightdm-1 using apt by running the following command:

sudo apt -y install gir1.2-lightdm-1

Install gir1.2-lightdm-1 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 gir1.2-lightdm-1 using aptitude by running the following command:

sudo aptitude -y install gir1.2-lightdm-1

How To Uninstall gir1.2-lightdm-1 on Ubuntu 20.04

To uninstall only the gir1.2-lightdm-1 package we can use the following command:

sudo apt-get remove gir1.2-lightdm-1

Uninstall gir1.2-lightdm-1 And Its Dependencies

To uninstall gir1.2-lightdm-1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove gir1.2-lightdm-1

Remove gir1.2-lightdm-1 Configurations and Data

To remove gir1.2-lightdm-1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gir1.2-lightdm-1

Remove gir1.2-lightdm-1 configuration, data, and all of its dependencies

We can use the following command to remove gir1.2-lightdm-1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gir1.2-lightdm-1

References

Summary

In this tutorial we learn how to install gir1.2-lightdm-1 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.