How To Install glue on Fedora 34

glue is A simple command line tool to generate CSS sprites

Introduction

In this tutorial we learn how to install glue on Fedora 34.

What is glue

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.

We can use yum or dnf to install glue on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install glue.

Install glue on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install glue using dnf by running the following command:

sudo dnf -y install glue

Install glue on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install glue using yum by running the following command:

sudo yum -y install glue

How To Uninstall glue on Fedora 34

To uninstall only the glue package we can use the following command:

sudo dnf remove glue

glue Package Contents on Fedora 34

/usr/bin/glue
/usr/lib/python3.9/site-packages/glue
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/not-zip-safe
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/glue-0.13-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/glue/__init__.py
/usr/lib/python3.9/site-packages/glue/__pycache__
/usr/lib/python3.9/site-packages/glue/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/bin.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/bin.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/compat.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/compat.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/core.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/core.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/exceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/exceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/helpers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/__pycache__/helpers.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms
/usr/lib/python3.9/site-packages/glue/algorithms/__init__.py
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/diagonal.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/diagonal.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/horizontal.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/horizontal.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/horizontal_bottom.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/horizontal_bottom.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/square.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/square.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/vertical.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/vertical.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/vertical_right.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/__pycache__/vertical_right.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/algorithms/diagonal.py
/usr/lib/python3.9/site-packages/glue/algorithms/horizontal.py
/usr/lib/python3.9/site-packages/glue/algorithms/horizontal_bottom.py
/usr/lib/python3.9/site-packages/glue/algorithms/square.py
/usr/lib/python3.9/site-packages/glue/algorithms/vertical.py
/usr/lib/python3.9/site-packages/glue/algorithms/vertical_right.py
/usr/lib/python3.9/site-packages/glue/bin.py
/usr/lib/python3.9/site-packages/glue/compat.py
/usr/lib/python3.9/site-packages/glue/core.py
/usr/lib/python3.9/site-packages/glue/exceptions.py
/usr/lib/python3.9/site-packages/glue/formats
/usr/lib/python3.9/site-packages/glue/formats/__init__.py
/usr/lib/python3.9/site-packages/glue/formats/__pycache__
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/base.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/caat.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/caat.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/cocos2d.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/cocos2d.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/css.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/css.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/html.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/html.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/img.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/img.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/jsonformat.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/jsonformat.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/less.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/less.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/scss.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/formats/__pycache__/scss.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/formats/base.py
/usr/lib/python3.9/site-packages/glue/formats/caat.py
/usr/lib/python3.9/site-packages/glue/formats/cocos2d.py
/usr/lib/python3.9/site-packages/glue/formats/css.py
/usr/lib/python3.9/site-packages/glue/formats/html.py
/usr/lib/python3.9/site-packages/glue/formats/img.py
/usr/lib/python3.9/site-packages/glue/formats/jsonformat.py
/usr/lib/python3.9/site-packages/glue/formats/less.py
/usr/lib/python3.9/site-packages/glue/formats/scss.py
/usr/lib/python3.9/site-packages/glue/helpers.py
/usr/lib/python3.9/site-packages/glue/managers
/usr/lib/python3.9/site-packages/glue/managers/__init__.py
/usr/lib/python3.9/site-packages/glue/managers/__pycache__
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/base.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/base.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/project.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/project.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/simple.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/simple.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/watch.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/glue/managers/__pycache__/watch.cpython-39.pyc
/usr/lib/python3.9/site-packages/glue/managers/base.py
/usr/lib/python3.9/site-packages/glue/managers/project.py
/usr/lib/python3.9/site-packages/glue/managers/simple.py
/usr/lib/python3.9/site-packages/glue/managers/watch.py
/usr/share/doc/glue
/usr/share/doc/glue/AUTHORS
/usr/share/doc/glue/html
/usr/share/doc/glue/html/_images
/usr/share/doc/glue/html/_images/buttons.png
/usr/share/doc/glue/html/_images/crop.png
/usr/share/doc/glue/html/_images/famfamfam1.png
/usr/share/doc/glue/html/_images/famfamfam2.png
/usr/share/doc/glue/html/_images/nonretina.png
/usr/share/doc/glue/html/_images/retina.png
/usr/share/doc/glue/html/_images/sprites.png
/usr/share/doc/glue/html/_images/[email protected]
/usr/share/doc/glue/html/_sources
/usr/share/doc/glue/html/_sources/changelog.rst.txt
/usr/share/doc/glue/html/_sources/faq.rst.txt
/usr/share/doc/glue/html/_sources/files.rst.txt
/usr/share/doc/glue/html/_sources/index.rst.txt
/usr/share/doc/glue/html/_sources/installation.rst.txt
/usr/share/doc/glue/html/_sources/options.rst.txt
/usr/share/doc/glue/html/_sources/pseudoclasses.rst.txt
/usr/share/doc/glue/html/_sources/quickstart.rst.txt
/usr/share/doc/glue/html/_sources/ratios.rst.txt
/usr/share/doc/glue/html/_sources/settings.rst.txt
/usr/share/doc/glue/html/_sources/templates.rst.txt
/usr/share/doc/glue/html/_static
/usr/share/doc/glue/html/_static/basic.css
/usr/share/doc/glue/html/_static/doctools.js
/usr/share/doc/glue/html/_static/documentation_options.js
/usr/share/doc/glue/html/_static/file.png
/usr/share/doc/glue/html/_static/jquery-3.5.1.js
/usr/share/doc/glue/html/_static/jquery.js
/usr/share/doc/glue/html/_static/language_data.js
/usr/share/doc/glue/html/_static/minus.png
/usr/share/doc/glue/html/_static/nature.css
/usr/share/doc/glue/html/_static/plus.png
/usr/share/doc/glue/html/_static/pygments.css
/usr/share/doc/glue/html/_static/searchtools.js
/usr/share/doc/glue/html/_static/underscore-1.3.1.js
/usr/share/doc/glue/html/_static/underscore.js
/usr/share/doc/glue/html/changelog.html
/usr/share/doc/glue/html/faq.html
/usr/share/doc/glue/html/files.html
/usr/share/doc/glue/html/genindex.html
/usr/share/doc/glue/html/index.html
/usr/share/doc/glue/html/installation.html
/usr/share/doc/glue/html/objects.inv
/usr/share/doc/glue/html/options.html
/usr/share/doc/glue/html/pseudoclasses.html
/usr/share/doc/glue/html/quickstart.html
/usr/share/doc/glue/html/ratios.html
/usr/share/doc/glue/html/search.html
/usr/share/doc/glue/html/searchindex.js
/usr/share/doc/glue/html/settings.html
/usr/share/doc/glue/html/templates.html
/usr/share/licenses/glue
/usr/share/licenses/glue/COPYING

References

Summary

In this tutorial we learn how to install glue on Fedora 34 using yum and dnf.