How To Install TexStudio On Ubuntu 25.04, Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems via PPA Or FlatPak

As you may know, TeXstudio is a free and open-source software that enables users to create LaTeX documents, as easy and comfortable as possible, similar to KDE’s Kile LaTex Editor.

Among other features, it has syntax-highlighting an integrated viewer, a reference checking feature and various assistance. To read a full list of features, check this page.

The latest version available is TexStudio 4.8.5, which comes with the below changes and enhancements, according to the changelog:

  • fix false delimiter mismatch marker which gets stuck under certain circumstances #489
  • fix label stop working when using subfigure package #3816
  • fix ai wizard conversation history #3820
  • fix colspec parsing #3831
  • fix user command handling in cached files #3828
  • fix label detection on memoir class #3829
  • fix crash when %Tex root document was not found
  • class are used for completion in documentclass
  • class names are not used anymore for package name completion
  • local packages can provide local cwl files ,see manual
  • fix handling of user definition commands in subfiles #3885
  • fix crash in preview tooltip if no pdflatex is defined #3875
  • handle special columntypes (m[l],NiceMatrix) better #3881
  • handle key/val completion in frame environment better #3846
  • fix caching of newly defined colornames
How To Install TexStudio On Ubuntu 25.04, Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems via PPA
How To Install TexStudio On Ubuntu 25.04, Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems via PPA

What is LaTex

LaTeX is a typesetting system used for creating high-quality technical and scientific documents. Unlike traditional word processors that use a WYSIWYG (What You See Is What You Get) approach, LaTeX relies on a markup language to structure documents. This allows for precise formatting control, making it ideal for academic papers, books, scientific articles, and documents containing complex mathematical formulas.

Originally developed by Leslie Lamport as an extension of the TeX system created by Donald Knuth, LaTeX is widely appreciated for its ability to manage references, bibliographies, tables, and figures automatically.

By using a code-based system, users define the structure of the document, while LaTeX takes care of the final layout, ensuring a consistent and professional presentation. This approach eliminates formatting issues and helps create clear and well-organized documents.

Another major advantage of LaTeX is its compatibility with numerous packages and extensions that enhance its functionality. Whether for writing research papers, theses, or even presentations, LaTeX provides a reliable and efficient way to produce professional-quality documents with minimal effort.

How To Install TexStudio 4.8.5 On Ubuntu 25.04, Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04, and Derivative Systems via PPA

(Optional) Step 0: Update Your System

Before installing TexStudio, it is recommended to update your system to ensure that you have the latest security patches and package updates. Run the following command:

sudo apt update && sudo apt upgrade -y

Step 1: Add the TexStudio PPA Repository

TexStudio is not always available in its latest version in Ubuntu’s default repositories, so to install the most recent version, you need to add the official Personal Package Archive (PPA). To do this, execute the following command:

sudo add-apt-repository ppa:sunderme/texstudio

Press Enter when prompted to confirm adding the repository. This will allow your system to fetch and install TexStudio from the PPA.

Step 2: Update the Package List

After adding the repository, update the package list so that Ubuntu recognizes the new software source:

sudo apt update

Step 3: Install TexStudio

Once the package list is updated, install TexStudio using the following command:

sudo apt install texstudio -y

The -y flag automatically confirms the installation, allowing the process to continue without manual input.

(Optional) Remove TexStudio

If you decide to uninstall TexStudio, use the following commands:

sudo apt remove texstudio -y

To completely remove TexStudio, including configuration files, use:

sudo apt purge texstudio -y

Additionally, to remove the repository that was added earlier, run:

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

Finally, clean up any unnecessary packages with:

sudo apt autoremove -y

How To Install TexStudio 4.8.5 On Ubuntu 25.04, Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04, and Derivative Systems via Flatpak

Flatpak is another package management system that allows applications to run in a secure and sandboxed environment. Unlike Snap, Flatpak is an open-source project supported by the Freedesktop community, making it a great alternative for installing software on Ubuntu and other Linux distributions.

One of the main advantages of Flatpak is that applications are distributed through Flathub, an independent repository, rather than Ubuntu-specific sources. However, because Flatpak apps include all necessary dependencies, they may consume more disk space.

Step 1: Install Flatpak and Add Flathub Repository

If Flatpak is not already installed on your system, you can install it by running:

sudo apt update
sudo apt install flatpak -y

Next, add the Flathub repository, which hosts thousands of Flatpak applications, including TexStudio:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Step 2: Install TexStudio via Flatpak

Once Flatpak is installed and Flathub is added, install TexStudio with the following command:

flatpak install flathub org.texstudio.TeXstudio

If you cannot find TexStudio in the search results, either log out and log back in or run:

flatpak run org.texstudio.TeXstudio

(Optional) Remove TexStudio Using Flatpak

To uninstall TexStudio installed via Flatpak, use:

flatpak uninstall --delete-data org.texstudio.TeXstudio

This ensures that all data related to TexStudio is also removed from your system.

That’s it! Enjoy using TexStudio on your Ubuntu system!

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *