How To Install libtickit-dev on Ubuntu 18.04

In this tutorial we learn how to install libtickit-dev on Ubuntu 18.04. libtickit-dev is Terminal Interface Construction KIT (development files)

Introduction

In this tutorial we learn how to install libtickit-dev on Ubuntu 18.04.

What is libtickit-dev

libtickit-dev is:

This library provides an abstracted mechanism for building interactive full-screen terminal programs. It provides a full set of output drawing functions, and handles keyboard and mouse input events.

Using this library, applications can

  • Divide the terminal into a hierarchy of nested, possibly-overlapping rectangular windows
  • Render output content and react to input events independently in any window region
  • Use fully Unicode-aware string content, including non-BMP, full-width and combining characters
  • Draw line-art using Unicode box-drawing characters in a variety of styles
  • Operate synchronously or asynchronously via file descriptors, or abstractly via byte buffers
  • Recognise arbitrary keyboard input, including modifiers*
  • Make use of multiple terminals, if available, from a single application

The following terminal features are supported (depending on terminal support):

  • Many rendering attributes; bold, italics, underline, reverse,
  • strike-though, alternate font
  • 256 and 24-bit (16 million) colours
  • Mouse including mouse wheel and recognition of position reporting greater
  • than 224 columns
  • Arbitrary scrolling regions

This package contains the header files and libraries needed for developing with libtickit.

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

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

sudo apt-get update

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

sudo apt-get -y install libtickit-dev

Install libtickit-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtickit-dev

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

sudo aptitude -y install libtickit-dev

How To Uninstall libtickit-dev on Ubuntu 18.04

To uninstall only the libtickit-dev package we can use the following command:

sudo apt-get remove libtickit-dev

Uninstall libtickit-dev And Its Dependencies

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

sudo apt-get -y autoremove libtickit-dev

Remove libtickit-dev Configurations and Data

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

sudo apt-get -y purge libtickit-dev

Remove libtickit-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtickit-dev

References

Summary

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