sxiv command not found

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

Introduction

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

sxiv: command not found

or when using sudo you get the following error message

sudo: sxiv: command not found

Solutions to sxiv: command not found

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

In Ubuntu sxiv is provided by sxiv package.

sxiv is:

sxiv is an alternative to feh and qiv. Its only dependency besides xlib is imlib2. The primary goal for writing sxiv is to create an image viewer, which only has the most basic features required for fast image viewing. It works nicely with tiling window managers and its code base should be kept small and clean to make it easy for you to dig into it and customize it for your needs.

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

sudo apt-get -y install sxiv

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

You can also use apt command to install sxiv.

sudo apt -y install sxiv

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

sudo aptitude install sxiv

Summary

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