How to Install TeXworks on Ubuntu 22.04 LTS

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 Ubuntu 22.04 LTS Jammy Jellyfish using a recommended Launchpad PPA repository to provide the most up-to-date version using the command line terminal.

Update Ubuntu

Update your system to ensure all existing packages are up to date to avoid any conflicts during the installation.

sudo apt update && sudo apt upgrade -y

Install Dependencies

Use the following command to install or check if the packages are installed.

sudo apt install software-properties-common apt-transport-https -y

Import TeXworks TeX Document Editor PPA

First, import the “TeXworks” team PPA that contains the latest up-to-date version.

Use the following command to import the PPA as follows.

sudo add-apt-repository ppa:texworks/stable -y

Install TeXworks TeX Document Editor

Before running the installation command, run an apt update to reflect the new imported PPA.

sudo apt-get update

Install the software using the following command.

sudo apt install texworks -y

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.

texworks

If you would like to launch and use the terminal simultaneously, send it to the background to continue using the current terminal.

texworks &

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

Activities > Show Applications > TeXworks

Example:

How to Install TeXworks on Ubuntu 22.04 LTS

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

How to Install TeXworks on Ubuntu 22.04 LTS

How to Update/Upgrade TeXworks TeX Document Editor

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

sudo apt update && sudo apt upgrade

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.

sudo apt autoremove texworks -y

Next, remove the imported PPA if you have no desire to re-install the software; the command will see the same as importing but with the –remove syntax added.

sudo add-apt-repository --remove ppa:texworks/stable -y

Comments and Conclusion

In the tutorial, you have learned how to install the latest version of TeXworks on Ubuntu 22.04 LTS by importing the third-party PPA for the latest stable version.

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



Follow LinuxCapable.com!

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