How To Install radlib-dev on Ubuntu 18.04

In this tutorial we learn how to install radlib-dev on Ubuntu 18.04. radlib-dev is development file for librad0

Introduction

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

What is radlib-dev

radlib-dev is:

radlib is a C language library developed to abstract details of interprocess communications and common linux/unix system facilities so that application developers can concentrate on application solutions. It encourages developers (whether expert or novice) to use a proven paradigm of event-driven, asynchronous design. By abstracting interprocess messaging, events, timers, and any I/O device that can be represented as a file descriptor, radlib simplifies the implementation of multi-purpose processes, as well as multi- process applications.

This is the package needed for development.

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

sudo apt-get -y install radlib-dev

Install radlib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install radlib-dev

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

sudo aptitude -y install radlib-dev

How To Uninstall radlib-dev on Ubuntu 18.04

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

sudo apt-get remove radlib-dev

Uninstall radlib-dev And Its Dependencies

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

sudo apt-get -y autoremove radlib-dev

Remove radlib-dev Configurations and Data

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

sudo apt-get -y purge radlib-dev

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

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

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

References

Summary

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