gv command not found

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

Introduction

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

gv: command not found

or when using sudo you get the following error message

sudo: gv: command not found

Solutions to gv: command not found

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

In Ubuntu gv is provided by gv package.

gv is:

gv is a comfortable viewer of PostScript and PDF files for the X Window System. It uses the ghostscript PostScript interpreter and is based on the classic X front-end for gs, ghostview, which it has replaced now.

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

sudo apt-get -y install gv

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

You can also use apt command to install gv.

sudo apt -y install gv

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

sudo aptitude install gv

Summary

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