How To Install grantlee-qt5 on CentOS 8
Introduction
In this tutorial we learn how to install grantlee-qt5 on CentOS 8.
What is grantlee-qt5
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. 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-qt5 on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install grantlee-qt5.
Install grantlee-qt5 on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install grantlee-qt5 using yum by running the following command:
sudo yum -y install grantlee-qt5
Install grantlee-qt5 on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install grantlee-qt5 using dnf by running the following command:
sudo dnf -y install grantlee-qt5
How To Uninstall grantlee-qt5 on CentOS 8
To uninstall only the grantlee-qt5 package we can use the following command:
sudo dnf remove grantlee-qt5
References
Summary
In this tutorial we learn how to install grantlee-qt5 on CentOS 8 using yum and dnf.