How To Install lazygal on Fedora 34

lazygal is A static web gallery generator

Introduction

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

What is lazygal

Lazygal is another static web gallery generator written in Python. It can be summed up by the following features * Command line based (thus scriptable). * Handles album updates. * Presents all your pictures and videos and associated data. * Makes browsing sharing pictures easy. * Make customization easy. * Does not change your original pictures directories (the source argument).

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

Install lazygal 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 lazygal using dnf by running the following command:

sudo dnf -y install lazygal

Install lazygal 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 lazygal using yum by running the following command:

sudo yum -y install lazygal

How To Uninstall lazygal on Fedora 34

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

sudo dnf remove lazygal

lazygal Package Contents on Fedora 34

/usr/bin/lazygal
/usr/lib/python3.9/site-packages/lazygal
/usr/lib/python3.9/site-packages/lazygal-0.10.2-py3.9.egg-info
/usr/lib/python3.9/site-packages/lazygal/__init__.py
/usr/lib/python3.9/site-packages/lazygal/__pycache__
/usr/lib/python3.9/site-packages/lazygal/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/eyecandy.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/eyecandy.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/feeds.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/feeds.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/generators.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/generators.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/genfile.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/genfile.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/genmedia.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/genmedia.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/genpage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/genpage.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/log.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/log.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/make.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/make.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/mediautils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/mediautils.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/metadata.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/metadata.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/newsize.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/newsize.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/pathutils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/pathutils.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/pindex.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/pindex.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/sourcetree.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/sourcetree.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/theme.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/theme.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/tpl.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/tpl.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/tplvars.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lazygal/__pycache__/tplvars.cpython-39.pyc
/usr/lib/python3.9/site-packages/lazygal/config.py
/usr/lib/python3.9/site-packages/lazygal/defaults.json
/usr/lib/python3.9/site-packages/lazygal/eyecandy.py
/usr/lib/python3.9/site-packages/lazygal/feeds.py
/usr/lib/python3.9/site-packages/lazygal/generators.py
/usr/lib/python3.9/site-packages/lazygal/genfile.py
/usr/lib/python3.9/site-packages/lazygal/genmedia.py
/usr/lib/python3.9/site-packages/lazygal/genpage.py
/usr/lib/python3.9/site-packages/lazygal/log.py
/usr/lib/python3.9/site-packages/lazygal/make.py
/usr/lib/python3.9/site-packages/lazygal/mediautils.py
/usr/lib/python3.9/site-packages/lazygal/metadata.py
/usr/lib/python3.9/site-packages/lazygal/newsize.py
/usr/lib/python3.9/site-packages/lazygal/pathutils.py
/usr/lib/python3.9/site-packages/lazygal/pindex.py
/usr/lib/python3.9/site-packages/lazygal/sourcetree.py
/usr/lib/python3.9/site-packages/lazygal/theme.py
/usr/lib/python3.9/site-packages/lazygal/tpl.py
/usr/lib/python3.9/site-packages/lazygal/tplvars.py
/usr/share/doc/lazygal
/usr/share/doc/lazygal/ChangeLog
/usr/share/doc/lazygal/README.md
/usr/share/doc/lazygal/TODO
/usr/share/lazygal
/usr/share/lazygal/themes
/usr/share/lazygal/themes/image-index
/usr/share/lazygal/themes/image-index/SHARED_style.tcss
/usr/share/lazygal/themes/image-index/gallerylink.thtml
/usr/share/lazygal/themes/inverted
/usr/share/lazygal/themes/inverted/SHARED_basic.css
/usr/share/lazygal/themes/inverted/SHARED_default.tcss
/usr/share/lazygal/themes/inverted/SHARED_images_data.tcss
/usr/share/lazygal/themes/inverted/SHARED_plugins.tjs
/usr/share/lazygal/themes/inverted/SHARED_respond.js
/usr/share/lazygal/themes/inverted/SHARED_scripts.tjs
/usr/share/lazygal/themes/inverted/SHARED_simple_theme_dark.css
/usr/share/lazygal/themes/inverted/SHARED_video_arrow.svg
/usr/share/lazygal/themes/inverted/TODO
/usr/share/lazygal/themes/inverted/browse.thtml
/usr/share/lazygal/themes/inverted/dirindex.thtml
/usr/share/lazygal/themes/inverted/feeditem.thtml
/usr/share/lazygal/themes/inverted/footer.thtml
/usr/share/lazygal/themes/inverted/gallerylink.thtml
/usr/share/lazygal/themes/inverted/header.thtml
/usr/share/lazygal/themes/inverted/image.thtml
/usr/share/lazygal/themes/inverted/manifest.json
/usr/share/lazygal/themes/inverted/thumb.thtml
/usr/share/lazygal/themes/inverted/video.thtml
/usr/share/lazygal/themes/nojs
/usr/share/lazygal/themes/nojs/SHARED_basic.css
/usr/share/lazygal/themes/nojs/SHARED_default.tcss
/usr/share/lazygal/themes/nojs/SHARED_purple.css
/usr/share/lazygal/themes/nojs/SHARED_scripts.js
/usr/share/lazygal/themes/nojs/SHARED_sidebnw.css
/usr/share/lazygal/themes/nojs/SHARED_video_arrow.svg
/usr/share/lazygal/themes/nojs/browse.thtml
/usr/share/lazygal/themes/nojs/dirindex.thtml
/usr/share/lazygal/themes/nojs/feeditem.thtml
/usr/share/lazygal/themes/nojs/gallerylink.thtml
/usr/share/lazygal/themes/nojs/image.thtml
/usr/share/lazygal/themes/nojs/manifest.json
/usr/share/lazygal/themes/nojs/thumb.thtml
/usr/share/lazygal/themes/nojs/video.thtml
/usr/share/lazygal/themes/singlepage
/usr/share/lazygal/themes/singlepage/SHARED_basic.css
/usr/share/lazygal/themes/singlepage/SHARED_colorbox.css
/usr/share/lazygal/themes/singlepage/SHARED_controls.png
/usr/share/lazygal/themes/singlepage/SHARED_default.css
/usr/share/lazygal/themes/singlepage/SHARED_jquery.colorbox.js
/usr/share/lazygal/themes/singlepage/SHARED_lazygal.js
/usr/share/lazygal/themes/singlepage/SHARED_loading.gif
/usr/share/lazygal/themes/singlepage/SHARED_video_arrow.svg
/usr/share/lazygal/themes/singlepage/dynindex.thtml
/usr/share/lazygal/themes/singlepage/gallerylink.thtml
/usr/share/lazygal/themes/singlepage/manifest.json
/usr/share/lazygal/themes/singlepage/thumb.image.thtml
/usr/share/lazygal/themes/singlepage/thumb.video.thtml
/usr/share/licenses/lazygal
/usr/share/licenses/lazygal/COPYING
/usr/share/locale/cs_CZ/LC_MESSAGES/lazygal.mo
/usr/share/locale/da/LC_MESSAGES/lazygal.mo
/usr/share/locale/fr_FR/LC_MESSAGES/lazygal.mo
/usr/share/locale/it_IT/LC_MESSAGES/lazygal.mo
/usr/share/man/man1/lazygal.1.gz
/usr/share/man/man5/lazygal.conf.5.gz

References

Summary

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