How To Install libgirepository-1.0-1 on Ubuntu 20.04

In this tutorial we learn how to install libgirepository-1.0-1 on Ubuntu 20.04. libgirepository-1.0-1 is Library for handling GObject introspection data (runtime library) Library for handling GObject introspection data (runtime library)

Introduction

In this tutorial we learn how to install libgirepository-1.0-1 on Ubuntu 20.04.

What is libgirepository-1.0-1

libgirepository-1.0-1 is:

GObject Introspection is a project for providing machine readable introspection data of the API of C libraries. This introspection data can be used in several different use cases, for example automatic code generation for bindings, API verification and documentation generation.

GObject Introspection contains tools to generate and handle the introspection data.

This package contains a C library for handling the introspection data. Task: minimal

Package: libgirepository-1.0-1 Architecture: amd64 Version: 1.64.0-2 Multi-Arch: same Priority: important Section: libs Source: gobject-introspection Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 257 Depends: libglib2.0-0 (>= 2.62.4-2~), libc6 (>= 2.29), libffi7 (>= 3.3~20180313) Breaks: libcjs0 (« 4.4.0-2~), libgjs0g (« 1.58.1-2~), libglib-object-introspection-perl (« 0.048-2~), python-gi (« 3.34.0-4~), python3-gi (« 3.34.0-4~), ruby-gobject-introspection (« 3.4.1-2~) Filename: pool/main/g/gobject-introspection/libgirepository-1.0-1_1.64.0-2_amd64.deb Size: 85628 MD5sum: c40a97ca118ceca2d5b861fd729d82a9 SHA1: 42120a8975ad0bbdeea0806e6d444e0d9d15615d SHA256: 87d36818bef7c968c9a59f465284730567c8dc9d16cdfce4cd39940f17efbb7e Homepage: https://wiki.gnome.org/GObjectIntrospection Description-en: Library for handling GObject introspection data (runtime library) GObject Introspection is a project for providing machine readable introspection data of the API of C libraries. This introspection data can be used in several different use cases, for example automatic code generation for bindings, API verification and documentation generation.

GObject Introspection contains tools to generate and handle the introspection data.

This package contains a C library for handling the introspection data. Task: minimal

There are three methods to install libgirepository-1.0-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 libgirepository-1.0-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 libgirepository-1.0-1 using apt-get by running the following command:

sudo apt-get -y install libgirepository-1.0-1

Install libgirepository-1.0-1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgirepository-1.0-1 using apt by running the following command:

sudo apt -y install libgirepository-1.0-1

Install libgirepository-1.0-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 libgirepository-1.0-1 using aptitude by running the following command:

sudo aptitude -y install libgirepository-1.0-1

How To Uninstall libgirepository-1.0-1 on Ubuntu 20.04

To uninstall only the libgirepository-1.0-1 package we can use the following command:

sudo apt-get remove libgirepository-1.0-1

Uninstall libgirepository-1.0-1 And Its Dependencies

To uninstall libgirepository-1.0-1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libgirepository-1.0-1

Remove libgirepository-1.0-1 Configurations and Data

To remove libgirepository-1.0-1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgirepository-1.0-1

Remove libgirepository-1.0-1 configuration, data, and all of its dependencies

We can use the following command to remove libgirepository-1.0-1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgirepository-1.0-1

References

Summary

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