How To Install alljoyn-services-1509 on Ubuntu 18.04

In this tutorial we learn how to install alljoyn-services-1509 on Ubuntu 18.04. alljoyn-services-1509 is AllJoyn base services for 1509

Introduction

In this tutorial we learn how to install alljoyn-services-1509 on Ubuntu 18.04.

What is alljoyn-services-1509

alljoyn-services-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 software for the base services in version 1509.

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

sudo apt-get -y install alljoyn-services-1509

Install alljoyn-services-1509 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install alljoyn-services-1509

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

sudo aptitude -y install alljoyn-services-1509

How To Uninstall alljoyn-services-1509 on Ubuntu 18.04

To uninstall only the alljoyn-services-1509 package we can use the following command:

sudo apt-get remove alljoyn-services-1509

Uninstall alljoyn-services-1509 And Its Dependencies

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

sudo apt-get -y autoremove alljoyn-services-1509

Remove alljoyn-services-1509 Configurations and Data

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

sudo apt-get -y purge alljoyn-services-1509

Remove alljoyn-services-1509 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge alljoyn-services-1509

References

Summary

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