How To Install alljoyn-daemon-1604 on Ubuntu 18.04

In this tutorial we learn how to install alljoyn-daemon-1604 on Ubuntu 18.04. alljoyn-daemon-1604 is AllJoyn daemon service

Introduction

In this tutorial we learn how to install alljoyn-daemon-1604 on Ubuntu 18.04.

What is alljoyn-daemon-1604

alljoyn-daemon-1604 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 daemon services.

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

sudo apt-get -y install alljoyn-daemon-1604

Install alljoyn-daemon-1604 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install alljoyn-daemon-1604

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

sudo aptitude -y install alljoyn-daemon-1604

How To Uninstall alljoyn-daemon-1604 on Ubuntu 18.04

To uninstall only the alljoyn-daemon-1604 package we can use the following command:

sudo apt-get remove alljoyn-daemon-1604

Uninstall alljoyn-daemon-1604 And Its Dependencies

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

sudo apt-get -y autoremove alljoyn-daemon-1604

Remove alljoyn-daemon-1604 Configurations and Data

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

sudo apt-get -y purge alljoyn-daemon-1604

Remove alljoyn-daemon-1604 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge alljoyn-daemon-1604

References

Summary

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