atril-previewer command not found

In this troubleshooting guide we learn how to fix atril-previewer command not found error message

Introduction

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

atril-previewer: command not found

or when using sudo you get the following error message

sudo: atril-previewer: command not found

Solutions to atril-previewer: command not found

How To Fix atril-previewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu atril-previewer is provided by atril package.

atril is:

Atril is a simple multi-page document viewer. It can display and print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI and Portable Document Format (PDF) files.

When supported by the document, it also allows searching for text, copying text to the clipboard, hypertext navigation, and table-of-contents bookmarks.

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

sudo apt-get -y install atril

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

You can also use apt command to install atril.

sudo apt -y install atril

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

sudo aptitude install atril

Summary

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