grafx2 command not found

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

Introduction

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

grafx2: command not found

or when using sudo you get the following error message

sudo: grafx2: command not found

Solutions to grafx2: command not found

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

In Ubuntu grafx2 is provided by grafx2 package.

grafx2 is:

This is a bitmap paint program that allows you to draw in more than 60 video resolutions (from 320x200 to 1024x768, including most of the standard Amiga resolutions: 320x256, 320x512, 640x256, 640x512, and more, provided your videocard knows how to handle them).

This program is dedicated to everybody who knows what a single pixel is. Its layout is not very different from the famous Deluxe Paint or Brilliance, so it will be quite easy to handle it if you know at least one of these programs. If you aren’t used to the art of drawing with up to 256 colors, it will be a little more difficult for you, but you should give it a try (or more, because most of the power of this program won’t show up on the first try).

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

sudo apt-get -y install grafx2

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

You can also use apt command to install grafx2.

sudo apt -y install grafx2

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

sudo aptitude install grafx2

Summary

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