In this tutorial, we will show you how to install TeXworks on Debian 11. If you are a writer, researcher, or student, you know how important it is to have a reliable text editor for creating documents, articles, or papers. Texworks is a free and open-source text editor that is specifically designed for creating LaTeX documents. In this guide, we will walk you through the step-by-step process of installing Texworks on Debian 11, one of the most popular Linux distributions. So, let’s get started and learn how to install and configure Texworks on Debian 11!
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the TeXworks text editor on a Debian 11 (Bullseye).
- A server running one of the following operating systems: Debian 11.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for TeXworks.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install TeXworks on Debian 11 Bullseye
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following
apt commands in the terminal:
sudo apt update sudo apt upgrade sudo apt install software-properties-common apt-transport-https wget ca-certificates
Step 2. Installing TeXworks on Debian 11.
Method 1. Install TeXworks using the PPA repository √
By default, TeXworks is not available on the Debian 11 base repository. Now run the following command below to add the TeXworks repository to your Debian system:
sudo add-apt-repository ppa:texworks/stable
After that, update the package and install TeXworks by running the following command:
sudo apt update sudo apt install texworks
- Method 2. Install TeXworks using Flatpak √
Before you can install TeXworks using Flatpak, you need to install Flatpak itself. To do that, open the Terminal and type the following command:
sudo apt install flatpak
After installing Flatpak, you need to add the Flathub repository to your system using the following command:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now that you have Flatpak and Flathub set up, you can install TeXworks using the following command:
flatpak install flathub org.tug.texworks
For additional resources on installing Flatpak, read the post below:
Step 3. Accessing TeXworks on Debian Linux.
Once successfully installed, fonts will be available in most applications now, but you can confirm by launching the Sublime Merge application located in
Activities -> Show Applications -> TeXworks. Alternatively, you can easily launch Sublime Merge from the Terminal by executing the following command:
For Flatpak users, you’ll need to launch Kdenlive with a slightly different command in a terminal instance:
flatpak run org.tug.texworks
Congratulations! You have successfully installed TeXworks. Thanks for using this tutorial for installing the latest version of the TeXworks text editor on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official TeXworks website.