texworks command not found

In this troubleshooting guide we learn how to fix texworks command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

texworks: command not found

or when using sudo you get the following error message

sudo: texworks: command not found

Solutions to texworks: command not found

How To Fix texworks: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu texworks is provided by texworks package.

texworks is:

An environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean, simple interface accessible to casual and non-technical users.

TeXworks is inspired by Dick Koch’s award-winning TeXShop program for Mac OS X, which has made quality typesetting through TeX accessible to a wider community of users, without a technical or intimidating face. The goal of TeXworks is to deliver a similarly integrated, easy-to-use environment for users on other platforms, especially GNU/Linux and Windows.

To fix this problem, we can install more using the command below.

sudo apt-get -y install texworks

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install texworks.

sudo apt -y install texworks

Or if you have aptitude installed you can use the following command.

sudo aptitude install texworks

Summary

In this tutorial we learn how to fix texworks command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.