How to Install and use TeXstudio in Ubuntu 20.04?

The Latex typesetting system is a great help for the editing and creation of scientific books and other publications. So it is widely used in various operating systems by content creators. To use it properly you should have a text editor that supports it. So today you will learn how to install TeXstudio on Ubuntu 20.04 so you can get the most out of Latex.

Before learning how to install TeXstudio you should first know what Latex is.

According to its website:

LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents.

Thus it is quite common to find it as the mechanism for the creation of books or scientific publications.

To use LAtex you have to install a compiler that interprets the syntax but also a text editor.

TeXstudio comes into play

To take advantage of Latex you need a text editor that can provide an ideal environment. This is where TeXstudio comes in

TeXstudio is an integrated writing environment for creating LaTeX documents. Our goal is to make writing LaTeX as easy and comfortable as possible. Therefore TeXstudio has numerous features like syntax-highlighting, integrated viewer, reference checking, and various assistants.

Some of the main features of TeXstudio are:

  • Interactive spellchecker
  • Interactive grammar checker
  • Built-in support for various LaTeX compilers, index, bibliography and glossary tools, Latexmk, and many more
  • Automatic detection of the need for multiple LaTeX runs
  • Open Source
  • Cross-platform
  • Integrated PDF viewer with (almost) word-level syncing
  • Live-updating inline preview for formulas and code segments

So TeXstudio is a great option in case you want to start working with Latex.

Install TeXstudio on Ubuntu 20.04

Thanks to the good support that the developers maintain for the application it is possible to install it on Ubuntu 20.04 without major problems. You can even choose several ways to do it.

Method 1: Using the Official repository

The Debian and Ubuntu repositories are among the largest in Linux, except Arch Linux. So it is not strange that TeXstudio is also available in them.

First, open a terminal and refresh the cache and the list of available packages.

sudo apt update

After that, you can install TeXstudio.

sudo apt install texstudio

Entering the password will start the installation and when it finishes you will be able to run it from the main menu.

Method 2: Getting the latest version of TeXstudio

The previous method is quite secure but does not give us the possibility to install the latest stable version. And considering that TeXstudio has a very active development it can be a problem.

So if you want to have the latest stable version of the application you can do it by adding the developer’s PPA.

To do this, just type the following commands in the terminal:

sudo add-apt-repository ppa:sunderme/texstudio
sudo apt update

And finally:

sudo apt install texstudio

Then you can run it from the main menu.

The TeXstudio interface in Ubuntu 20.04

As soon as you start the application from the main menu, you can see the graphical interface of the application.

As you can notice it is composed of several panels. The one on the left is the one with the structure and nomenclatures.

In the middle we have the editor as such and above it the main toolbar where the immediate actions are located.

The TeXstudio interface
The TeXstudio interface

You can also take a look at the preferences.

The app preferences
The app preferences

Within it you have a lot that you can modify including a color scheme or the various Shortcuts.

Removing TeXstudio

If you decide to remove TeXstudio from the system, you can do so from the terminal by running

sudo apt remove texstudio

If you have added the repository then it is a good idea to remove it as well.

sudo add-apt-repository --remove ppa:sunderme/texstudio

This way neither the application nor the repository will be present.

Conclusion

Latex solves problems of writing scientific experiments so it is widely used by this sector. However, to take full advantage of it, a powerful and lightweight editor like TeXstudio is required. Now in this post, you have learned how to install it without problems and choosing the method you like the most.

TeXstudio is emerging as one of the best applications that make use of Latex. This combination of being so powerful and versatile yet lightweight makes it ideal for many environments.

So, what do you think about TeXstudio? do you like it? do you use Latex? Leave us a comment and share the post.

 

Scroll to Top