genresscript command not found

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

Introduction

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

genresscript: command not found

or when using sudo you get the following error message

sudo: genresscript: command not found

Solutions to genresscript: command not found

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

In Ubuntu genresscript is provided by icoutils package.

icoutils is:

Icoutils is a set of programs that deal with MS Windows icons and cursors. Resources such as icons and cursors can be extracted from MS Windows executable and library files with “wrestool”. Conversion of these files to and from PNG images is done with “icotool”. “extresso” automates these tasks with the help of special resource scripts.

This package can be used to create “favicon.ico” files for web sites.

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

sudo apt-get -y install icoutils

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

You can also use apt command to install icoutils.

sudo apt -y install icoutils

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

sudo aptitude install icoutils

Summary

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