How to Install LaTeX Editor TeXstudio 4.0.0 in Ubuntu 20.04 / 21.10

Last updated: September 26, 2021 — Leave a comment

The open-source LaTeX editor TeXstudio 4.0.0 was released! Here’s how to install it in Ubuntu via PPA repository.

TeXstudio 4.0.0 offers Qt6 support which should improve HiDPI handling. And the official packages for Windows and macOS are now based on Qt6, while Linux build sticks to Qt5.

The final release is out after 8 alpha, 3 beta and 2 release candidate tests, though it’s announced only with following changes:

  • Adapt to Qt6/poppler-qt6
  • OSX/win build provided with Qt6
  • Remodel structure handling in order to avoid (rare) crashes
  • More and updated completion word lists thanks to mbertucci47
  • Handle text (e.g. \text{text}) in mathenv as text with spell checking
  • Performance improvement for large files with large number of labels and/or large number of includes
  • Fix that search options are persistant
  • Automatic structure scrolling can be turned off
  • Some bug fixes

How to Install TeXstudio 4.0.0 in Ubuntu:

The LaTeX editor has an official Ubuntu PPA that contains the latest packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, and their derivatives, e.g, Linux Mint 20, Zorin OS 16, and Elementary OS 6.

1.) Add the PPA.

Firstly, open terminal by either searching from upper left corner Activities overview screen, or pressing Ctrl+Alt+T key combination on keyboard. When terminal opens, paste the command below and run to add the PPA:

sudo add-apt-repository ppa:sunderme/texstudio

Type user password (no visual feedback) when it asks and hit Enter to continue

2.) Update system package cache.

For Ubuntu 18.04 and some distributions, e.g., Linux Mint, you need to manually refresh the package cache by running command in terminal (though it’s done automatically in Ubuntu 20.04 & higher):

sudo apt update

3.) Install / Upgrade TeXstudio

Finally, either install the LaTeX editor by running apt command in terminal:

sudo apt install texstudio

Or, use “Software Updater” (Update Manager) utility to upgrade the package if an old version was installed.

Uninstall TeXstudio & Remove PPA:

To uninstall the editor package, simply run apt command with remove flag in terminal:

sudo apt remove --autoremove texstudio

And remove the Ubuntu PPA either by running command:

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

or open and navigate to ‘Software & Updates’ -> ‘Other Software’ and remove the relevant repository line.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

No Comments

Be the first to start the conversation.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.