How To Install gedit-common on Kali Linux

In this tutorial we learn how to install gedit-common on Kali Linux. gedit-common is official text editor of the GNOME desktop environment (support files)

Introduction

In this tutorial we learn how to install gedit-common on Kali Linux.

What is gedit-common

gedit-common is:

gedit is a text editor which supports most standard editor features, extending this basic functionality with other features not usually found in simple text editors.

This package contains gedit’s architecture-independent support files.

There are three methods to install gedit-common on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gedit-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gedit-common

Install gedit-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gedit-common

Install gedit-common Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install gedit-common

How To Uninstall gedit-common on Kali Linux

To uninstall only the gedit-common package we can use the following command:

sudo apt-get remove gedit-common

Uninstall gedit-common And Its Dependencies

To uninstall gedit-common and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gedit-common

Remove gedit-common Configurations and Data

To remove gedit-common configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gedit-common

Remove gedit-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gedit-common

Dependencies

gedit-common have the following dependencies:

References

Summary

In this tutorial we learn how to install gedit-common package on Kali Linux using different package management tools: apt, apt-get and aptitude.