How To Install python-kajiki on Ubuntu 18.04

In this tutorial we learn how to install python-kajiki on Ubuntu 18.04. python-kajiki is Really fast well-formed xml templates - Python 2.x

Introduction

In this tutorial we learn how to install python-kajiki on Ubuntu 18.04.

What is python-kajiki

python-kajiki is:

Are you tired of the slow performance of Genshi? But you still long for the assurance that your output is well-formed that you miss from all those other templating engines? Do you wish you had Jinja’s blocks with Genshi’s syntax? Then look no further, Kajiki is for you! Kajiki quickly compiles Genshi-like syntax to real Python bytecode that renders with blazing-fast speed! Don’t delay! Pick up your copy of Kajiki today!

This package provides the Python 2.x module.

There are three methods to install python-kajiki on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-kajiki Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-kajiki using apt-get by running the following command:

sudo apt-get -y install python-kajiki

Install python-kajiki Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-kajiki using apt by running the following command:

sudo apt -y install python-kajiki

Install python-kajiki Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-kajiki using aptitude by running the following command:

sudo aptitude -y install python-kajiki

How To Uninstall python-kajiki on Ubuntu 18.04

To uninstall only the python-kajiki package we can use the following command:

sudo apt-get remove python-kajiki

Uninstall python-kajiki And Its Dependencies

To uninstall python-kajiki and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-kajiki

Remove python-kajiki Configurations and Data

To remove python-kajiki configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-kajiki

Remove python-kajiki configuration, data, and all of its dependencies

We can use the following command to remove python-kajiki configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-kajiki

References

Summary

In this tutorial we learn how to install python-kajiki package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.