How To Install gedit-plugin-synctex on Ubuntu 18.04

In this tutorial we learn how to install gedit-plugin-synctex on Ubuntu 18.04. gedit-plugin-synctex is SyncTex plugin for gedit

Introduction

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

What is gedit-plugin-synctex

gedit-plugin-synctex is:

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

This plugin synchronizes between LaTex (using gedit) and PDF (using evince).

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

sudo apt-get -y install gedit-plugin-synctex

Install gedit-plugin-synctex Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gedit-plugin-synctex

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

sudo aptitude -y install gedit-plugin-synctex

How To Uninstall gedit-plugin-synctex on Ubuntu 18.04

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

sudo apt-get remove gedit-plugin-synctex

Uninstall gedit-plugin-synctex And Its Dependencies

To uninstall gedit-plugin-synctex 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-synctex

Remove gedit-plugin-synctex Configurations and Data

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

sudo apt-get -y purge gedit-plugin-synctex

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

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

sudo apt-get -y autoremove --purge gedit-plugin-synctex

References

Summary

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