How To Install libkfbapi-dev on Ubuntu 18.04

In this tutorial we learn how to install libkfbapi-dev on Ubuntu 18.04. libkfbapi-dev is Facebook API library for KDE – development files

Introduction

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

What is libkfbapi-dev

libkfbapi-dev is:

LibKFbAPI (previously called LibKFacebook) is a C++ library that implements APIs for various Facebook services.

This package contains development files for building software that uses the LibKFbAPI library.

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

sudo apt-get -y install libkfbapi-dev

Install libkfbapi-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libkfbapi-dev

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

sudo aptitude -y install libkfbapi-dev

How To Uninstall libkfbapi-dev on Ubuntu 18.04

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

sudo apt-get remove libkfbapi-dev

Uninstall libkfbapi-dev And Its Dependencies

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

sudo apt-get -y autoremove libkfbapi-dev

Remove libkfbapi-dev Configurations and Data

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

sudo apt-get -y purge libkfbapi-dev

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

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

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

References

Summary

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