How to Install TeXworks on Ubuntu 20.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.

If you are looking for an open-source TeX document editor application with different typesetting engines support to generate PDF documents as the default formatted output, then Texworks should be your go-to choice.

In the following tutorial, you will learn how to install the latest version of TeXworks on Ubuntu 20.04 LTS Focal Fossa using a recommended Launchpad PPA repository to provide the most up-to-date version using the command line terminal.

Update Ubuntu

Update your Ubuntu operating 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 Dependecies

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.


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 to open with the path: Activities > Show Applications > TeXworks


How to Install TeXworks on Ubuntu 20.04 LTS

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

How to Install TeXworks on Ubuntu 20.04 LTS

How to Update 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 to the command.

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 20.04 LTS.

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


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