How To Install gedit-latex-plugin on Ubuntu 18.04

In this tutorial we learn how to install gedit-latex-plugin on Ubuntu 18.04. gedit-latex-plugin is gedit plugin for composing and compiling LaTeX documents

Introduction

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

What is gedit-latex-plugin

gedit-latex-plugin is:

This plugin assist you in a number of task:

  • Code Completion: if you type a prefix it shows you all matching commands and the structure and meaning of their arguments. If possible it shows options for the argument the cursor is in.
  • Assistants: there are several assistants for frequent tasks like creating the body of a new LaTeX file, inserting a graphics, inserting a table or a matrix, inserting source code listings, inserting BibTeX entries.
  • BibTeX Integration: an outline view is created for BibTeX files and the LaTeX completion is aware of bibliographies included per \bibliography and proposes their entries at the \cite command. BibTeX entries may be inserted with the help of a dialog.
  • Build System: The build system uses profiles like “PDF”, “DVI” or “PostScript”. Per default the plugin uses rubber for automated document compiling, but you may create your own profiles invoking the LaTeX command chain directly.

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

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

Install gedit-latex-plugin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gedit-latex-plugin

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

sudo aptitude -y install gedit-latex-plugin

How To Uninstall gedit-latex-plugin on Ubuntu 18.04

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

sudo apt-get remove gedit-latex-plugin

Uninstall gedit-latex-plugin And Its Dependencies

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

sudo apt-get -y autoremove gedit-latex-plugin

Remove gedit-latex-plugin Configurations and Data

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

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

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

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

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

References

Summary

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