How To Install liballjoyn-c1504 on Ubuntu 18.04

In this tutorial we learn how to install liballjoyn-c1504 on Ubuntu 18.04. liballjoyn-c1504 is AllJoyn C run-time library

Introduction

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

What is liballjoyn-c1504

liballjoyn-c1504 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 run-time library

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

sudo apt-get -y install liballjoyn-c1504

Install liballjoyn-c1504 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liballjoyn-c1504

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

sudo aptitude -y install liballjoyn-c1504

How To Uninstall liballjoyn-c1504 on Ubuntu 18.04

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

sudo apt-get remove liballjoyn-c1504

Uninstall liballjoyn-c1504 And Its Dependencies

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

sudo apt-get -y autoremove liballjoyn-c1504

Remove liballjoyn-c1504 Configurations and Data

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

sudo apt-get -y purge liballjoyn-c1504

Remove liballjoyn-c1504 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liballjoyn-c1504

References

Summary

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