glue-sprite command not found

In this troubleshooting guide we learn how to fix glue-sprite command not found error message

Introduction

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

glue-sprite: command not found

or when using sudo you get the following error message

sudo: glue-sprite: command not found

Solutions to glue-sprite: command not found

How To Fix glue-sprite: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu glue-sprite is provided by glue-sprite package.

glue-sprite is:

Glue is a simple command line tool to generate CSS sprites using any kind of source images like PNG, JPEG or GIF. Glue will generate a unique PNG file containing every source image and a CSS file including the necessary CSS classes to use the sprite.

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

sudo apt-get -y install glue-sprite

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

You can also use apt command to install glue-sprite.

sudo apt -y install glue-sprite

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

sudo aptitude install glue-sprite

Summary

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