How To Install krfb on Kali Linux

In this tutorial we learn how to install krfb on Kali Linux. krfb is Desktop Sharing utility

Introduction

In this tutorial we learn how to install krfb on Kali Linux.

What is krfb

krfb is:

KDE Desktop Sharing is a manager for easily sharing a desktop session with another system. The desktop session can be viewed or controlled remotely by any VNC or RFB client, such as the KDE Remote Desktop Connection client.

KDE Desktop Sharing can restrict access to only users who are explicitly invited, and will ask for confirmation when a user attempts to connect.

This package is part of the KDE networking module.

There are three methods to install krfb on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install krfb Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install krfb

Install krfb Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install krfb using apt by running the following command:

sudo apt -y install krfb

Install krfb Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install krfb using aptitude by running the following command:

sudo aptitude -y install krfb

How To Uninstall krfb on Kali Linux

To uninstall only the krfb package we can use the following command:

sudo apt-get remove krfb

Uninstall krfb And Its Dependencies

To uninstall krfb and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove krfb

Remove krfb Configurations and Data

To remove krfb configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge krfb

Remove krfb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge krfb

Dependencies

krfb have the following dependencies:

References

Summary

In this tutorial we learn how to install krfb package on Kali Linux using different package management tools: apt, apt-get and aptitude.