How To Install libzephyr-dev on Ubuntu 18.04

In this tutorial we learn how to install libzephyr-dev on Ubuntu 18.04. libzephyr-dev is Project Athenas notification service - development files

Introduction

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

What is libzephyr-dev

libzephyr-dev is:

Zephyr is derived from the original Project Athena ‘Instant Message’ system and allows users to send messages to other users or to groups of users. Users can view incoming Zephyr messages as windowgrams (transient X windows) or as text on a terminal.

This package provides development libraries and files, which are needed to compile alternative Zephyr clients.

There are three methods to install libzephyr-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 libzephyr-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 libzephyr-dev using apt-get by running the following command:

sudo apt-get -y install libzephyr-dev

Install libzephyr-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libzephyr-dev

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

sudo aptitude -y install libzephyr-dev

How To Uninstall libzephyr-dev on Ubuntu 18.04

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

sudo apt-get remove libzephyr-dev

Uninstall libzephyr-dev And Its Dependencies

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

sudo apt-get -y autoremove libzephyr-dev

Remove libzephyr-dev Configurations and Data

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

sudo apt-get -y purge libzephyr-dev

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

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

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

References

Summary

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