sng command not found

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

Introduction

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

sng: command not found

or when using sudo you get the following error message

sudo: sng: command not found

Solutions to sng: command not found

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

In Ubuntu sng is provided by sng package.

sng is:

SNG (Scriptable Network Graphics) is a minilanguage designed specifically to represent the entire contents of a PNG (Portable Network Graphics) file in an editable form. Thus, SNGs representing elaborate graphics images and ancillary chunk data can be readily generated or modified using only text tools.

SNG is implemented by a compiler/decompiler called sng that losslessly translates between SNG and PNG.

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

sudo apt-get -y install sng

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

You can also use apt command to install sng.

sudo apt -y install sng

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

sudo aptitude install sng

Summary

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