How To Install gedit-plugin-smart-spaces on Ubuntu 18.04

In this tutorial we learn how to install gedit-plugin-smart-spaces on Ubuntu 18.04. gedit-plugin-smart-spaces is Smart Spaces plugin for gedit

Introduction

In this tutorial we learn how to install gedit-plugin-smart-spaces on Ubuntu 18.04.

What is gedit-plugin-smart-spaces

gedit-plugin-smart-spaces is:

gedit-plugins contain a set of plugins for gedit, GNOME’s text editor.

This plugin inserts spaces automatically when pressing the tab key.

There are three methods to install gedit-plugin-smart-spaces 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 gedit-plugin-smart-spaces 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-plugin-smart-spaces using apt-get by running the following command:

sudo apt-get -y install gedit-plugin-smart-spaces

Install gedit-plugin-smart-spaces Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gedit-plugin-smart-spaces

Install gedit-plugin-smart-spaces 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 gedit-plugin-smart-spaces using aptitude by running the following command:

sudo aptitude -y install gedit-plugin-smart-spaces

How To Uninstall gedit-plugin-smart-spaces on Ubuntu 18.04

To uninstall only the gedit-plugin-smart-spaces package we can use the following command:

sudo apt-get remove gedit-plugin-smart-spaces

Uninstall gedit-plugin-smart-spaces And Its Dependencies

To uninstall gedit-plugin-smart-spaces and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gedit-plugin-smart-spaces

Remove gedit-plugin-smart-spaces Configurations and Data

To remove gedit-plugin-smart-spaces configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gedit-plugin-smart-spaces

Remove gedit-plugin-smart-spaces configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gedit-plugin-smart-spaces

References

Summary

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