How to Install TeXworks on Fedora 36 Linux

TeXworks is a TeX document editor application that comes with pdfTeX, pdfLaTex, LuaTex, LuaLaTex, BibTex MakeIndex and XeTeX typesetting engines support. It generates PDF documents as the default formatted output. You can also configure a processing path based on DVI. It comes with a build-in integrated PDF viewer source/preview synchronization support.

Suppose you are looking for an open-source TeX document editor application with additional typesetting engine support to generate PDF documents as the default formatted output. In that case, Texworks should be your go-to choice.

In the following tutorial, you will learn how to install the latest version of TeXworks on Fedora 36 Linux using two different methods of Fedora’s repository using the DNF package manager or the natively installed Flatpak third-party manager using the command line terminal. The tutorial will also show quick tips on how to update using the command line terminal and if need be remove the software.

Update Fedora Linux

The first step is to make sure your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.

sudo dnf upgrade --refresh

Install TeXworks TeX Document Editor – DNF Method

For most users, the easiest way to install the software is to utilize the Fedora repository using the DNF package manager; given that Fedora focuses on the latest releases every six months and often, during that time, releases even more updates, you are generally on the latest if not one version behind in most cases making it desirable instead of using alternative package managers.

Install TeXworks using the following DNF install command.

sudo dnf install texworks -y

Flatpak users that would like to install TeXworks using the alternative package manager follow the instructions below.

Install TeXworks TeX Document Editor – Flatpak Method

The second option is to use the Flatpak package manager installed on Fedora-based systems. The extra benefit of using Flatpak installations is that you will always have the most up-to-date version. However, with distributions such as Fedora or similar types that focus on the latest packages, the significant advantage is often not as substantial or not present. However, still, this is the user’s discretion in choosing.

First, re-install the Flatpak manager if it was removed previously.

sudo dnf install flatpak -y

For users re-installing Flatpak, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.



Next, you need to enable Flatpack using the following command in your terminal.

sudo flatpak remote-add --if-not-exists flathub

Ideally, you should reboot at this stage; if you skip this and notice icons not appearing, the reboot will generate the paths required for the future.


Now run the installation using the following flatpak command.

flatpak install flathub org.tug.texworks -y

If the above command does not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’ use the following command.

flatpak remote-modify --enable flathub

This will fix the issue.

Launch TeXworks TeX Document Editor

Now that you have the software installed, launching can be done in a few ways.

In your terminal, use the following command.


Alternatively, Flatpak users will need to launch using the command below from a terminal instance.

flatpak run org.tug.texworks

However, this isn’t practical for desktop users, and you would use the following path on your desktop to open the path.

Activities > Show Applications > TeXworks


How to Install TeXworks on Fedora 36 Linux

Once the application has launched, you will arrive at your default landing screen.

How to Install TeXworks on Fedora 36 Linux

How to Update TeXworks TeX Document Editor

The software should update by itself with your system packages for desktop users using the DNF package manager. For users that would like to check manually, use the following command in your terminal.

DNF Method

sudo dnf update --refresh

Flatpak Method

flatpak update

How to Remove (Uninstall) TeXworks TeX Document Editor

TeXworks, when installed, adds quite a few dependencies, so ideally, using the autoremove command is best to keep your system clean and not bloated.

Use one of the following commands to suit the original installation method for users who no longer require the application.

DNF Remove Method

sudo dnf autoremove texworks -y

Flatpak Remove Method

flatpak uninstall --delete-data org.tug.texworks

Next, run the following command for any leftover clean-up.

flatpak remove --unused

Comments and Conclusion

In the tutorial, you have learned how to install the latest version of TeXworks on Fedora 36 Linux using one of the listed methods of installation.

For more information about using TeXworks, visit the official documentation.


Like to get automatic updates? Follow us on one of our social media accounts!