How To Install libiksemel-utils on Ubuntu 18.04

In this tutorial we learn how to install libiksemel-utils on Ubuntu 18.04. libiksemel-utils is utilities from the iksemel library

Introduction

In this tutorial we learn how to install libiksemel-utils on Ubuntu 18.04.

What is libiksemel-utils

libiksemel-utils is:

iksemel handles Jabber connections, parses XML, and sends and receives Jabber messages. It works pretty good for parsing other kinds of XML, too, if the need arises.

This package includes three utilitaries from the library: ikslint, which checks xml files for well-formedness, iksperf, which tests speed and memory usage, and, finally, iksroster, which backups your roster.

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

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

sudo apt-get update

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

sudo apt-get -y install libiksemel-utils

Install libiksemel-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libiksemel-utils

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

sudo aptitude -y install libiksemel-utils

How To Uninstall libiksemel-utils on Ubuntu 18.04

To uninstall only the libiksemel-utils package we can use the following command:

sudo apt-get remove libiksemel-utils

Uninstall libiksemel-utils And Its Dependencies

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

sudo apt-get -y autoremove libiksemel-utils

Remove libiksemel-utils Configurations and Data

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

sudo apt-get -y purge libiksemel-utils

Remove libiksemel-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libiksemel-utils

References

Summary

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