How To Install ctemplate on Fedora 34

ctemplate is A simple but powerful template language for C++ A simple but powerful template language for C++

Introduction

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

What is ctemplate

CTemplate is a simple but powerful template language for C++. It emphasizes separating logic from presentation embed application logic in this template language. ctemplate 2.4 3.fc34 x86_64 163 k ctemplate-2.4-3.fc34.src.rpm fedora A simple but powerful template language for C++ https BSD CTemplate is a simple but powerful template language for C++. It emphasizes separating logic from presentation embed application logic in this template language.

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

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

sudo dnf -y install ctemplate

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

sudo yum -y install ctemplate

How To Uninstall ctemplate on Fedora 34

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

sudo dnf remove ctemplate

ctemplate Package Contents on Fedora 34

/usr/bin/template-converter
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/8ccc07e55463cd9d97b82a200ec2d2580ae990
/usr/lib/.build-id/75
/usr/lib/.build-id/75/d12f8d6a8730268295bf4df90a606ffd22a052
/usr/lib64/libctemplate.so.3
/usr/lib64/libctemplate.so.3.0.0
/usr/lib64/libctemplate_nothreads.so.3
/usr/lib64/libctemplate_nothreads.so.3.0.0
/usr/share/licenses/ctemplate
/usr/share/licenses/ctemplate/COPYING
/usr/bin/template-converter
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/e98c3cc662a71b2cc7a31ed4f272a49def628d
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/2ebf45274824f4a5d2bd6e1ca216da2524115d
/usr/lib/libctemplate.so.3
/usr/lib/libctemplate.so.3.0.0
/usr/lib/libctemplate_nothreads.so.3
/usr/lib/libctemplate_nothreads.so.3.0.0
/usr/share/licenses/ctemplate
/usr/share/licenses/ctemplate/COPYING

References

Summary

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