How To Install grantlee on Fedora 34

grantlee is Qt string template engine based on the Django template system Qt string template engine based on the Django template system

Introduction

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

What is grantlee

Grantlee is a plug-in based String Template system written using the Qt framework. The goals of the project are to make it easier for application developers to separate the structure of documents from the data they contain, opening the door for theming. The syntax is intended to follow the syntax of the Django template system, and the design of Django is reused in Grantlee. Django is covered by a BSD style license. Part of the design of both is that application developers can extend the syntax by implementing their own tags and filters. For details of how to do that, see the API documentation. For template authors, different applications using Grantlee will present the same interface and core syntax for creating new themes. For details of how to write templates, see the documentation. grantlee 0.5.1 18.fc34 x86_64 330 k grantlee-0.5.1-18.fc34.src.rpm fedora Qt string template engine based on the Django template system http LGPLv2+ Grantlee is a plug-in based String Template system written using the Qt framework. The goals of the project are to make it easier for application developers to separate the structure of documents from the data they contain, opening the door for theming. The syntax is intended to follow the syntax of the Django template system, and the design of Django is reused in Grantlee. Django is covered by a BSD style license. Part of the design of both is that application developers can extend the syntax by implementing their own tags and filters. For details of how to do that, see the API documentation. For template authors, different applications using Grantlee will present the same interface and core syntax for creating new themes. For details of how to write templates, see the documentation.

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

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

sudo dnf -y install grantlee

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

sudo yum -y install grantlee

How To Uninstall grantlee on Fedora 34

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

sudo dnf remove grantlee

grantlee Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/b3f1c0caa6d5a6bb64716de9b14235839897d0
/usr/lib/.build-id/22
/usr/lib/.build-id/22/5fe6840d4d188da834480a4d7d1392d605a956
/usr/lib/.build-id/30
/usr/lib/.build-id/30/04103af43da7b9103eaac38f64624680b691dc
/usr/lib/.build-id/39
/usr/lib/.build-id/39/bce4ca8975edb760cb2b31d3e315d4c8b7750e
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/d5717d6a421c9c2da575eb5eb83da27f063237
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/370de932a122815cfd2a1af86f9f0116e6ae0b
/usr/lib64/grantlee
/usr/lib64/grantlee/0.5
/usr/lib64/grantlee/0.5/grantlee_defaultfilters.so
/usr/lib64/grantlee/0.5/grantlee_defaulttags.so
/usr/lib64/grantlee/0.5/grantlee_i18ntags.so
/usr/lib64/grantlee/0.5/grantlee_loadertags.so
/usr/lib64/kde4/plugins/grantlee/0.5
/usr/lib64/libgrantlee_core.so.0
/usr/lib64/libgrantlee_core.so.0.5.1
/usr/lib64/libgrantlee_gui.so.0
/usr/lib64/libgrantlee_gui.so.0.5.1
/usr/share/doc/grantlee
/usr/share/doc/grantlee/AUTHORS
/usr/share/doc/grantlee/CHANGELOG
/usr/share/doc/grantlee/README
/usr/share/licenses/grantlee
/usr/share/licenses/grantlee/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/fd9d6bead8a31d59fd6211930b7dc76bb357b0
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/3faa4094407c42b4f8c1eb9918d7c8e2a45080
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/48cf0a69d45211b12ea2eff3c3a99b86aa8334
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/db72432c7dab42ab5df354eb18894a534e7e3e
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/e0ad4cb4f40c2e5d7fede4a0ec1a0b02ac7e8b
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/cc9c869b3e8fc82db9edf9345cc70930085ecd
/usr/lib/grantlee
/usr/lib/grantlee/0.5
/usr/lib/grantlee/0.5/grantlee_defaultfilters.so
/usr/lib/grantlee/0.5/grantlee_defaulttags.so
/usr/lib/grantlee/0.5/grantlee_i18ntags.so
/usr/lib/grantlee/0.5/grantlee_loadertags.so
/usr/lib/kde4/plugins/grantlee/0.5
/usr/lib/libgrantlee_core.so.0
/usr/lib/libgrantlee_core.so.0.5.1
/usr/lib/libgrantlee_gui.so.0
/usr/lib/libgrantlee_gui.so.0.5.1
/usr/share/doc/grantlee
/usr/share/doc/grantlee/AUTHORS
/usr/share/doc/grantlee/CHANGELOG
/usr/share/doc/grantlee/README
/usr/share/licenses/grantlee
/usr/share/licenses/grantlee/COPYING.LIB

References

Summary

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