How To Install liballjoyn-dev-1509 on Ubuntu 18.04

In this tutorial we learn how to install liballjoyn-dev-1509 on Ubuntu 18.04. liballjoyn-dev-1509 is AllJoyn C++ development library

Introduction

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

What is liballjoyn-dev-1509

liballjoyn-dev-1509 is:

AllJoyn is a collaborative open-source software framework that makes it easy for developers to write applications that can discover nearby devices, and communicate with each other directly regardless of brands, categories, transports, and OSes without the need of the cloud.

The AllJoyn framework is extremely flexible with many features to help make the vision of the Internet of Things come to life.

This package contains the C++ development files.

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

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

sudo apt-get update

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

sudo apt-get -y install liballjoyn-dev-1509

Install liballjoyn-dev-1509 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liballjoyn-dev-1509

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

sudo aptitude -y install liballjoyn-dev-1509

How To Uninstall liballjoyn-dev-1509 on Ubuntu 18.04

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

sudo apt-get remove liballjoyn-dev-1509

Uninstall liballjoyn-dev-1509 And Its Dependencies

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

sudo apt-get -y autoremove liballjoyn-dev-1509

Remove liballjoyn-dev-1509 Configurations and Data

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

sudo apt-get -y purge liballjoyn-dev-1509

Remove liballjoyn-dev-1509 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liballjoyn-dev-1509

References

Summary

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