How To Install kimwitu on Ubuntu 18.04

In this tutorial we learn how to install kimwitu on Ubuntu 18.04. kimwitu is Compiler development tool, complementary to lex and yacc

Introduction

In this tutorial we learn how to install kimwitu on Ubuntu 18.04.

What is kimwitu

kimwitu is:

Kimwitu (pronounced kee’mweetoo) is a system that supports the construction of programs that use trees or terms as their main data structure. It is a ‘meta-tool’ in the development process of tools.

It can easily be interfaced with Yacc and Lex – the idea is that yacc and lex are used to do the parsing, and Kimwitu routines are used to built and manipulate the parse tree.

There is also Kimwitu++ (also packaged for Debian) which interfaces with C++ instead of C.

There are three methods to install kimwitu 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 kimwitu Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install kimwitu

Install kimwitu Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kimwitu using apt by running the following command:

sudo apt -y install kimwitu

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

sudo aptitude -y install kimwitu

How To Uninstall kimwitu on Ubuntu 18.04

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

sudo apt-get remove kimwitu

Uninstall kimwitu And Its Dependencies

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

sudo apt-get -y autoremove kimwitu

Remove kimwitu Configurations and Data

To remove kimwitu configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge kimwitu

Remove kimwitu configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kimwitu

References

Summary

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