How To Install libqoauth-dev on Ubuntu 18.04

In this tutorial we learn how to install libqoauth-dev on Ubuntu 18.04. libqoauth-dev is Qt5-based OAuth implementation development headers

Introduction

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

What is libqoauth-dev

libqoauth-dev is:

QOAuth is a Qt5-based C++ implementation of an interface to services using the OAuth authorization scheme.

OAuth is described in detail at http://oauth.net/

This package contains the headers required for building programs that use QOauth.

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

sudo apt-get -y install libqoauth-dev

Install libqoauth-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqoauth-dev

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

sudo aptitude -y install libqoauth-dev

How To Uninstall libqoauth-dev on Ubuntu 18.04

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

sudo apt-get remove libqoauth-dev

Uninstall libqoauth-dev And Its Dependencies

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

sudo apt-get -y autoremove libqoauth-dev

Remove libqoauth-dev Configurations and Data

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

sudo apt-get -y purge libqoauth-dev

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

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

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

References

Summary

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