How To Install libgranite-7-7 on Debian 12

Learn how to install libgranite-7-7 on Debian 12 with this tutorial. libgranite-7-7 is extension of GTK4 libraries

Introduction

In this tutorial we learn how to install libgranite-7-7 on Debian 12.

What is libgranite-7-7

libgranite-7-7 is:

Granite-7 is an extension of GTK4. Among other things, it provides complex widgets and convenience functions designed for use in apps built for elementary OS.

This package contains the shared library.

There are three methods to install libgranite-7-7 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgranite-7-7 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgranite-7-7

Install libgranite-7-7 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgranite-7-7

Install libgranite-7-7 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgranite-7-7 using aptitude by running the following command:

sudo aptitude -y install libgranite-7-7

How To Uninstall libgranite-7-7 on Debian 12

To uninstall only the libgranite-7-7 package we can use the following command:

sudo apt-get remove libgranite-7-7

Uninstall libgranite-7-7 And Its Dependencies

To uninstall libgranite-7-7 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libgranite-7-7

Remove libgranite-7-7 Configurations and Data

To remove libgranite-7-7 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libgranite-7-7

Remove libgranite-7-7 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgranite-7-7

Dependencies

libgranite-7-7 have the following dependencies:

References

Summary

In this tutorial we learn how to install libgranite-7-7 package on Debian 12 using different package management tools: apt, apt-get and aptitude.